Package org.apache.solr.common.util
Class WrappedSimpleMap<T>
- java.lang.Object
-
- org.apache.solr.common.util.WrappedSimpleMap<T>
-
- All Implemented Interfaces:
SimpleMap<T>,MapSerializable,MapWriter,NavigableObject,org.noggit.JSONWriter.Writable
public class WrappedSimpleMap<T> extends Object implements SimpleMap<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Constructor Summary
Constructors Constructor Description WrappedSimpleMap(Map<String,T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,T>asMap()Map<String,T>asMap(Map<String,T> sink)voidforEachEntry(BiConsumer<String,? super T> fun)Navigate through all keys and valuesTget(String key)get a value by key.intsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Methods inherited from interface org.apache.solr.cluster.api.SimpleMap
abortableForEach, abortableForEachKey, forEachKey, get, writeMap
-
-
-
-
Method Detail
-
get
public T get(String key)
Description copied from interface:SimpleMapget a value by key. If not present , null is returned
-
forEachEntry
public void forEachEntry(BiConsumer<String,? super T> fun)
Description copied from interface:SimpleMapNavigate through all keys and values- Specified by:
forEachEntryin interfaceSimpleMap<T>
-
-