| Constructor and Description |
|---|
Tuples.Pairs() |
| Modifier and Type | Method and Description |
|---|---|
static <T,U> BinaryAction<T,U> |
untupled(Action<Pair<T,U>> action)
Adapts an action accepting a pair to a binary action.
|
static <R,T,U> BinaryDelegate<R,T,U> |
untupled(Delegate<R,Pair<T,U>> delegate)
Adapts a delegate accepting a pair to a binary delegate.
|
static <T,U> BinaryPredicate<T,U> |
untupled(Predicate<Pair<T,U>> predicate)
Adapts a predicate accepting a pair to a binary predicate.
|
public static <R,T,U> BinaryDelegate<R,T,U> untupled(Delegate<R,Pair<T,U>> delegate)
R - the delegate return typeT - the delegate first parameter typeU - the delegate second parameter typedelegate - the delegate to be adaptedpublic static <T,U> BinaryPredicate<T,U> untupled(Predicate<Pair<T,U>> predicate)
T - the predicate first parameter typeU - the predicate second parameter typepredicate - the predicate to be adaptedpublic static <T,U> BinaryAction<T,U> untupled(Action<Pair<T,U>> action)
T - the action first parameter typeU - the action second parameter typeaction - the action to be adaptedCopyright © 2012. All Rights Reserved.