public char nextChar(){
  if (!hasNextChar())   throw new IllegalStateException("Reached end of string!");
  char c=content.charAt(currentPosition);
  stepForward(1);
  return c;
}

public char nextChar ( ) { if ( ! hasNextChar ( ) ) throw new IllegalStateException ( "Reached end of string!" ) ; char c = content . charAt ( currentPosition ) ; stepForward ( 1 ) ; return c ; }
returns the next character , stepping forward the tokenizer .
