Class Functions2.FunctionAdapter<T,​P,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.BiFunction<T,​P,​V>, Function2<T,​P,​V>
    Enclosing class:
    Functions2

    private static final class Functions2.FunctionAdapter<T,​P,​V>
    extends java.lang.Object
    implements Function2<T,​P,​V>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FunctionAdapter​(Function<? super T,​? extends V> function)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V value​(T each, P parameter)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiFunction

        andThen
      • Methods inherited from interface org.eclipse.collections.api.block.function.Function2

        apply
    • Field Detail

      • function

        private final Function<? super T,​? extends V> function
    • Constructor Detail

      • FunctionAdapter

        private FunctionAdapter​(Function<? super T,​? extends V> function)
    • Method Detail

      • value

        public V value​(T each,
                       P parameter)
        Specified by:
        value in interface Function2<T,​P,​V>