|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.kernel.common.util.disposable.Disposable
choco.kernel.common.util.iterators.DisposableIterator<Couple<C>>
choco.kernel.memory.structure.iterators.PSCLEIterator<C>
public final class PSCLEIterator<C extends AbstractSConstraint>
User : cprudhom
Mail : cprudhom(a)emn.fr
Date : 1 mars 2010
Since : Choco 2.1.1
Constructor Summary | |
---|---|
PSCLEIterator()
|
Method Summary | |
---|---|
void |
dispose()
This method allows to declare that an object is not used anymore. |
boolean |
hasNext()
Returns true if the iteration has more elements. |
void |
init(C aCause,
PartiallyStoredIntVector anEvent,
PartiallyStoredVector<C> someElements,
PartiallyStoredIntVector someIndices)
|
Couple<C> |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
Methods inherited from class choco.kernel.common.util.disposable.Disposable |
---|
init, reusable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PSCLEIterator()
Method Detail |
---|
public void init(C aCause, PartiallyStoredIntVector anEvent, PartiallyStoredVector<C> someElements, PartiallyStoredIntVector someIndices)
public boolean hasNext()
public Couple<C> next()
NoSuchElementException
- iteration has no more elements.public void remove()
remove
in interface Iterator<Couple<C extends AbstractSConstraint>>
remove
in class DisposableIterator<Couple<C extends AbstractSConstraint>>
UnsupportedOperationException
- if the remove
operation is not supported by this Iterator.
IllegalStateException
- if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.public void dispose()
Disposable
dispose
in class Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |