Interface Introspection.Consumer

  • Enclosing class:
    Introspection

    public static interface Introspection.Consumer
    This 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.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.
    • 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.