public class ArrayIntMap extends Object
Constructor and Description |
---|
ArrayIntMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the map
|
boolean |
containsKey(int k) |
FastSet |
get(int key)
returns a mutable set of values connected to the key; if no value is connected, returns an
immutable empty set
|
com.carrotsearch.hppcrt.lists.IntArrayList |
getAllValues() |
com.carrotsearch.hppcrt.lists.IntArrayList |
keySet() |
void |
put(int key,
int value) |
String |
toString() |
public void put(int key, int value)
key
- keyvalue
- valuepublic FastSet get(int key)
key
- keypublic com.carrotsearch.hppcrt.lists.IntArrayList keySet()
public com.carrotsearch.hppcrt.lists.IntArrayList getAllValues()
public boolean containsKey(int k)
k
- keypublic void clear()
Copyright © 2020 The University of Manchester. All rights reserved.