public String next(){
  return next(ANY_PATTERN);
}

public String next ( ) { return next ( ANY_PATTERN ) ; }
returns the next token . the token will be both prefixed and suffixed by the delimiter that is currently being used ( or a string that matches the delimiter pattern ) . this method will block if input is being read .
