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