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 it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> |
prefixMap |
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
rangeMap |
list, stringMap
Constructor and Description |
---|
StringMaps.SynchronizedPrefixMap(PrefixMap<S> map) |
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> |
prefixMap()
Returns a function mapping ranges of strings to common prefixes (optional operation).
|
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
rangeMap()
Returns a function mapping prefixes to ranges of strings.
|
clear, containsKey, defaultReturnValue, defaultReturnValue, get, getLong, list, put, put, remove, removeLong, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final PrefixMap<S extends CharSequence> map
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S extends CharSequence> prefixMap
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> rangeMap
public it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> prefixMap()
PrefixMap
prefixMap
in interface PrefixMap<S extends CharSequence>
null
if this
map does not support prefixes.public it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> rangeMap()
PrefixMap
rangeMap
in interface PrefixMap<S extends CharSequence>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.