|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.model.versioning.impl.persistent.OperationIterator
public class OperationIterator
A file-based iterator for AbstractOperation
s.
Constructor Summary | |
---|---|
OperationIterator(String operationsFilePath,
Direction direction)
Constructor. |
Method Summary | |
---|---|
void |
close()
Closes the underlying operations file. |
boolean |
hasNext()
|
AbstractOperation |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationIterator(String operationsFilePath, Direction direction)
operationsFilePath
- the absolute path to the operations filedirection
- the reading Direction
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<AbstractOperation>
Iterator.hasNext()
public AbstractOperation next()
next
in interface Iterator<AbstractOperation>
Iterator.next()
public void remove()
remove
in interface Iterator<AbstractOperation>
Iterator.remove()
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |