Package aQute.lib.collections
Class SortedList.It
- java.lang.Object
-
- aQute.lib.collections.SortedList.It
-
- All Implemented Interfaces:
java.util.Iterator<T>
,java.util.ListIterator<T>
- Enclosing class:
- SortedList<T>
private class SortedList.It extends java.lang.Object implements java.util.ListIterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description private int
n
-
Constructor Summary
Constructors Constructor Description It(int n)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(T e)
Deprecated.boolean
hasNext()
boolean
hasPrevious()
T
next()
int
nextIndex()
T
previous()
int
previousIndex()
void
remove()
Deprecated.void
set(T e)
Deprecated.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public T next() throws java.util.NoSuchElementException
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
remove
@Deprecated public void remove()
Deprecated.
-
set
@Deprecated public void set(T e)
Deprecated.- Specified by:
set
in interfacejava.util.ListIterator<T>
-
-