Package | Description |
---|---|
com.miguelfonseca.completely | |
com.miguelfonseca.completely.data | |
com.miguelfonseca.completely.text.index |
Modifier and Type | Method and Description |
---|---|
Collection<ScoredObject<T>> |
IndexAdapter.get(String token)
Returns a
Collection of all values associated with a token. |
Modifier and Type | Method and Description |
---|---|
boolean |
Aggregator.add(ScoredObject<T> element)
Adds a single element, if not present already.
|
boolean |
Aggregator.retain(ScoredObject<T> element)
Retain the elements in common, compared according to the objects scored.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Aggregator.addAll(Collection<ScoredObject<T>> elements)
Adds a collection of elements, if not present already.
|
boolean |
Aggregator.retainAll(Collection<ScoredObject<T>> elements)
Retains the elements in common, compared according to the objects scored.
|
AutocompleteEngine.Builder<T> |
AutocompleteEngine.Builder.setComparator(Comparator<ScoredObject<T>> comparator)
Set the comparator.
|
Constructor and Description |
---|
Aggregator(Comparator<ScoredObject<T>> comparator)
Constructs a new
Aggregator . |
Modifier and Type | Method and Description |
---|---|
int |
ScoredObject.compareTo(ScoredObject other) |
Modifier and Type | Method and Description |
---|---|
Set<ScoredObject<V>> |
PatriciaTrie.getAny(Automaton matcher) |
Set<ScoredObject<V>> |
FuzzyIndex.getAny(Automaton matcher)
Returns a
Set of all values associated with a key matcher. |
Set<ScoredObject<V>> |
PatriciaTrie.getAny(String fragment) |
Set<ScoredObject<V>> |
FuzzyIndex.getAny(String fragment)
Returns a
Set of all values associated with a key fragment. |
Copyright © 2017. All rights reserved.