public class IntMultimap extends Object implements Serializable
Because only int primitives are used performance and memory usage can surpass Object multimaps.
Modifier and Type | Field and Description |
---|---|
protected cern.colt.map.OpenIntObjectHashMap |
map |
Constructor and Description |
---|
IntMultimap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
equals(Object object) |
cern.colt.list.IntArrayList |
get(int key) |
int |
hashCode() |
cern.colt.list.IntArrayList |
keys() |
void |
put(int key,
int value) |
void |
putAll(IntMultimap thatMap) |
cern.colt.list.IntArrayList |
remove(int key) |
boolean |
remove(int key,
int value) |
public void clear()
public cern.colt.list.IntArrayList get(int key)
public cern.colt.list.IntArrayList keys()
public void put(int key, int value)
public void putAll(IntMultimap thatMap)
public cern.colt.list.IntArrayList remove(int key)
public boolean remove(int key, int value)
Copyright © 2018. All rights reserved.