Class Functions2.MinFunction2<T>

  • 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.MinFunction2<T>
    extends java.lang.Object
    implements Function2<T,​T,​T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Comparator<? super T> comparator  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MinFunction2​(java.util.Comparator<? super T> comparator)  
    • 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

      • comparator

        private final java.util.Comparator<? super T> comparator
    • Constructor Detail

      • MinFunction2

        private MinFunction2​(java.util.Comparator<? super T> comparator)
    • Method Detail

      • value

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