public boolean nextIsSep(){
  if (Character.isLetterOrDigit(str.charAt(currentPosition)))   return false;
 else   return true;
}

public boolean nextIsSep ( ) { if ( Character . isLetterOrDigit ( str . charAt ( currentPosition ) ) ) return false ; else return true ; }
tells if there is a digit or a letter character ahead .
