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

public final Class SelectInstancesOfProcedure<T>

extends Object
implements Procedure<Object>
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

Calls Class#isInstance(Object) on an object to determine if it should be added to a target collection.
Since
2.0

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
SelectInstancesOfProcedure(Class<T> clazz, Collection<T> targetCollection)

Method Summary

Modifier and TypeMethod and Description
public Collection<T>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

SelectInstancesOfProcedureback to summary
public SelectInstancesOfProcedure(Class<T> clazz, Collection<T> targetCollection)

Method Detail

getCollectionback to summary
public Collection<T> getCollection()
valueback to summary
public void value(Object object)

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

Annotations
@Override