public class LazyHashMap
extends Object
implements Map
| Modifier and Type | Field and Description |
|---|---|
private LazyDocument |
doc |
private DiskHashReader |
reader |
| Constructor and Description |
|---|
LazyHashMap(LazyDocument doc,
DiskHashReader reader)
Construct a hash map to read keys from a
DiskHashReader |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key)
Get the list of nodes associated with a given key.
|
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
private LazyDocument doc
private DiskHashReader reader
public LazyHashMap(LazyDocument doc, DiskHashReader reader)
DiskHashReaderpublic Object get(Object key)
get in interface Mappublic void clear()
clear in interface Mappublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Mappublic Object put(Object key,
Object value)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Map