public class TreeHugeMap<K extends TreeKey,T> extends Object implements Map<K,T>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_CLEAR_FACTOR_ELEMENT |
static float |
DEFAULT_CLEAR_FACTOR_NODE |
static float |
DEFAULT_FRAGMENT_FACTOR_ELEMENT |
static float |
DEFAULT_FRAGMENT_FACTOR_NODE |
static int |
DEFAULT_MAX_CAPACITY_ELEMENT |
static int |
DEFAULT_MAX_CAPACITY_NODE |
| Constructor and Description |
|---|
TreeHugeMap()
Cria uma nova instância usando os valores padrão.
|
TreeHugeMap(String id,
int maxCapacityNodes,
double clearFactorNodes,
double fragmentFactorNodes,
Swapper swapNodes,
int quantitySwaperThreadNodes,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swapElements,
int quantitySwaperThreadElements) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,T>> |
entrySet() |
void |
flush() |
T |
get(Object key) |
boolean |
isEmpty() |
boolean |
isReadOnly() |
Set<K> |
keySet() |
T |
put(K key,
T element) |
void |
putAll(Map<? extends K,? extends T> m) |
T |
remove(Object key) |
void |
setReadOnly(boolean value) |
int |
size() |
Collection<T> |
values() |
public static final int DEFAULT_MAX_CAPACITY_NODE
public static final float DEFAULT_CLEAR_FACTOR_NODE
public static final float DEFAULT_FRAGMENT_FACTOR_NODE
public static final int DEFAULT_MAX_CAPACITY_ELEMENT
public static final float DEFAULT_CLEAR_FACTOR_ELEMENT
public static final float DEFAULT_FRAGMENT_FACTOR_ELEMENT
public TreeHugeMap()
public TreeHugeMap(String id, int maxCapacityNodes, double clearFactorNodes, double fragmentFactorNodes, Swapper swapNodes, int quantitySwaperThreadNodes, int maxCapacityElements, double clearFactorElements, double fragmentFactorElements, Swapper swapElements, int quantitySwaperThreadElements)
public boolean containsKey(Object key)
containsKey in interface Map<K extends TreeKey,T>public boolean containsValue(Object value)
containsValue in interface Map<K extends TreeKey,T>public void flush()
public void setReadOnly(boolean value)
public boolean isReadOnly()
Copyright © 2016. All rights reserved.