com.x8ing.lsm4j.state
Class StaticGraph.StateIterator

java.lang.Object
  extended by com.x8ing.lsm4j.state.StaticGraph.StateIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
StaticGraph

protected static class StaticGraph.StateIterator
extends java.lang.Object
implements java.util.Iterator

TODO implement stateiterator and transition iterator!!! Iterates over all states in the graph.

Author:
Patrick Heusser

Constructor Summary
protected StaticGraph.StateIterator(java.util.Map outgoings)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
          Type: StaticState
 void remove()
          Not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticGraph.StateIterator

protected StaticGraph.StateIterator(java.util.Map outgoings)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Type: StaticState

Specified by:
next in interface java.util.Iterator

remove

public void remove()
Not supported. Iterator is read only!

Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException


by Patrick Heusser