Interface SettableTransformer<I,​O>

  • All Superinterfaces:
    org.apache.commons.collections4.Transformer<I,​O>
    All Known Implementing Classes:
    MapSettableTransformer

    public interface SettableTransformer<I,​O>
    extends org.apache.commons.collections4.Transformer<I,​O>
    An interface for classes that can set the value to be returned (from transform()) when invoked on a given input.
    • 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 org.apache.commons.collections4.Transformer

        transform
    • Method Detail

      • set

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