Top Description Fields Constructors Methods
org.eclipse.collections.impl.block.procedure

public final Class CollectionRemoveProcedure<T>

extends Object
implements Procedure<T>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure, java.io.Serializable, java.util.function.Consumer
Imports
java.util.Collection, org.eclipse.collections.api.block.procedure.Procedure

CollectionRemoveProcedure removes element from the specified collection when one of the procedure methods are called.

Field Summary

Modifier and TypeField and Description
private final Collection<T>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Collection<T>
public static <T> CollectionRemoveProcedure<T>
on(Collection<T> newCollection)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

collectionback to summary
private final Collection<T> collection
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CollectionRemoveProcedureback to summary
public CollectionRemoveProcedure(Collection<T> newCollection)

Method Detail

getResultback to summary
public Collection<T> getResult()
onback to summary
public static <T> CollectionRemoveProcedure<T> on(Collection<T> newCollection)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
valueback to summary
public void value(T object)

Implements org.eclipse.collections.api.block.procedure.Procedure.value.

Annotations
@Override