public interface ObjectSet<T>
extends java.util.List<T>, java.lang.Iterable<T>
ObjectContainer of an ObjectSet
needs to remain open as long as an ObjectSet is used. This is necessary
for lazy instantiation. The objects in an ObjectSet are only instantiated
when they are actually being used by the application.for extended functionality.| Modifier and Type | Method and Description |
|---|---|
ExtObjectSet |
ext()
returns an ObjectSet with extended functionality.
|
boolean |
hasNext()
returns
true if the ObjectSet has more elements. |
T |
next()
returns the next object in the
ObjectSet. |
void |
reset()
resets the
ObjectSet cursor before the first element. |
int |
size()
returns the number of elements in the
ObjectSet. |
ExtObjectSet ext()
boolean hasNext()
true if the ObjectSet has more elements.true if the ObjectSet has more
elements.T next()
ObjectSet.
global or
class specific
setting.ObjectSet.void reset()
ObjectSet cursor before the first element.
next() will return the first element.