public static interface Enumerations.Processor<T,R>
Modifier and Type | Method and Description |
---|---|
R |
process(T original,
Collection<T> toAdd) |
R process(T original, Collection<T> toAdd)
original
- the object that is going to be returned from the enumeration right nowtoAdd
- can be non-null if one can add new objects at the end of the enumeration