T - type of elementspublic class HalfByteHashMap<T> extends Object implements ByteMap<T>
| Constructor and Description |
|---|
HalfByteHashMap()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(byte key)
Return true if the map contains the given key.
|
T |
get(byte key)
Get a value.
|
boolean |
isEmpty()
Return true if this map is empty.
|
T |
put(byte key,
T element)
Put a value and return the previous value associated with this key, or null.
|
T |
remove(byte key)
Remove a value.
|
int |
size()
Return the number of elements.
|
public T put(byte key, T element)
ByteMappublic int size()
ByteMappublic boolean isEmpty()
ByteMappublic boolean containsKey(byte key)
ByteMapcontainsKey in interface ByteMap<T>Copyright © 2017. All rights reserved.