public final class Functions2
extends java.lang.Object
Function2 instances.| Modifier and Type | Method and Description |
|---|---|
static <T,V,P> com.gs.collections.api.block.function.Function2<T,P,V> |
fromFunction(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
static com.gs.collections.api.block.function.Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer> |
integerAddition() |
static <T> com.gs.collections.api.block.function.Function2<T,T,T> |
max(java.util.Comparator<? super T> comparator) |
static <T,V extends java.lang.Comparable<? super V>> |
maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
static <T> com.gs.collections.api.block.function.Function2<T,T,T> |
min(java.util.Comparator<? super T> comparator) |
static <T,V extends java.lang.Comparable<? super V>> |
minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
static <T,V,P> com.gs.collections.api.block.function.Function2<T,P,V> |
throwing(ThrowingFunction2<T,P,V> throwingFunction2) |
public static <T,V,P> com.gs.collections.api.block.function.Function2<T,P,V> fromFunction(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
public static <T,V,P> com.gs.collections.api.block.function.Function2<T,P,V> throwing(ThrowingFunction2<T,P,V> throwingFunction2)
public static com.gs.collections.api.block.function.Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer> integerAddition()
public static <T> com.gs.collections.api.block.function.Function2<T,T,T> min(java.util.Comparator<? super T> comparator)
public static <T> com.gs.collections.api.block.function.Function2<T,T,T> max(java.util.Comparator<? super T> comparator)
public static <T,V extends java.lang.Comparable<? super V>> com.gs.collections.api.block.function.Function2<T,T,T> minBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
public static <T,V extends java.lang.Comparable<? super V>> com.gs.collections.api.block.function.Function2<T,T,T> maxBy(com.gs.collections.api.block.function.Function<? super T,? extends V> function)