Interface ParseToken.EnumConsumer<T extends Enum<T>>

  • Type Parameters:
    T - type of the enum
    Enclosing class:
    ParseToken

    public static interface ParseToken.EnumConsumer<T extends Enum<T>>
    Interface representing instance methods that consume enum values.
    • Method Detail

      • accept

        void accept​(T value)
        Consume an enum.
        Parameters:
        value - value to consume