Class RejectProcedure<T>
java.lang.Object
org.eclipse.collections.impl.block.procedure.RejectProcedure<T>
- All Implemented Interfaces:
Serializable
,Consumer<T>
,Procedure<T>
public final class RejectProcedure<T> extends Object implements Procedure<T>
Applies a predicate to an object to determine if it should be added to a target collection.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RejectProcedure(Predicate<? super T> newPredicate, Collection<T> targetCollection)
-
Method Summary
Modifier and Type Method Description Collection<T>
getCollection()
void
value(T object)
-
Constructor Details
-
Method Details