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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(T value)Consume an enum.
-
-
-
Method Detail
-
accept
void accept(T value)
Consume an enum.- Parameters:
value- value to consume
-
-