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 TypeMethodDescriptionvoid
clear()
Clears all entries in this map.(package private) CharArrayMap<V>.EntrySet
Add 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, unmodifiableMap
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, putAll, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:CharArrayMap
Clears all entries in this map. This method is supported for reusing, but notMap.remove(java.lang.Object)
. -
put
-
put
Description copied from class:CharArrayMap
Add 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:
put
in classCharArrayMap<V>
-
put
Description copied from class:CharArrayMap
Add the given mapping.- Overrides:
put
in classCharArrayMap<V>
-
put
Description copied from class:CharArrayMap
Add the given mapping.- Overrides:
put
in classCharArrayMap<V>
-
remove
-
createEntrySet
CharArrayMap<V>.EntrySet createEntrySet()- Overrides:
createEntrySet
in classCharArrayMap<V>
-