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 Summary

    Modifier and Type
    Method
    Description
    void
    accept(T value)
    Consume an enum.
  • Method Details

    • accept

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