ValueType - type of valuespublic interface ByteMap<ValueType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(byte key)
Return true if the map contains the given key.
|
ValueType |
get(byte key)
Get a value.
|
default boolean |
isEmpty()
Return true if this map is empty.
|
ValueType |
put(byte key,
ValueType entry)
Put a value and return the previous value associated with this key, or null.
|
ValueType |
remove(byte key)
Remove a value.
|
int |
size()
Return the number of elements.
|
ValueType put(byte key, ValueType entry)
ValueType get(byte key)
ValueType remove(byte key)
boolean containsKey(byte key)
int size()
default boolean isEmpty()
Copyright © 2017. All rights reserved.