|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingMap<K,V>
org.apache.solr.util.MapListener<K,V>
public class MapListener<K,V>
Wraps another map, keeping track of each key that was seen via get(Object) or remove(Object).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap |
|---|
com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
MapListener(Map<K,V> target)
|
|
| Method Summary | |
|---|---|
protected Map<K,V> |
delegate()
|
V |
get(Object key)
|
Set<K> |
getSeenKeys()
|
V |
remove(Object key)
|
| Methods inherited from class com.google.common.collect.ForwardingMap |
|---|
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values |
| Methods inherited from class com.google.common.collect.ForwardingObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapListener(Map<K,V> target)
| Method Detail |
|---|
public Set<K> getSeenKeys()
public V get(Object key)
get in interface Map<K,V>get in class com.google.common.collect.ForwardingMap<K,V>public V remove(Object key)
remove in interface Map<K,V>remove in class com.google.common.collect.ForwardingMap<K,V>protected Map<K,V> delegate()
delegate in class com.google.common.collect.ForwardingMap<K,V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||