java.lang.Character.codePointBefore C# (CSharp) Method

codePointBefore() private method

private codePointBefore ( char par0, int par1 ) : int
par0 char
par1 int
return int
        public static int codePointBefore(char[] par0, int par1)
        {
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.ThreadEnv;
            using(new global::net.sf.jni4net.jni.LocalFrame(@__env, 14)){
            return ((int)(@__env.CallStaticIntMethod(global::java.lang.Character.staticClass, global::java.lang.Character.j4n_codePointBefore11, global::net.sf.jni4net.utils.Convertor.ParArrayPrimC2J(@__env, par0), global::net.sf.jni4net.utils.Convertor.ParPrimC2J(par1))));
            }
        }

Same methods

Character::codePointBefore ( char par0, int par1, int par2 ) : int
Character::codePointBefore ( global par0, int par1 ) : int

Usage Example

Example #1
0
        public virtual int codePointBefore(int index)
        {
            int i = index - 1;

            if ((i < 0) || (i >= count))
            {
                throw new IndexOutOfRangeException();
            }
            return(Character.codePointBefore(value, index));
        }