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
|
gnu.trove.list.TIntList |
getAllValues() |
gnu.trove.list.TIntList |
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 gnu.trove.list.TIntList keySet()
public gnu.trove.list.TIntList getAllValues()
public boolean containsKey(int k)
k - keypublic void clear()
Copyright © 2016 The University of Manchester. All Rights Reserved.