|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object MinMaxUtil
public final class MinMaxUtil
Method Summary | ||
---|---|---|
static
|
max(Iterable<T> objects,
Function<T,Double> f)
from an Iterable of objects, this returns the one with the highest associated value of a function f |
|
static
|
min(Iterable<T> objects,
Function<T,Double> f)
from an Iterable of objects, this returns the one with the lowest associated value of a function f |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final <T> T min(Iterable<T> objects, Function<T,Double> f)
public static final <T> T max(Iterable<T> objects, Function<T,Double> f)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |