protected static class StringMaps.StringMapWrapper<T extends CharSequence> extends AbstractObject2LongFunction<CharSequence> implements StringMap<T>
defRetValue
Constructor and Description |
---|
StringMaps.StringMapWrapper(StringMap<T> stringMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
long |
getLong(Object key) |
ObjectBigList<? extends T> |
list()
Returns a list view of the domain of this string map (optional operation).
|
int |
size() |
long |
size64() |
clear, defaultReturnValue, defaultReturnValue, get, put, put, remove, removeLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultReturnValue, defaultReturnValue, put, removeLong
public long getLong(Object key)
getLong
in interface Object2LongFunction<CharSequence>
public boolean containsKey(Object key)
containsKey
in interface Function<CharSequence,Long>
public int size()
public ObjectBigList<? extends T> list()
StringMap
Note that the list view acts as an inverse of the mapping implemented by this map.
list
in interface StringMap<T extends CharSequence>
null
if this map does
not support this operation.