|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.EntityHistoryListReader
public class EntityHistoryListReader
Reads a history stream and groups all changes for a single entity into lists.
Constructor Summary | |
---|---|
EntityHistoryListReader(ReleasableIterator<ChangeContainer> sourceIterator)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
hasNext()
|
java.util.List<ChangeContainer> |
next()
|
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityHistoryListReader(ReleasableIterator<ChangeContainer> sourceIterator)
sourceIterator
- An iterator containing full entity history ordered by type, identifier and
version.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.util.List<ChangeContainer>>
public java.util.List<ChangeContainer> next()
next
in interface java.util.Iterator<java.util.List<ChangeContainer>>
public void remove()
remove
in interface java.util.Iterator<java.util.List<ChangeContainer>>
public void release()
release
in interface Releasable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |