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