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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>
getResult()
static <T> CollectionRemoveProcedure<T>
on(Collection<T> newCollection)
String
toString()
void
value(T object)
-
-
-
Constructor Detail
-
CollectionRemoveProcedure
public CollectionRemoveProcedure(Collection<T> newCollection)
-
-
Method Detail
-
on
public static <T> CollectionRemoveProcedure<T> on(Collection<T> newCollection)
-
getResult
public Collection<T> getResult()
-
-