Interface Parser.ParseResult<T>

Type Parameters:
T - the resulting value type
Enclosing interface:
Parser<T>

public static interface Parser.ParseResult<T>
The result of parsing a value from a String
  • Method Details

    • text

      String text()
      Returns:
      the text being parsed
    • value

      @Nullable T value()
      Returns:
      the parsed value
    • successful

      boolean successful()
      Returns:
      true if the parsing was successful