Interface SettableTransformer<I,​O>

  • All Superinterfaces:
    com.google.common.base.Function<I,​O>, java.util.function.Function<I,​O>
    All Known Implementing Classes:
    MapSettableTransformer

    public interface SettableTransformer<I,​O>
    extends com.google.common.base.Function<I,​O>
    An interface for classes that can set the value to be returned (from transform()) when invoked on a given input.
    Author:
    Joshua O'Madadhain
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void set​(I input, O output)
      Sets the value (output) to be returned by a call to transform(input)).
      • Methods inherited from interface com.google.common.base.Function

        apply, equals
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Method Detail

      • set

        void set​(I input,
                 O output)
        Sets the value (output) to be returned by a call to transform(input)).
        Parameters:
        input - the value whose output value is being specified
        output - the output value for input