Save This Page
Home » jexcelapi_2_6_8 » jlex » [javadoc | source]
jlex
class: CUtility [javadoc | source]
java.lang.Object
   jlex.CUtility
Class: Utility
Field Summary
static final  boolean DEBUG    Constants 
static final  boolean SLOW_DEBUG     
static final  boolean DUMP_DEBUG     
static final  boolean DESCENT_DEBUG     
static final  boolean OLD_DEBUG     
static final  boolean OLD_DUMP_DEBUG     
static final  boolean FOODEBUG     
static final  boolean DO_DEBUG     
static final  int INT_MAX    Constants: Integer Bounds 
static final  int MAX_SEVEN_BIT     
static final  int MAX_EIGHT_BIT     
static final  int MAX_SIXTEEN_BIT     
Method from jlex.CUtility Summary:
assert,   bytencmp,   charncmp,   doubleSize,   doubleSize,   enter,   hex2bin,   ishexdigit,   isnewline,   isoctdigit,   isspace,   leave,   oct2bin
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jlex.CUtility Detail:
 static  void assert(boolean expr) 
    Function: assert Description: Debugging routine.
 static int bytencmp(byte[] a,
    int a_first,
    byte[] b,
    int b_first,
    int n) 
    Function: bytencmp Description: Compares up to n elements of byte array a[] against byte array b[]. The first byte comparison is made between a[a_first] and b[b_first]. Comparisons continue until the null terminating byte '\0' is reached or until n bytes are compared. Return Value: Returns 0 if arrays are the same up to and including the null terminating byte or up to and including the first n bytes, whichever comes first.
 static int charncmp(char[] a,
    int a_first,
    char[] b,
    int b_first,
    int n) 
    Function: charncmp
 static char[] doubleSize(char[] oldBuffer) 
    Function: doubleSize
 static byte[] doubleSize(byte[] oldBuffer) 
    Function: doubleSize
 static  void enter(String descent,
    char lexeme,
    int token) 
    Function: enter Description: Debugging routine.
 static char hex2bin(char c) 
    Function: hex2bin
 static boolean ishexdigit(char c) 
    Function: ishexdigit
 static boolean isnewline(char c) 
    Function: isnewline
 static boolean isoctdigit(char c) 
    Function: isoctdigit
 static boolean isspace(char c) 
    Function: isspace
 static  void leave(String descent,
    char lexeme,
    int token) 
    Function: leave Description: Debugging routine.
 static char oct2bin(char c) 
    Function: oct2bin