Package org.hcjf.utils
Interface Introspection.Consumer
-
- Enclosing class:
- Introspection
public static interface Introspection.ConsumerThis interface represents a possible implementation of the way to consume a getter method of the some kind of object.
-
-
Method Summary
Modifier and Type Method Description java.lang.Objectconsume(java.lang.Object value)The implementation of this method consume the value a return the same value or other instance based on this value.
-
-
-
Method Detail
-
consume
java.lang.Object consume(java.lang.Object value)
The implementation of this method consume the value a return the same value or other instance based on this value.- Parameters:
value- Instance to consume.- Returns:
- Return a new representation of the value or the same object depends the consumer implementation.
-
-