public boolean startsWith(final char c){
  return hasMoreData() && myText.charAt(myPosition) == c;
}

public boolean startsWith ( final char c ) { return hasMoreData ( ) && myText . charAt ( myPosition ) == c ; }
check if the next character is the specified one
