Interface SettableTransformer<I,O>

All Superinterfaces:
com.google.common.base.Function<I,O>, 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.
  • Method Summary

    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 Details

    • 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