public class ArrayInt2ObjectMap<E> extends AbstractInt2ObjectMap<E>
AbstractInt2ObjectMap.BasicEntry<V>
Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>
Constructor and Description |
---|
ArrayInt2ObjectMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(int k) |
E |
get(int i) |
String |
getStatistics() |
ObjectSet<Int2ObjectMap.Entry<E>> |
int2ObjectEntrySet() |
IntSet |
keySet() |
E |
put(int key,
E value) |
int |
size() |
containsValue, entrySet, equals, hashCode, isEmpty, putAll, toString, values
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove, remove
defaultReturnValue, defaultReturnValue, remove
containsKey, get, put, remove
compute, computeIfAbsent, computeIfPresent, containsKey, forEach, get, getOrDefault, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll
public String getStatistics()
public E get(int i)
public boolean containsKey(int k)
containsKey
in interface Int2ObjectFunction<E>
containsKey
in class AbstractInt2ObjectMap<E>
public E put(int key, E value)
put
in interface Int2ObjectFunction<E>
put
in class AbstractInt2ObjectFunction<E>
public int size()
public void clear()
public IntSet keySet()
keySet
in interface Int2ObjectMap<E>
keySet
in interface Map<Integer,E>
keySet
in class AbstractInt2ObjectMap<E>
public ObjectSet<Int2ObjectMap.Entry<E>> int2ObjectEntrySet()
Copyright © 2017. All rights reserved.