org.processmining.framework.log.rfb.io
Class ATERandomFileBuffer.ATERandomFileBufferIterator

java.lang.Object
  extended by org.processmining.framework.log.rfb.io.ATERandomFileBuffer.ATERandomFileBufferIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
ATERandomFileBuffer

protected class ATERandomFileBuffer.ATERandomFileBufferIterator
extends java.lang.Object
implements java.util.Iterator

This class implements a lightweight iterator on a file-buffered random access collection of audit trail entries, as represented by the enclosing class.

Author:
christian

Field Summary
protected  ATERandomFileBuffer parent
           
protected  int position
           
 
Constructor Summary
protected ATERandomFileBuffer.ATERandomFileBufferIterator(ATERandomFileBuffer aParent)
          Constructs a new iterator wrapper
 
Method Summary
 boolean hasNext()
          Probes for the availability of further audit trail entries.
 java.lang.Object next()
          Retrieves another audit trail entry from the wrapped collection.
 void remove()
          This method is not implemented on this level
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected ATERandomFileBuffer parent

position

protected int position
Constructor Detail

ATERandomFileBuffer.ATERandomFileBufferIterator

protected ATERandomFileBuffer.ATERandomFileBufferIterator(ATERandomFileBuffer aParent)
Constructs a new iterator wrapper

Parameters:
aParent -
Method Detail

hasNext

public boolean hasNext()
Probes for the availability of further audit trail entries.

Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Retrieves another audit trail entry from the wrapped collection.

Specified by:
next in interface java.util.Iterator

remove

public void remove()
This method is not implemented on this level

Specified by:
remove in interface java.util.Iterator