public final class SelectInstancesOfProcedure<T>
extends java.lang.Object
implements com.gs.collections.api.block.procedure.Procedure<java.lang.Object>
Class.isInstance(Object) on an object to determine if it should be added to a target collection.| Constructor and Description |
|---|
SelectInstancesOfProcedure(java.lang.Class<T> clazz,
java.util.Collection<T> targetCollection) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<T> |
getCollection() |
void |
value(java.lang.Object object) |
public void value(java.lang.Object object)
value in interface com.gs.collections.api.block.procedure.Procedure<java.lang.Object>public java.util.Collection<T> getCollection()