@Deprecated public class GrabberMap<O,KG,VG> extends Object implements Map<KG,Collection<VG>>, CachedIF
Modifier and Type | Field and Description |
---|---|
protected Collection<O> |
coll
Deprecated.
|
protected boolean |
grabbed
Deprecated.
|
protected Map<KG,Collection<VG>> |
grabbed_map
Deprecated.
|
protected GrabberIF<O,KG> |
key_grabber
Deprecated.
|
protected GrabberIF<O,VG> |
value_grabber
Deprecated.
|
Constructor and Description |
---|
GrabberMap(Collection<O> coll,
GrabberIF<O,KG> key_grabber,
GrabberIF<O,VG> value_grabber)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(Object key)
Deprecated.
|
boolean |
containsValue(Object value)
Deprecated.
|
Set |
entrySet()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
Collection<VG> |
get(Object key)
Deprecated.
|
protected Map<KG,Collection<VG>> |
getMap()
Deprecated.
|
Map<KG,Collection<VG>> |
getNestedMap()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
Set |
keySet()
Deprecated.
|
Collection<VG> |
put(KG key,
Collection<VG> value)
Deprecated.
|
void |
putAll(Map t)
Deprecated.
|
void |
refresh()
Deprecated.
Refreshes the map by looping over the nested collection
and regrabbing keys and values.
|
Collection<VG> |
remove(Object key)
Deprecated.
|
void |
setNestedMap(Map<KG,Collection<VG>> map)
Deprecated.
|
int |
size()
Deprecated.
|
Collection |
values()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Collection<O> coll
protected Map<KG,Collection<VG>> grabbed_map
protected boolean grabbed
public Map<KG,Collection<VG>> getNestedMap()
public void setNestedMap(Map<KG,Collection<VG>> map)
public void refresh()
protected Map<KG,Collection<VG>> getMap()
public void clear()
clear
in interface Map<KG,Collection<VG>>
public boolean containsKey(Object key)
containsKey
in interface Map<KG,Collection<VG>>
public boolean containsValue(Object value)
containsValue
in interface Map<KG,Collection<VG>>
public Set entrySet()
entrySet
in interface Map<KG,Collection<VG>>
public boolean equals(Object o)
public Collection<VG> get(Object key)
get
in interface Map<KG,Collection<VG>>
public int hashCode()
public boolean isEmpty()
isEmpty
in interface Map<KG,Collection<VG>>
public Collection<VG> put(KG key, Collection<VG> value)
put
in interface Map<KG,Collection<VG>>
public void putAll(Map t)
putAll
in interface Map<KG,Collection<VG>>
public Collection<VG> remove(Object key)
remove
in interface Map<KG,Collection<VG>>
public int size()
size
in interface Map<KG,Collection<VG>>
public Collection values()
values
in interface Map<KG,Collection<VG>>