public interface IObjectCollector<T>
Modifier and Type | Method and Description |
---|---|
boolean |
collectObject(java.util.Collection<T> collection,
T object)
Will be called with an object that maybe must be added to the given
collection.
|
boolean collectObject(java.util.Collection<T> collection, T object)
collection
- The collection to add objects (must not be null)object
- The object to be potentially added (must not be null)