
public class JreMapFromIntTo<T> extends Object implements MapFromIntTo<T>
| Constructor and Description |
|---|
JreMapFromIntTo() |
| Modifier and Type | Method and Description |
|---|---|
T |
get(int key)
Retrieves a value for the specified key.
|
boolean |
hasKey(int key)
Indicates whether the map contains a value for the specified key.
|
ArrayOfInt |
keys()
The keys contained within this map.
|
void |
put(int key,
T value)
Associates a value to the specified key.
|
void |
remove(int key)
Removes the value associated with the specified value, if one exists.
|
ArrayOf<T> |
values()
The values contained in this map.
|
public T get(int key)
MapFromIntToget in interface MapFromIntTo<T>public boolean hasKey(int key)
MapFromIntTohasKey in interface MapFromIntTo<T>public ArrayOfInt keys()
MapFromIntTokeys in interface MapFromIntTo<T>public void put(int key,
T value)
MapFromIntToput in interface MapFromIntTo<T>public void remove(int key)
MapFromIntToremove in interface MapFromIntTo<T>public ArrayOf<T> values()
MapFromIntTovalues in interface MapFromIntTo<T>Copyright © 2016. All rights reserved.