|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.mg4j.index.AbstractPrefixMap
PrefixMap and related classes.
@Deprecated public abstract class AbstractPrefixMap
An abstract implementation of a map from prefixes to term intervals.
Subclasses need just to implement PrefixMap.getInterval(CharSequence)
(and, optionally getPrefix(Interval)).
| Constructor Summary | |
|---|---|
AbstractPrefixMap()
Deprecated. |
|
| Method Summary | |
|---|---|
CharSequence |
getPrefix(Interval interval)
Deprecated. Returns the maximum prefix common to all terms in the given nonempty interval (optional operation). |
MutableString |
getPrefix(Interval interval,
MutableString prefix)
Deprecated. Writes in the given mutable string the maximum prefix common to all terms in the given nonempty interval (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.mg4j.index.PrefixMap |
|---|
getInterval, hasPrefixes, size |
| Constructor Detail |
|---|
public AbstractPrefixMap()
| Method Detail |
|---|
public CharSequence getPrefix(Interval interval)
PrefixMap
getPrefix in interface PrefixMapinterval - an interval.
public MutableString getPrefix(Interval interval,
MutableString prefix)
PrefixMap
getPrefix in interface PrefixMapinterval - an interval.prefix - a mutable string that will be filled with the maximum prefix common to all terms in the given nonempty interval.
prefix.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||