T1 - the adapted predicate first parameter typeT2 - the adapted predicate second parameter typepublic class BinaryPredicateToBinaryDelegate<T1,T2> extends Object implements BinaryDelegate<Boolean,T1,T2>
| Constructor and Description |
|---|
BinaryPredicateToBinaryDelegate(BinaryPredicate<T1,T2> adaptee) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
perform(T1 first,
T2 second)
Executes the delegate for the given elements yielding a result of type R
|
public BinaryPredicateToBinaryDelegate(BinaryPredicate<T1,T2> adaptee)
public Boolean perform(T1 first, T2 second)
BinaryDelegateperform in interface BinaryDelegate<Boolean,T1,T2>first - the former elementsecond - the latter elementCopyright © 2016. All rights reserved.