Package org.jacop.jasat.utils.structures
Class IntQueue.QueueIterator
- java.lang.Object
-
- org.jacop.jasat.utils.structures.IntQueue.QueueIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Integer>
- Enclosing class:
- IntQueue
private final class IntQueue.QueueIterator extends java.lang.Object implements java.util.Iterator<java.lang.Integer>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
QueueIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
findNext()
find the next indexboolean
hasNext()
java.lang.Integer
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.lang.Integer>
-
next
public java.lang.Integer next()
- Specified by:
next
in interfacejava.util.Iterator<java.lang.Integer>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.lang.Integer>
-
findNext
private final void findNext()
find the next index
-
-