protected static class StringMaps.PrefixMapWrapper<T extends CharSequence> extends StringMaps.StringMapWrapper<T> implements PrefixMap<T>
defRetValue
Constructor and Description |
---|
StringMaps.PrefixMapWrapper(PrefixMap<T> prefixMap) |
Modifier and Type | Method and Description |
---|---|
Object2ObjectFunction<LongInterval,T> |
prefixMap()
Returns a function mapping ranges of strings to common prefixes (optional operation).
|
Object2ObjectFunction<CharSequence,LongInterval> |
rangeMap()
Returns a function mapping prefixes to ranges of strings.
|
containsKey, getLong, list, size, size64
clear, defaultReturnValue, defaultReturnValue, get, put, put, remove, removeLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultReturnValue, defaultReturnValue, getLong, put, removeLong
public Object2ObjectFunction<CharSequence,LongInterval> rangeMap()
PrefixMap
rangeMap
in interface PrefixMap<T extends CharSequence>
public Object2ObjectFunction<LongInterval,T> prefixMap()
PrefixMap
prefixMap
in interface PrefixMap<T extends CharSequence>
null
if this
map does not support prefixes.