Class Functions2.MaxByFunction2<T,​V extends java.lang.Comparable<? super V>>

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

    private static final class Functions2.MaxByFunction2<T,​V extends java.lang.Comparable<? super V>>
    extends java.lang.Object
    implements Function2<T,​T,​T>
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T value​(T argument1, T argument2)  
      • 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 extends java.lang.Comparable<? super V>> function
    • Constructor Detail

      • MaxByFunction2

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

      • value

        public T value​(T argument1,
                       T argument2)
        Specified by:
        value in interface Function2<T,​T,​T>