choco.kernel.memory.structure.iterators
Class PSVIterator<E>

java.lang.Object
  extended by choco.kernel.common.util.disposable.Disposable
      extended by choco.kernel.common.util.iterators.DisposableIterator<E>
          extended by choco.kernel.memory.structure.iterators.PSVIterator<E>
All Implemented Interfaces:
Iterator<E>

public final class PSVIterator<E>
extends DisposableIterator<E>


Constructor Summary
PSVIterator()
           
 
Method Summary
 boolean hasNext()
           
 void init(int theNStaticObjects, E[] theStaticObjects, IStateInt theNStoredObjects, E[] theStoredObjects)
          Freeze the iterator, cannot be reused.
 E next()
           
 
Methods inherited from class choco.kernel.common.util.iterators.DisposableIterator
remove
 
Methods inherited from class choco.kernel.common.util.disposable.Disposable
dispose, init, reusable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSVIterator

public PSVIterator()
Method Detail

init

public void init(int theNStaticObjects,
                 E[] theStaticObjects,
                 IStateInt theNStoredObjects,
                 E[] theStoredObjects)
Freeze the iterator, cannot be reused.


hasNext

public boolean hasNext()

next

public E next()


Copyright © 2012. All Rights Reserved.