public class FragmentedMap<KEY,VALUE> extends Object
| Constructor and Description |
|---|
FragmentedMap(int maxFragmentSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFragment(Map<KEY,VALUE> fragment) |
void |
cleanChangingLog() |
void |
clear() |
void |
defragment() |
VALUE |
get(KEY key) |
Collection<VALUE> |
getAllValues() |
Set<Integer> |
getChangedFragmentIndexes() |
Map<KEY,VALUE> |
getFragment(int index) |
int |
getFragmentsCount() |
protected Map<KEY,VALUE> |
getFragmentToNewData() |
protected Map<KEY,VALUE> |
getFragmentWithKey(KEY key) |
Map<KEY,VALUE> |
getMap() |
Set<Integer> |
getRemovedFragmentIndexes() |
static void |
main(String[] args) |
VALUE |
put(KEY key,
VALUE value) |
void |
putAll(Map<KEY,VALUE> fragment) |
VALUE |
remove(KEY key) |
public static void main(String[] args)
public void cleanChangingLog()
public void clear()
public void defragment()
public Collection<VALUE> getAllValues()
public int getFragmentsCount()
Copyright © 2008–2019 Tigase. All rights reserved.