T - the procedure argument typepublic final class RetainMatching<T> extends Object implements BinaryProcedure<Iterator<? extends T>,UnaryPredicate<? super T>>, Serializable
| Constructor and Description |
|---|
RetainMatching() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static RetainMatching<Object> |
instance()
Get a static
RetainMatching instance. |
void |
run(Iterator<? extends T> left,
UnaryPredicate<? super T> right)
Execute this procedure.
|
String |
toString() |
public RetainMatching()
public void run(Iterator<? extends T> left, UnaryPredicate<? super T> right)
run in interface BinaryProcedure<Iterator<? extends T>,UnaryPredicate<? super T>>left - Iteratorright - UnaryPredicatepublic static RetainMatching<Object> instance()
RetainMatching instance.RetainMatchingCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.