Iterator<V>
, ListIterator<V>
public class IBSkipIterator<K extends Comparable<? super K>,V> extends SkipIterator<K,V>
index, ss
Constructor | Description |
---|---|
IBSkipIterator(SkipSpan<K,V> ss,
int index) |
Modifier and Type | Method | Description |
---|---|---|
V |
next() |
|
K |
nextKey() |
The key.
|
V |
previous() |
forEachRemaining
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, hasNext, hasPrevious, nextIndex, previousIndex, remove, set
public V next()
next
in interface Iterator<K extends Comparable<? super K>>
next
in interface ListIterator<K extends Comparable<? super K>>
next
in class SkipIterator<K extends Comparable<? super K>,V>
NoSuchElementException
RuntimeException
- on IOEpublic K nextKey()
nextKey
in class SkipIterator<K extends Comparable<? super K>,V>
NoSuchElementException
RuntimeException
- on IOEpublic V previous()
previous
in interface ListIterator<K extends Comparable<? super K>>
previous
in class SkipIterator<K extends Comparable<? super K>,V>
NoSuchElementException
RuntimeException
- on IOE