Class CollectionRemoveProcedure<T>
java.lang.Object
org.eclipse.collections.impl.block.procedure.CollectionRemoveProcedure<T>
- All Implemented Interfaces:
Serializable
,Consumer<T>
,Procedure<T>
public final class CollectionRemoveProcedure<T> extends Object implements Procedure<T>
CollectionRemoveProcedure removes element from the specified collection when one of the procedure methods are called.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CollectionRemoveProcedure(Collection<T> newCollection)
-
Method Summary
Modifier and Type Method Description Collection<T>
getResult()
static <T> CollectionRemoveProcedure<T>
on(Collection<T> newCollection)
String
toString()
void
value(T object)