KeyT - The type of the "correct" itemTestT - The type of the other item@Beta public final class EvalPair<KeyT,TestT> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <F,T,KeyT extends F,TestT extends F> |
functionOnBoth(com.google.common.base.Function<F,T> func)
|
static <F1,T1,F2,T2,KeyT extends F1,TestT extends F2> |
functionsOnBoth(com.google.common.base.Function<F1,T1> keyFunc,
com.google.common.base.Function<F2,T2> testFunc)
|
KeyT |
key()
The correct item.
|
static <KeyT,TestT> |
of(KeyT key,
TestT test)
Create an
EvalPair. |
TestT |
test()
The other item
|
public KeyT key()
public TestT test()
public static <KeyT,TestT> EvalPair<KeyT,TestT> of(KeyT key, TestT test)
EvalPair. The "correct" (key) item comes first.public static <F,T,KeyT extends F,TestT extends F> com.google.common.base.Function<EvalPair<? extends KeyT,? extends TestT>,EvalPair<T,T>> functionOnBoth(com.google.common.base.Function<F,T> func)
Copyright © 2016. All rights reserved.