Module org.apache.lucene.core
Package org.apache.lucene.analysis
Class CharArrayMap.UnmodifiableCharArrayMap<V>
java.lang.Object
java.util.AbstractMap<Object,V>
org.apache.lucene.analysis.CharArrayMap<V>
org.apache.lucene.analysis.CharArrayMap.UnmodifiableCharArrayMap<V>
- Direct Known Subclasses:
CharArrayMap.EmptyCharArrayMap
- Enclosing class:
CharArrayMap<V>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.CharArrayMap
CharArrayMap.EntryIterator, CharArrayMap.EntrySet, CharArrayMap.UnmodifiableCharArrayMap<V>Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields inherited from class org.apache.lucene.analysis.CharArrayMap
keys, values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all entries in this map.(package private) CharArrayMap<V>.EntrySetAdd the given mapping.put(CharSequence text, V val) Add the given mapping.Add the given mapping.Methods inherited from class org.apache.lucene.analysis.CharArrayMap
containsKey, containsKey, containsKey, copy, emptyMap, entrySet, get, get, get, keySet, originalKeySet, size, toString, unmodifiableMapMethods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, putAll, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
UnmodifiableCharArrayMap
UnmodifiableCharArrayMap(CharArrayMap<V> map)
-
-
Method Details
-
clear
public void clear()Description copied from class:CharArrayMapClears all entries in this map. This method is supported for reusing, but notMap.remove(java.lang.Object). -
put
-
put
Description copied from class:CharArrayMapAdd the given mapping. If ignoreCase is true for this Set, the text array will be directly modified. The user should never modify this text array after calling this method.- Overrides:
putin classCharArrayMap<V>
-
put
Description copied from class:CharArrayMapAdd the given mapping.- Overrides:
putin classCharArrayMap<V>
-
put
Description copied from class:CharArrayMapAdd the given mapping.- Overrides:
putin classCharArrayMap<V>
-
remove
-
createEntrySet
CharArrayMap<V>.EntrySet createEntrySet()- Overrides:
createEntrySetin classCharArrayMap<V>
-