public static interface Int2ReferenceMap.Entry<V> extends Map.Entry<Integer,V>
Map.Entry; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
int |
getIntKey()
Returns the key corresponding to this entry.
|
default Integer |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getValue, hashCode, setValueint getIntKey()
Map.Entry.getKey()Copyright © 2020. All rights reserved.