public final class SparseLongArrayIterator extends AbstractProtectedIterator<Entry<Integer,Long>>
SparseLongArrayIterator is an AbstractProtectedIterator that iterates over a given
SparseLongArray.| Constructor and Description |
|---|
SparseLongArrayIterator(SparseLongArray array)
Creates a new
SparseLongArrayIterator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Entry<Integer,Long> |
next() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SparseLongArrayIterator(SparseLongArray array) throws IllegalArgumentException
SparseLongArrayIterator.array - The SparseLongArray to iterate over.IllegalArgumentException - If the given SparseLongArray is null.public boolean hasNext()
public Entry<Integer,Long> next() throws NoSuchElementException
NoSuchElementException