public class ByteObjectMap<T> extends TuneableMap
| Modifier and Type | Class and Description |
|---|---|
static class |
ByteObjectMap.Entry<T> |
static class |
ByteObjectMap.EntryIterable<T> |
static class |
ByteObjectMap.EntryIterator<T> |
DEFAULT_LOAD, DEFAULT_SIZE| Constructor and Description |
|---|
ByteObjectMap(int initialSize,
float loadFactor,
T defaultValue) |
ByteObjectMap(T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
ByteObjectMap<T> |
add(byte key,
T value) |
Iterable<ByteObjectMap.Entry<T>> |
cursor() |
T |
get(byte key) |
T |
getDefaultValue() |
byte[] |
keys() |
void |
put(byte key,
T value) |
int |
size() |
String |
toString() |
hash, hash, maskpublic ByteObjectMap(T defaultValue)
public ByteObjectMap(int initialSize,
float loadFactor,
T defaultValue)
public int size()
public byte[] keys()
public ByteObjectMap<T> add(byte key, T value)
public void put(byte key,
T value)
public T get(byte key)
public T getDefaultValue()
public Iterable<ByteObjectMap.Entry<T>> cursor()
Copyright © 2017. All rights reserved.