private static boolean isAllUnderscores(){
  int i=0;
  boolean result=true;
  while (result && (i < token.length())) {
    if (token.charAt(i) != '_') {
      result=false;
    }
    ;
    i=i + 1;
  }
  ;
  return result;
}

private static boolean isAllUnderscores ( ) { int i = 0 ; boolean result = true ; while ( result && ( i < token . length ( ) ) ) { if ( token . charAt ( i ) != '_' ) { result = false ; } ; i = i + 1 ; } ; return result ; }
the following private methods are all procedures for use by the tokenize method .
