Package org.eclipse.sisu.inject
Class RankedSequence.Itr
java.lang.Object
org.eclipse.sisu.inject.RankedSequence.Itr
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- RankedSequence<T>
Custom
Iterator
that copes with modification by repositioning itself in the updated list.-
Field Details
-
-
nextObj
-
nextUID
private long nextUID -
index
private int index
-
-
Constructor Details
-
Itr
Itr()
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasNext
public boolean hasNext(int rank) - Returns:
true
if the next element is ranked at or above the given rank; otherwisefalse
-
next
-
rank
public int rank() -
remove
public void remove()
-