public static class ObjectIntMap.Keys<K>
extends java.lang.Object
implements java.lang.Iterable<K>, java.util.Iterator<K>
| Constructor and Description |
|---|
Keys(ObjectIntMap<K> map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
ObjectIntMap.Keys<K> |
iterator() |
K |
next() |
java.util.ArrayList<K> |
toList()
Returns a new list containing the remaining keys.
|
<T extends java.util.List<K>> |
toList(T array)
Adds the remaining keys to the list.
|
public Keys(ObjectIntMap<K> map)
public boolean hasNext()
hasNext in interface java.util.Iterator<K>public ObjectIntMap.Keys<K> iterator()
iterator in interface java.lang.Iterable<K>public java.util.ArrayList<K> toList()
public <T extends java.util.List<K>> T toList(T array)
Copyright © 2020. All Rights Reserved.