Package | Description |
---|---|
it.unimi.dsi.util |
Modifier and Type | Field and Description |
---|---|
static Interval[] |
Intervals.EMPTY_ARRAY |
static Interval |
Intervals.EMPTY_INTERVAL
An empty (singleton) interval.
|
static Interval |
Intervals.MINUS_INFINITY
A singleton located at −&infty;.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Interval> |
Intervals.ENDS_AFTER
A comparator between intervals defined as follows:
[a..b] is less than [a'..b']
iff the first interval ends after the second one, that is,
iff b' < b.
|
static Comparator<Interval> |
Intervals.ENDS_BEFORE
A comparator between intervals defined as follows:
[a..b] is less than [a'..b']
iff the first interval ends before the second one, that is,
iff b' > b.
|
static Comparator<Interval> |
Intervals.ENDS_BEFORE_OR_IS_SUFFIX
A comparator between intervals defined as follows:
[a..b] is less than [a'..b'] iff
the first interval ends before or is a suffix of the second one, that is,
iff b < b' or b=b' and a' < a.
|
static Comparator<Interval> |
Intervals.LENGTH_COMPARATOR
A comparator between intervals based on their length.
|
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> |
StringMaps.SynchronizedPrefixMap.prefixMap |
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,MutableString> |
AbstractPrefixMap.prefixMap |
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
StringMaps.SynchronizedPrefixMap.rangeMap |
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
AbstractPrefixMap.rangeMap |
static Comparator<Interval> |
Intervals.STARTS_AFTER
A comparator between intervals defined as follows:
[a..b] is less than [a'..b']
iff the first interval starts after the second one, that is,
iff a' < a.
|
static Comparator<Interval> |
Intervals.STARTS_BEFORE
A comparator between intervals defined as follows:
[a..b] is less than [a'..b']
iff the first interval starts before the second one, that is,
iff a' > a.
|
static Comparator<Interval> |
Intervals.STARTS_BEFORE_OR_PROLONGS
A comparator between intervals defined as follows:
[a..b] is less than [a'..b'] iff
the first interval starts before or prolongs the second one, that is,
iff a < a' or a=a' and b' < b.
|
Modifier and Type | Method and Description |
---|---|
Interval |
ImmutableBinaryTrie.getApproximatedInterval(it.unimi.dsi.fastutil.booleans.BooleanIterator iterator)
Returns an approximated prefix interval around the word returned by the specified iterator.
|
Interval |
TernaryIntervalSearchTree.getApproximatedInterval(CharSequence s) |
Interval |
ImmutableBinaryTrie.getApproximatedInterval(T element)
Returns an approximated interval around the specified word.
|
Interval |
ImmutableBinaryTrie.getInterval(BitVector word)
Returns an interval given by the smallest and the largest word in the trie starting with the specified word.
|
Interval |
ImmutableBinaryTrie.getInterval(it.unimi.dsi.fastutil.booleans.BooleanIterator iterator)
Returns an interval given by the smallest and the largest word in the trie starting with
the word returned by the given iterator.
|
protected abstract Interval |
AbstractPrefixMap.getInterval(CharSequence prefix)
Returns the range of strings having a given prefix.
|
Interval |
ImmutableExternalPrefixMap.getInterval(CharSequence prefix) |
protected Interval |
TernaryIntervalSearchTree.getInterval(CharSequence s) |
static Interval |
Interval.valueOf(int point)
Returns a one-point interval.
|
static Interval |
Interval.valueOf(int left,
int right)
Returns an interval with given extremes.
|
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> |
StringMaps.SynchronizedPrefixMap.prefixMap() |
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,MutableString> |
AbstractPrefixMap.prefixMap() |
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,S> |
PrefixMap.prefixMap()
Returns a function mapping ranges of strings to common prefixes (optional operation).
|
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
StringMaps.SynchronizedPrefixMap.rangeMap() |
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
AbstractPrefixMap.rangeMap() |
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<CharSequence,Interval> |
PrefixMap.rangeMap()
Returns a function mapping prefixes to ranges of strings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Interval.contains(Interval interval)
Checks whether this interval contains the specified interval.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.