protected static class StringMaps.SynchronizedPrefixMap<S extends CharSequence> extends StringMaps.SynchronizedStringMap<S> implements PrefixMap<S>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected PrefixMap<S> |
map |
protected Object2ObjectFunction<LongInterval,S> |
prefixMap |
protected Object2ObjectFunction<CharSequence,LongInterval> |
rangeMap |
list, stringMap| Constructor and Description |
|---|
StringMaps.SynchronizedPrefixMap(PrefixMap<S> map) |
| Modifier and Type | Method and Description |
|---|---|
Object2ObjectFunction<LongInterval,S> |
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.
|
clear, containsKey, defaultReturnValue, defaultReturnValue, get, getLong, list, put, put, remove, removeLong, size, size64clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultReturnValue, defaultReturnValue, getLong, put, removeLongprotected final PrefixMap<S extends CharSequence> map
protected Object2ObjectFunction<LongInterval,S extends CharSequence> prefixMap
protected Object2ObjectFunction<CharSequence,LongInterval> rangeMap
public Object2ObjectFunction<LongInterval,S> prefixMap()
PrefixMapprefixMap in interface PrefixMap<S extends CharSequence>null if this
map does not support prefixes.public Object2ObjectFunction<CharSequence,LongInterval> rangeMap()
PrefixMaprangeMap in interface PrefixMap<S extends CharSequence>