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, remove
copy, emptyMap, entrySet, keySet, originalKeySet, size, toString, unmodifiableMap
clone, containsValue, equals, hashCode, isEmpty, putAll, values
public boolean containsKey(char[] text, int off, int len)
CharArrayMap
containsKey
in class CharArrayMap<V>
public boolean containsKey(java.lang.CharSequence cs)
CharArrayMap
CharSequence
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)
CharArrayMap
len
chars of text
starting at off
get
in class CharArrayMap<V>
public V get(java.lang.CharSequence cs)
CharArrayMap
CharSequence
get
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>