K - the key typeV - the value typepublic static class ImmutableMap.KeyIterator<K,V> extends ImmutableIteratorBase<ImmutableMap.MapEntry<K,V>> implements Iterator<K>
Iterator to iterate over the contents of a ImmutableMap.KeySet.| Modifier and Type | Method and Description |
|---|---|
K |
next()
Get the next key referenced by this
KeyIterator. |
checkNext, hasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, removepublic K next()
KeyIterator.next in interface Iterator<K>NoSuchElementException - if there is no "next" keyCopyright © 2021. All rights reserved.