Interface ParseFunction<T>

Type Parameters:
T - The type of result
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ParseFunction<T>
A function that parses an input string.
  • Method Details

    • parse

      T parse(String input)
      Parses an input string.
      Parameters:
      input - The input string to parse
      Returns:
      The parsed value, or null if the parsing failed.
    • parseInt

      static Integer parseInt(String input)
    • parseFloat

      static Float parseFloat(String input)
    • parseBoolean

      static Boolean parseBoolean(String input)