|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainCollectionIterator
Wraps a DomainCollection
as an Iterator
NOTE:
This iterator reads an entire DomainCollection into memory and stores in an internal container.
Asside from being inefficient & preventing the use of filters, this can potentially cause data aliasing problems
in pre 5.3 core. Should only be used for passing to systems that don't directly support DomainCollections.
Constructor Summary | |
DomainCollectionIterator(DomainCollection c)
Wrap the specified DomainCollection in an iterator |
Method Summary | |
boolean |
hasNext()
Return true if there are more rows in the collection, false otherwise |
Object |
next()
Return the current domain object |
void |
remove()
Not Implemented |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DomainCollectionIterator(DomainCollection c)
DomainCollection
in an iterator
Method Detail |
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public void remove()
remove
in interface Iterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |