public class YLongToByteMap
extends java.lang.Object
| Constructor and Description |
|---|
YLongToByteMap()
Creates an empty map.
|
YLongToByteMap(int initialCapacity)
Creates an empty map with preallocated space for entries.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
get(long key)
Gets a value mapped by a given key.
|
byte |
getEmptyValue()
|
byte |
put(long key,
byte value)
Puts a mapping between given key and given value to the map.
|
public YLongToByteMap()
public YLongToByteMap(int initialCapacity)
initialCapacity - initial capacity of the mappublic byte getEmptyValue()
put(long, byte),
get(long)public byte put(long key,
byte value)
key - key of the mappingvalue - value of the mappingempty value if there was no given key in the
map.getEmptyValue()public byte get(long key)
key - key of the mappingempty value if there is no given key in the
mapCopyright © 2018 SAP SE. All Rights Reserved.