Skip navigation links
A B C D E F G H I L N P Q R S V W 

A

AbstractAutomaton - Class in com.miguelfonseca.completely.text.match
Skeletal implementation of the Automaton interface.
AbstractAutomaton(String, String) - Constructor for class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
AbstractIndex<V> - Class in com.miguelfonseca.completely.text.index
Skeletal implementation of the Index interface.
AbstractIndex() - Constructor for class com.miguelfonseca.completely.text.index.AbstractIndex
 
add(ScoredObject<T>) - Method in class com.miguelfonseca.completely.Aggregator
Adds a single element, if not present already.
add(T) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Indexes a single element.
add(E) - Method in class com.miguelfonseca.completely.util.ArraySet
 
addAll(Collection<ScoredObject<T>>) - Method in class com.miguelfonseca.completely.Aggregator
Adds a collection of elements, if not present already.
addAll(Collection<T>) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Indexes a collection of elements.
addAll(Collection<? extends E>) - Method in class com.miguelfonseca.completely.util.ArraySet
 
Aggregator<T> - Class in com.miguelfonseca.completely
Aggregator to collect, merge and transform ScoredObject elements.
Aggregator() - Constructor for class com.miguelfonseca.completely.Aggregator
Constructs a new Aggregator.
Aggregator(Comparator<ScoredObject<T>>) - Constructor for class com.miguelfonseca.completely.Aggregator
Constructs a new Aggregator.
Analyzer - Class in com.miguelfonseca.completely.text.analyze
Text function.
Analyzer() - Constructor for class com.miguelfonseca.completely.text.analyze.Analyzer
 
apply(String...) - Method in class com.miguelfonseca.completely.text.analyze.Analyzer
Applies the function.
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.Analyzer
Applies the function.
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.ChainedAnalyzer
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.filter.LengthFilter
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.filter.NullFilter
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.tokenize.QGramTokenizer
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.tokenize.WordTokenizer
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.transform.DiacriticsTransformer
 
apply(Collection<String>) - Method in class com.miguelfonseca.completely.text.analyze.transform.LowerCaseTransformer
 
array - Variable in class com.miguelfonseca.completely.util.ArraySet
 
ArraySet<E> - Class in com.miguelfonseca.completely.util
Array based implementation of the Set interface.
ArraySet() - Constructor for class com.miguelfonseca.completely.util.ArraySet
Constructs a new ArraySet.
AutocompleteEngine<T extends Indexable> - Class in com.miguelfonseca.completely
Facade for indexing and searching Indexable elements.
AutocompleteEngine.Builder<T extends Indexable> - Class in com.miguelfonseca.completely
Builder for constructing AutocompleteEngine instances.
Automaton - Interface in com.miguelfonseca.completely.text.match
Stateful text matching engine.

B

build() - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Returns a new AutocompleteEngine parameterized according to the builder.
Builder() - Constructor for class com.miguelfonseca.completely.AutocompleteEngine.Builder
Constructs a new AutocompleteEngine.Builder.

C

ChainedAnalyzer - Class in com.miguelfonseca.completely.text.analyze
Chain of multiple Analyzer functions.
ChainedAnalyzer(Analyzer...) - Constructor for class com.miguelfonseca.completely.text.analyze.ChainedAnalyzer
Constructs a new ChainedAnalyzer.
checkArgument(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkArgument(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkArithmetic(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkArithmetic(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkElement(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkElement(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkIndex(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkIndex(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkPointer(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkPointer(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkState(boolean) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
checkState(boolean, String) - Static method in class com.miguelfonseca.completely.common.Precondition
Ensures the truth of an expression.
clear() - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
clear() - Method in interface com.miguelfonseca.completely.text.index.Index
Removes all key-value associations.
clear() - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
com.miguelfonseca.completely - package com.miguelfonseca.completely
 
com.miguelfonseca.completely.common - package com.miguelfonseca.completely.common
 
com.miguelfonseca.completely.data - package com.miguelfonseca.completely.data
 
com.miguelfonseca.completely.text.analyze - package com.miguelfonseca.completely.text.analyze
 
com.miguelfonseca.completely.text.analyze.filter - package com.miguelfonseca.completely.text.analyze.filter
 
com.miguelfonseca.completely.text.analyze.tokenize - package com.miguelfonseca.completely.text.analyze.tokenize
 
com.miguelfonseca.completely.text.analyze.transform - package com.miguelfonseca.completely.text.analyze.transform
 
com.miguelfonseca.completely.text.index - package com.miguelfonseca.completely.text.index
 
com.miguelfonseca.completely.text.match - package com.miguelfonseca.completely.text.match
 
com.miguelfonseca.completely.util - package com.miguelfonseca.completely.util
 
compareTo(ScoredObject) - Method in class com.miguelfonseca.completely.data.ScoredObject
 

D

DiacriticsTransformer - Class in com.miguelfonseca.completely.text.analyze.transform
Strip text diacritics.
DiacriticsTransformer() - Constructor for class com.miguelfonseca.completely.text.analyze.transform.DiacriticsTransformer
 

E

EditDistanceAutomaton - Class in com.miguelfonseca.completely.text.match
Nondeterministic automaton simulator that matches words within edit distance.
EditDistanceAutomaton(String, double) - Constructor for class com.miguelfonseca.completely.text.match.EditDistanceAutomaton
Constructs a new EditDistanceAutomaton.
EqualityAutomaton - Class in com.miguelfonseca.completely.text.match
Deterministic automaton simulator that matches equal words.
EqualityAutomaton(String) - Constructor for class com.miguelfonseca.completely.text.match.EqualityAutomaton
Constructs a new EqualityAutomaton.
equals(Object) - Method in class com.miguelfonseca.completely.data.ScoredObject
 

F

FuzzyIndex<V> - Interface in com.miguelfonseca.completely.text.index
Index with approximate key matching.

G

get(String) - Method in interface com.miguelfonseca.completely.IndexAdapter
Returns a Collection of all values associated with a token.
getAll(String) - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
getAll(String) - Method in interface com.miguelfonseca.completely.text.index.Index
Returns a Set of all values associated with a key.
getAll(String) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
getAny(String) - Method in interface com.miguelfonseca.completely.text.index.FuzzyIndex
Returns a Set of all values associated with a key fragment.
getAny(Automaton) - Method in interface com.miguelfonseca.completely.text.index.FuzzyIndex
Returns a Set of all values associated with a key matcher.
getAny(String) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
getAny(Automaton) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
getCommonPrefixLength(String, String) - Static method in class com.miguelfonseca.completely.common.Strings
Returns the longest common prefix length.
getFields() - Method in interface com.miguelfonseca.completely.data.Indexable
Returns a List of indexable fields.
getObject() - Method in class com.miguelfonseca.completely.data.ScoredObject
Returns the decorated object.
getPattern() - Method in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
getPattern() - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns the pattern.
getScore() - Method in class com.miguelfonseca.completely.data.ScoredObject
Returns the score.
getScore() - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns the word score.
getScore() - Method in class com.miguelfonseca.completely.text.match.EditDistanceAutomaton
 
getScore() - Method in class com.miguelfonseca.completely.text.match.EqualityAutomaton
 
getWord() - Method in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
getWord() - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns the word.

H

hashCode() - Method in class com.miguelfonseca.completely.data.ScoredObject
 
HashMultiMap<V> - Class in com.miguelfonseca.completely.text.index
Hashing based implementation of the Index interface.
HashMultiMap() - Constructor for class com.miguelfonseca.completely.text.index.HashMultiMap
Constructs a new HashMultiMap.

I

Index<V> - Interface in com.miguelfonseca.completely.text.index
Associative data structure that maps text keys to multiple values.
Indexable - Interface in com.miguelfonseca.completely.data
Unit of indexing and search.
IndexAdapter<T> - Interface in com.miguelfonseca.completely
Adapter for any index data structure.
isEmpty() - Method in class com.miguelfonseca.completely.Aggregator
Returns true if no elements exist.
isEmpty() - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
isEmpty() - Method in interface com.miguelfonseca.completely.text.index.Index
Returns true if no key-value associations exist.
isEmpty() - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
isWordAccepted() - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns true if the word is accepted.
isWordAccepted() - Method in class com.miguelfonseca.completely.text.match.EditDistanceAutomaton
 
isWordAccepted() - Method in class com.miguelfonseca.completely.text.match.EqualityAutomaton
 
isWordRejected() - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns true if the word is rejected.
isWordRejected() - Method in class com.miguelfonseca.completely.text.match.EditDistanceAutomaton
 
isWordRejected() - Method in class com.miguelfonseca.completely.text.match.EqualityAutomaton
 
iterator() - Method in class com.miguelfonseca.completely.util.ArraySet
 

L

LengthFilter - Class in com.miguelfonseca.completely.text.analyze.filter
Exclude text with length outside boundaries.
LengthFilter(int, int) - Constructor for class com.miguelfonseca.completely.text.analyze.filter.LengthFilter
Constructs a new LengthFilter.
LowerCaseTransformer - Class in com.miguelfonseca.completely.text.analyze.transform
Convert text into lowercase.
LowerCaseTransformer() - Constructor for class com.miguelfonseca.completely.text.analyze.transform.LowerCaseTransformer
Constructs a new LowerCaseTransformer.
LowerCaseTransformer(Locale) - Constructor for class com.miguelfonseca.completely.text.analyze.transform.LowerCaseTransformer
Constructs a new LowerCaseTransformer.

N

NullFilter - Class in com.miguelfonseca.completely.text.analyze.filter
Exclude null text.
NullFilter() - Constructor for class com.miguelfonseca.completely.text.analyze.filter.NullFilter
 

P

PatriciaTrie<V> - Class in com.miguelfonseca.completely.text.index
Trie based implementation of the FuzzyIndex interface.
PatriciaTrie() - Constructor for class com.miguelfonseca.completely.text.index.PatriciaTrie
Constructs a new PatriciaTrie.
pattern - Variable in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
patternLength - Variable in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
Precondition - Class in com.miguelfonseca.completely.common
Condition that must be true prior to a routine's execution.
put(String, T) - Method in interface com.miguelfonseca.completely.IndexAdapter
Associates a single value with a token.
put(String, V) - Method in class com.miguelfonseca.completely.text.index.AbstractIndex
 
put(String, V) - Method in interface com.miguelfonseca.completely.text.index.Index
Associates a single value with a key.
putAll(String, Collection<V>) - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
putAll(String, Collection<V>) - Method in interface com.miguelfonseca.completely.text.index.Index
Associates a collection of values with a key.
putAll(String, Collection<V>) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 

Q

QGramTokenizer - Class in com.miguelfonseca.completely.text.analyze.tokenize
Break text into q-grams (also known as n-grams).
QGramTokenizer(int) - Constructor for class com.miguelfonseca.completely.text.analyze.tokenize.QGramTokenizer
Constructs a new QGramTokenizer.

R

remove(T) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Removes a single element.
remove(T) - Method in interface com.miguelfonseca.completely.IndexAdapter
Removes a single value associated with any tokens.
remove(String, V) - Method in class com.miguelfonseca.completely.text.index.AbstractIndex
 
remove(V) - Method in class com.miguelfonseca.completely.text.index.AbstractIndex
 
remove(String, V) - Method in interface com.miguelfonseca.completely.text.index.Index
Removes a single value associated with a key.
remove(V) - Method in interface com.miguelfonseca.completely.text.index.Index
Removes a single value associated with any keys.
remove(Object) - Method in class com.miguelfonseca.completely.util.ArraySet
 
removeAll(Collection<T>) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Removes a collection of elements.
removeAll(Collection<V>) - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
removeAll(String) - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
removeAll(String, Collection<V>) - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
removeAll(Collection<V>) - Method in interface com.miguelfonseca.completely.text.index.Index
Removes a collection of values associated with any keys.
removeAll(String) - Method in interface com.miguelfonseca.completely.text.index.Index
Removes all values associated with a key.
removeAll(String, Collection<V>) - Method in interface com.miguelfonseca.completely.text.index.Index
Removes a collection of values associated with a key.
removeAll(Collection<V>) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
removeAll(String) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
removeAll(String, Collection<V>) - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
removeAll(Collection<?>) - Method in class com.miguelfonseca.completely.util.ArraySet
 
retain(ScoredObject<T>) - Method in class com.miguelfonseca.completely.Aggregator
Retain the elements in common, compared according to the objects scored.
retainAll(Collection<ScoredObject<T>>) - Method in class com.miguelfonseca.completely.Aggregator
Retains the elements in common, compared according to the objects scored.

S

ScoredObject<T> - Class in com.miguelfonseca.completely.data
Decorator for scoring any object.
ScoredObject(T, double) - Constructor for class com.miguelfonseca.completely.data.ScoredObject
Constructs a new ScoredObject.
search(String) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Returns a List of all elements that match a query, sorted according to the default comparator.
search(String, int) - Method in class com.miguelfonseca.completely.AutocompleteEngine
Returns a List of the top elements that match a query, sorted according to the default comparator.
setAnalyzer(Analyzer) - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Set the analyzer.
setAnalyzers(Analyzer...) - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Set the analyzer.
setComparator(Comparator<ScoredObject<T>>) - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Set the comparator.
setIndex(Index<T>) - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Set the index.
setIndex(IndexAdapter<T>) - Method in class com.miguelfonseca.completely.AutocompleteEngine.Builder
Set the index.
size() - Method in class com.miguelfonseca.completely.Aggregator
Returns the number of elements.
size() - Method in class com.miguelfonseca.completely.text.index.HashMultiMap
 
size() - Method in interface com.miguelfonseca.completely.text.index.Index
Returns the number of key-value associations.
size() - Method in class com.miguelfonseca.completely.text.index.PatriciaTrie
 
size() - Method in class com.miguelfonseca.completely.util.ArraySet
 
step(String) - Method in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
step(char) - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns a new automaton transitioned to another state.
step(String) - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns a new automaton transitioned to another state.
step(char) - Method in class com.miguelfonseca.completely.text.match.EditDistanceAutomaton
 
step(char) - Method in class com.miguelfonseca.completely.text.match.EqualityAutomaton
 
stepUntilWordAccepted(String) - Method in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
stepUntilWordAccepted(String) - Method in interface com.miguelfonseca.completely.text.match.Automaton
Returns a new automaton transitioned to another state.
Strings - Class in com.miguelfonseca.completely.common
Operations on String.

V

values() - Method in class com.miguelfonseca.completely.Aggregator
Returns a List of all objects scored, sorted according to the default comparator.

W

word - Variable in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
wordLength - Variable in class com.miguelfonseca.completely.text.match.AbstractAutomaton
 
WordTokenizer - Class in com.miguelfonseca.completely.text.analyze.tokenize
Break text into words.
WordTokenizer() - Constructor for class com.miguelfonseca.completely.text.analyze.tokenize.WordTokenizer
Constructs a new WordTokenizer.
A B C D E F G H I L N P Q R S V W 
Skip navigation links

Copyright © 2017. All rights reserved.