private static final class CharArrayMap.EmptyCharArrayMap<V> extends CharArrayMap.UnmodifiableCharArrayMap<V>
CharArrayMap.UnmodifiableCharArrayMap optimized for speed.
Contains checks will always return false or throw
NPE if necessary.CharArrayMap.EntryIterator, CharArrayMap.EntrySet, CharArrayMap.UnmodifiableCharArrayMap<V>keys, values| Constructor and Description |
|---|
EmptyCharArrayMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(char[] text,
int off,
int len)
|
boolean |
containsKey(java.lang.CharSequence cs)
true if the
CharSequence is in the CharArrayMap.keySet() |
boolean |
containsKey(java.lang.Object o) |
V |
get(char[] text,
int off,
int len)
returns the value of the mapping of
len chars of text
starting at off |
V |
get(java.lang.CharSequence cs)
returns the value of the mapping of the chars inside this
CharSequence |
V |
get(java.lang.Object o) |
clear, createEntrySet, put, put, put, put, removecopy, emptyMap, entrySet, keySet, originalKeySet, size, toString, unmodifiableMapclone, containsValue, equals, hashCode, isEmpty, putAll, valuespublic boolean containsKey(char[] text,
int off,
int len)
CharArrayMapcontainsKey in class CharArrayMap<V>public boolean containsKey(java.lang.CharSequence cs)
CharArrayMapCharSequence is in the CharArrayMap.keySet()containsKey in class CharArrayMap<V>public boolean containsKey(java.lang.Object o)
containsKey in interface java.util.Map<java.lang.Object,V>containsKey in class CharArrayMap<V>public V get(char[] text, int off, int len)
CharArrayMaplen chars of text
starting at offget in class CharArrayMap<V>public V get(java.lang.CharSequence cs)
CharArrayMapCharSequenceget in class CharArrayMap<V>public V get(java.lang.Object o)
get in interface java.util.Map<java.lang.Object,V>get in class CharArrayMap<V>