Index
All Classes and Interfaces|All Packages|Serialized Form
A
- acquireWriteLock() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
- add(CharSequence) - Method in class com.googlecode.concurrenttrees.solver.LCSubstringSolver
-
Adds a
CharSequencedocument to the solver. - AtomicReferenceArrayListAdapter<T> - Class in com.googlecode.concurrenttrees.radix.node.util
-
Wraps an
AtomicReferenceArrayto implement read-only methods of theListinterface. - AtomicReferenceArrayListAdapter(AtomicReferenceArray) - Constructor for class com.googlecode.concurrenttrees.radix.node.util.AtomicReferenceArrayListAdapter
B
- binarySearchForEdge(AtomicReferenceArray, Character) - Static method in class com.googlecode.concurrenttrees.radix.node.util.NodeUtil
-
Returns the index of the node in the given
AtomicReferenceArraywhose edge starts with the given first character. - ByteArrayCharSequence - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
A
CharSequenceview onto a byte array of UTF-8-encoded characters, with the proviso that all of the characters were encoded as a single byte in UTF-8. - ByteArrayCharSequence(byte[], int, int) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
- ByteArrayCharSequence.IncompatibleCharacterException - Exception Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
- ByteArrayNodeDefault - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeDefaultbut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeDefault(CharSequence, Object, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- ByteArrayNodeLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeLeafNullValuebut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeLeafNullValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- ByteArrayNodeLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeLeafVoidValuebut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeLeafVoidValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- ByteArrayNodeLeafWithValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeLeafWithValuebut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeLeafWithValue(CharSequence, Object) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- ByteArrayNodeNonLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeNonLeafNullValuebut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeNonLeafNullValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- ByteArrayNodeNonLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.bytearray
-
Similar to
CharArrayNodeNonLeafVoidValuebut represents each character in UTF-8, instead of Java's default 2-byte UFT-16 encoding. - ByteArrayNodeNonLeafVoidValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
C
- CharArrayNodeDefault - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
A non-optimized implementation of the
Nodeinterface. - CharArrayNodeDefault(CharSequence, Object, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- CharArrayNodeLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
Stores only incoming edge as a
char[]. - CharArrayNodeLeafNullValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- CharArrayNodeLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
Stores only incoming edge as a
char[]. - CharArrayNodeLeafVoidValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- CharArrayNodeLeafWithValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
Stores only incoming edge as a
char[], and a reference to a value. - CharArrayNodeLeafWithValue(CharSequence, Object) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- CharArrayNodeNonLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
Stores incoming edge as a
char[]and outgoing edges as anAtomicReferenceArray. - CharArrayNodeNonLeafNullValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- CharArrayNodeNonLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.chararray
-
Stores incoming edge as a
char[]and outgoing edges as anAtomicReferenceArray. - CharArrayNodeNonLeafVoidValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- charAt(int) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
- CharSequenceNodeDefault - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
A implementation of the
Nodeinterface which stores the incoming edge as aCharSequence(a view onto the original key) rather than copying the edge into a character array. - CharSequenceNodeDefault(CharSequence, Object, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- CharSequenceNodeLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
Stores only incoming edge as a
CharSequence(a view onto the original key) rather than copying the edge into a character array. - CharSequenceNodeLeafNullValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- CharSequenceNodeLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
Stores only incoming edge as a
CharSequence(a view onto the original key) rather than copying the edge into a character array. - CharSequenceNodeLeafVoidValue(CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- CharSequenceNodeLeafWithValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
Stores incoming edge as a
CharSequence(a view onto the original key) rather than copying the edge into a character array. - CharSequenceNodeLeafWithValue(CharSequence, Object) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- CharSequenceNodeNonLeafNullValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
Stores incoming edge as a
CharSequence(a view onto the original key) rather than copying the edge into a character array, and stores outgoing edges as anAtomicReferenceArray. - CharSequenceNodeNonLeafNullValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- CharSequenceNodeNonLeafVoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.charsequence
-
Stores incoming edge as a
CharSequence(a view onto the original key) rather than copying the edge into a character array, and stores outgoing edges as anAtomicReferenceArray. - CharSequenceNodeNonLeafVoidValue(CharSequence, List) - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- CharSequences - Class in com.googlecode.concurrenttrees.common
- com.googlecode.concurrenttrees.common - package com.googlecode.concurrenttrees.common
- com.googlecode.concurrenttrees.radix - package com.googlecode.concurrenttrees.radix
- com.googlecode.concurrenttrees.radix.node - package com.googlecode.concurrenttrees.radix.node
- com.googlecode.concurrenttrees.radix.node.concrete - package com.googlecode.concurrenttrees.radix.node.concrete
- com.googlecode.concurrenttrees.radix.node.concrete.bytearray - package com.googlecode.concurrenttrees.radix.node.concrete.bytearray
- com.googlecode.concurrenttrees.radix.node.concrete.chararray - package com.googlecode.concurrenttrees.radix.node.concrete.chararray
- com.googlecode.concurrenttrees.radix.node.concrete.charsequence - package com.googlecode.concurrenttrees.radix.node.concrete.charsequence
- com.googlecode.concurrenttrees.radix.node.concrete.voidvalue - package com.googlecode.concurrenttrees.radix.node.concrete.voidvalue
- com.googlecode.concurrenttrees.radix.node.util - package com.googlecode.concurrenttrees.radix.node.util
- com.googlecode.concurrenttrees.radixinverted - package com.googlecode.concurrenttrees.radixinverted
- com.googlecode.concurrenttrees.radixreversed - package com.googlecode.concurrenttrees.radixreversed
- com.googlecode.concurrenttrees.solver - package com.googlecode.concurrenttrees.solver
- com.googlecode.concurrenttrees.suffix - package com.googlecode.concurrenttrees.suffix
- compare(NodeCharacterProvider, NodeCharacterProvider) - Method in class com.googlecode.concurrenttrees.radix.node.util.NodeCharacterComparator
- computeNext() - Method in class com.googlecode.concurrenttrees.common.LazyIterator
- concatenate(CharSequence, CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- ConcurrentInvertedRadixTree<O> - Class in com.googlecode.concurrenttrees.radixinverted
-
An implementation of
InvertedRadixTreewhich supports lock-free concurrent reads, and allows items to be added to and to be removed from the tree atomically by background thread(s), without blocking reads. - ConcurrentInvertedRadixTree(NodeFactory) - Constructor for class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Creates a new
ConcurrentInvertedRadixTreewhich will use the givenNodeFactoryto create nodes. - ConcurrentRadixTree<O> - Class in com.googlecode.concurrenttrees.radix
-
An implementation of
RadixTreewhich supports lock-free concurrent reads, and allows items to be added to and to be removed from the tree atomically by background thread(s), without blocking reads. - ConcurrentRadixTree(NodeFactory) - Constructor for class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Creates a new
ConcurrentRadixTreewhich will use the givenNodeFactoryto create nodes. - ConcurrentRadixTree.KeyValuePairImpl<O> - Class in com.googlecode.concurrenttrees.radix
-
Implementation of the
KeyValuePairinterface. - ConcurrentRadixTree.NodeKeyPair - Class in com.googlecode.concurrenttrees.radix
-
Encapsulates a node and its associated key.
- ConcurrentReversedRadixTree<O> - Class in com.googlecode.concurrenttrees.radixreversed
-
An implementation of
ReversedRadixTreewhich supports lock-free concurrent reads, and allows items to be added to and to be removed from the tree atomically by background thread(s), without blocking reads. - ConcurrentReversedRadixTree(NodeFactory) - Constructor for class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Creates a new
ConcurrentReversedRadixTreewhich will use the givenNodeFactoryto create nodes. - ConcurrentSuffixTree<O> - Class in com.googlecode.concurrenttrees.suffix
-
An implementation of
SuffixTreewhich supports lock-free concurrent reads, and allows items to be added to and to be removed from the tree atomically by background thread(s), without blocking reads. - ConcurrentSuffixTree(NodeFactory) - Constructor for class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Creates a new
ConcurrentSuffixTreewhich will use the givenNodeFactoryto create nodes. - count(Iterable) - Static method in class com.googlecode.concurrenttrees.common.Iterables
-
Counts the number of elements returned by the given
Iterable. - createNode(CharSequence, Object, List, boolean) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.DefaultByteArrayNodeFactory
- createNode(CharSequence, Object, List, boolean) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.DefaultCharArrayNodeFactory
- createNode(CharSequence, Object, List, boolean) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.DefaultCharSequenceNodeFactory
- createNode(CharSequence, Object, List, boolean) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.SmartArrayBasedNodeFactory
- createNode(CharSequence, Object, List, boolean) - Method in interface com.googlecode.concurrenttrees.radix.node.NodeFactory
- createSetForOriginalKeys() - Method in class com.googlecode.concurrenttrees.solver.LCSubstringSolver
- createSetForOriginalKeys() - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Creates a new
Setin which original keys from which a suffix was generated can be stored.
D
- DefaultByteArrayNodeFactory - Class in com.googlecode.concurrenttrees.radix.node.concrete
-
A
NodeFactorywhich createsNodeobjects which store incoming edge characters as a byte array inside the node. - DefaultByteArrayNodeFactory() - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.DefaultByteArrayNodeFactory
- DefaultCharArrayNodeFactory - Class in com.googlecode.concurrenttrees.radix.node.concrete
-
A
NodeFactorywhich creates various implementations ofNodeobjects all of which store incoming edge characters as a character array inside the node. - DefaultCharArrayNodeFactory() - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.DefaultCharArrayNodeFactory
- DefaultCharSequenceNodeFactory - Class in com.googlecode.concurrenttrees.radix.node.concrete
-
A
NodeFactorywhich creates various implementations ofNodeobjects all of which store incoming edge characters as aCharSequence(a view onto the original key) rather than copying the edge into a character array. - DefaultCharSequenceNodeFactory() - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.DefaultCharSequenceNodeFactory
E
- endOfData() - Method in class com.googlecode.concurrenttrees.common.LazyIterator
- ensureNoDuplicateEdges(List) - Static method in class com.googlecode.concurrenttrees.radix.node.util.NodeUtil
-
Throws an exception if any nodes in the given list represent edges having the same first character.
- equals(Object) - Method in interface com.googlecode.concurrenttrees.common.KeyValuePair
-
Compares this
KeyValuePairobject with another for equality. - equals(Object) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Compares this
KeyValuePairobject with another for equality. - equals(Object) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.voidvalue.VoidValue
F
- fromCharArray(char[]) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
-
Returns a
CharSequencewhich wraps the givenchar[].
G
- generatePrefixes(CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- generateSuffixes(CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- get(int) - Method in class com.googlecode.concurrenttrees.radix.node.util.AtomicReferenceArrayListAdapter
- getClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which are the closest match for the given candidate key.
- getClosestKeys(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which are the closest match for the given candidate key.
- getClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which are the closest match for the given candidate key.
- getCommonPrefix(CharSequence, CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- getIncomingEdge() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- getIncomingEdge() - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Returns all characters of the "edge" encoded in this node, belonging to the connection from a parent node to this node.
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- getIncomingEdgeFirstCharacter() - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Returns the first character of the "edge" encoded in this node, belonging to the connection from a parent node to this node.
- getIncomingEdgeFirstCharacter() - Method in class com.googlecode.concurrenttrees.radix.node.util.NodeCharacterKey
- getIncomingEdgeFirstCharacter() - Method in interface com.googlecode.concurrenttrees.radix.node.util.NodeCharacterProvider
- getKey() - Method in interface com.googlecode.concurrenttrees.common.KeyValuePair
-
Returns the key with which the value is associated
- getKey() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Returns the key with which the value is associated
- getKeysContainedIn(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which are contained in the given document.
- getKeysContainedIn(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which are contained in the given document.
- getKeysContaining(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of keys in the tree which contain the given fragment.
- getKeysContaining(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of keys in the tree which contain the given fragment.
- getKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which end with the given suffix.
- getKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which end with the given suffix.
- getKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of keys in the tree which end with the given suffix.
- getKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of keys in the tree which end with the given suffix.
- getKeysPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which prefix the given document.
- getKeysPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which prefix the given document.
- getKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which start with the given prefix.
- getKeysStartingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which start with the given prefix.
- getKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of keys in the tree which start with the given prefix.
- getKeyValuePairForLongestKeyPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns the
KeyValuePairfor the longest key in the tree which is a prefix of the given document. - getKeyValuePairForLongestKeyPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns the
KeyValuePairfor the longest key in the tree which is a prefix of the given document. - getKeyValuePairsForClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree which are the closest match for the given candidate key. - getKeyValuePairsForClosestKeys(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree which are the closest match for the given candidate key. - getKeyValuePairsForClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree which are the closest match for the given candidate key. - getKeyValuePairsForKeysContainedIn(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys in the tree which are contained in the given document. - getKeyValuePairsForKeysContainedIn(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys in the tree which are contained in the given document. - getKeyValuePairsForKeysContaining(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys contain the given fragment. - getKeyValuePairsForKeysContaining(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys contain the given fragment. - getKeyValuePairsForKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys end with the given suffix. - getKeyValuePairsForKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys end with the given suffix. - getKeyValuePairsForKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys end with the given suffix. - getKeyValuePairsForKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys end with the given suffix. - getKeyValuePairsForKeysPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys in the tree which prefix the given document. - getKeyValuePairsForKeysPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys in the tree which prefix the given document. - getKeyValuePairsForKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys start with the given prefix. - getKeyValuePairsForKeysStartingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys start with the given prefix. - getKeyValuePairsForKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of
KeyValuePairs for keys and their associated values in the tree, where the keys start with the given prefix. - getLongestCommonSubstring() - Method in class com.googlecode.concurrenttrees.solver.LCSubstringSolver
-
Finds the longest common substring in the documents added to the solver so far.
- getLongestKeyPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns the longest key in the tree which is a prefix of the given document.
- getLongestKeyPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns the longest key in the tree which is a prefix of the given document.
- getNode() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
- getNode() - Method in interface com.googlecode.concurrenttrees.radix.node.util.PrettyPrintable
- getNode() - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
- getNode() - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
- getNode() - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- getOutgoingEdge(Character) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- getOutgoingEdge(Character) - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Returns the child of this node whose edge starts with the given first character.
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- getOutgoingEdges() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- getOutgoingEdges() - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Returns a read-only list of the child nodes to which this node has outgoing edges, i.e. child nodes which have incoming edges from this node.
- getPrefix(CharSequence, int) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- getSuffix(CharSequence, int) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- getValue() - Method in interface com.googlecode.concurrenttrees.common.KeyValuePair
-
Returns the value associated with the key
- getValue() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Returns the value associated with the key
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- getValue() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- getValue() - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Returns a value object which has been associated with a key and which is stored in this node, or returns
nullif no value is stored in this node. - getValueForExactKey(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForExactKey(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns the value associated with the given key (exact match), or returns null if no such value is associated with the key.
- getValueForLongestKeyPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns the value associated with the longest key in the tree which is a prefix of the given document.
- getValueForLongestKeyPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns the value associated with the longest key in the tree which is a prefix of the given document.
- getValuesForClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which are the closest match for the given candidate key.
- getValuesForClosestKeys(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which are the closest match for the given candidate key.
- getValuesForClosestKeys(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which are the closest match for the given candidate key.
- getValuesForKeysContainedIn(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which are contained in the given document.
- getValuesForKeysContainedIn(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which are contained in the given document.
- getValuesForKeysContaining(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which contain the given fragment.
- getValuesForKeysContaining(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which contain the given fragment.
- getValuesForKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which end with the given suffix.
- getValuesForKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which end with the given suffix.
- getValuesForKeysEndingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which end with the given suffix.
- getValuesForKeysEndingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which end with the given suffix.
- getValuesForKeysPrefixing(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which prefix the given document.
- getValuesForKeysPrefixing(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which prefix the given document.
- getValuesForKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which start with the given prefix.
- getValuesForKeysStartingWith(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which start with the given prefix.
- getValuesForKeysStartingWith(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Returns a lazy iterable which returns the set of values associated with keys in the tree which start with the given prefix.
H
- hashCode() - Method in interface com.googlecode.concurrenttrees.common.KeyValuePair
-
Returns a hash code for this object.
- hashCode() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Returns a hash code for this object.
- hashCode() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.voidvalue.VoidValue
- hasNext() - Method in class com.googlecode.concurrenttrees.common.LazyIterator
I
- IncompatibleCharacterException(String) - Constructor for exception class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence.IncompatibleCharacterException
- InvertedRadixTree<O> - Interface in com.googlecode.concurrenttrees.radixinverted
-
API of an inverted radix tree, that is a radix tree which is set up to scan external documents for keys previously added to the tree, rather than for data contained in the tree itself.
- Iterables - Class in com.googlecode.concurrenttrees.common
K
- key - Variable in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.NodeKeyPair
- KeyValuePair<O> - Interface in com.googlecode.concurrenttrees.common
-
Encapsulates a key and a value.
- KeyValuePairImpl(String, Object) - Constructor for class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Constructor.
L
- LazyIterator<T> - Class in com.googlecode.concurrenttrees.common
-
An unmodifiable iterator which computes the next element to return only when it is requested.
- LazyIterator() - Constructor for class com.googlecode.concurrenttrees.common.LazyIterator
- lazyTraverseDescendants(CharSequence, Node) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Traverses the tree using depth-first, preordered traversal, starting at the given node, using lazy evaluation such that the next node is only determined when next() is called on the iterator returned.
- LCSubstringSolver - Class in com.googlecode.concurrenttrees.solver
-
Finds the longest common substring in a collection of documents.
- LCSubstringSolver(NodeFactory) - Constructor for class com.googlecode.concurrenttrees.solver.LCSubstringSolver
-
Creates a new
LCSubstringSolverwhich will use the givenNodeFactoryto create nodes. - length() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
N
- next() - Method in class com.googlecode.concurrenttrees.common.LazyIterator
- node - Variable in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.NodeKeyPair
- Node - Interface in com.googlecode.concurrenttrees.radix.node
-
Specifies the methods that nodes must implement.
- NodeCharacterComparator - Class in com.googlecode.concurrenttrees.radix.node.util
-
Specifies binary search compatibility, and sorting compatibility, of nodes based on
Node.getIncomingEdgeFirstCharacter(). - NodeCharacterComparator() - Constructor for class com.googlecode.concurrenttrees.radix.node.util.NodeCharacterComparator
- NodeCharacterKey - Class in com.googlecode.concurrenttrees.radix.node.util
-
A lightweight object which simply wraps a
Characterand implementsNodeCharacterProvider, which can be used as a key to locate a node having the same edge first character in a list of nodes using binary search. - NodeCharacterKey(Character) - Constructor for class com.googlecode.concurrenttrees.radix.node.util.NodeCharacterKey
- NodeCharacterProvider - Interface in com.googlecode.concurrenttrees.radix.node.util
-
A super-interface of both
NodeandNodeCharacterKeywhich, by sharing this common interface, enables binary search of nodes viaCollections.binarySearch(java.util.List, Object, java.util.Comparator). - NodeFactory - Interface in com.googlecode.concurrenttrees.radix.node
-
An interface for a factory which creates new
Nodeobjects on demand, to encapsulate specified variables. - NodeKeyPair(Node, CharSequence) - Constructor for class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.NodeKeyPair
- NodeUtil - Class in com.googlecode.concurrenttrees.radix.node.util
-
Static utility methods useful when implementing
Nodes.
P
- prettyPrint(PrettyPrintable) - Static method in class com.googlecode.concurrenttrees.common.PrettyPrinter
-
Generates a semi-graphical string representation of a given tree.
- prettyPrint(PrettyPrintable, Appendable) - Static method in class com.googlecode.concurrenttrees.common.PrettyPrinter
-
Generates a semi-graphical string representation of a given tree, writing it to a given
Appendable. - PrettyPrintable - Interface in com.googlecode.concurrenttrees.radix.node.util
-
An internal interface implemented by trees, which allows internal details of trees to be accessed by
PrettyPrinter. - PrettyPrinter - Class in com.googlecode.concurrenttrees.common
-
Utility methods to generate semi-graphical string representations of trees.
- put(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- put(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Associates the given value with the given key; replacing any previous value associated with the key.
- putIfAbsent(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
- putIfAbsent(CharSequence, O) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
If a value is not already associated with the given key in the tree, associates the given value with the key; otherwise if an existing value is already associated, returns the existing value and does not overwrite it.
R
- RadixTree<O> - Interface in com.googlecode.concurrenttrees.radix
-
API of a radix tree, that is a tree which allows values to be looked up based on prefixes of the keys with which they were associated, as well as based on exact matches for keys.
- releaseWriteLock() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
- remove() - Method in class com.googlecode.concurrenttrees.common.LazyIterator
- remove(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Removes the value associated with the given key (exact match).
- remove(CharSequence) - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Removes the value associated with the given key (exact match).
- reverse(CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- ReversedRadixTree<O> - Interface in com.googlecode.concurrenttrees.radixreversed
-
API of a reversed radix tree, that is a tree which allows values to be looked up based on suffixes of the keys with which they were associated, as well as based on exact matches for keys.
- root - Variable in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
S
- SINGLETON - Static variable in class com.googlecode.concurrenttrees.radix.node.concrete.voidvalue.VoidValue
- size() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in class com.googlecode.concurrenttrees.radix.node.util.AtomicReferenceArrayListAdapter
- size() - Method in interface com.googlecode.concurrenttrees.radix.RadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in class com.googlecode.concurrenttrees.radixinverted.ConcurrentInvertedRadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in interface com.googlecode.concurrenttrees.radixinverted.InvertedRadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in class com.googlecode.concurrenttrees.radixreversed.ConcurrentReversedRadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in interface com.googlecode.concurrenttrees.radixreversed.ReversedRadixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in class com.googlecode.concurrenttrees.suffix.ConcurrentSuffixTree
-
Counts the number of keys/values stored in the tree.
- size() - Method in interface com.googlecode.concurrenttrees.suffix.SuffixTree
-
Counts the number of keys/values stored in the tree.
- SmartArrayBasedNodeFactory - Class in com.googlecode.concurrenttrees.radix.node.concrete
-
A
NodeFactorywhich internally usesDefaultByteArrayNodeFactoryto create nodes by default (which can reduce memory overhead), but falls back toDefaultCharArrayNodeFactoryif characters are detected which cannot be represented as a single byte. - SmartArrayBasedNodeFactory() - Constructor for class com.googlecode.concurrenttrees.radix.node.concrete.SmartArrayBasedNodeFactory
- subSequence(int, int) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
- subtractPrefix(CharSequence, CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- SuffixTree<O> - Interface in com.googlecode.concurrenttrees.suffix
-
API of a generalized suffix tree, that is a tree which allows values to be looked up based on any suffix of the keys with which they were associated, as well as based on exact matches for keys.
T
- toCharArray(CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
-
Copies the given
CharSequenceinto a newchar[]. - toList(Iterable) - Static method in class com.googlecode.concurrenttrees.common.Iterables
- toSet(Iterable) - Static method in class com.googlecode.concurrenttrees.common.Iterables
- toSingleByteUtf8Encoding(CharSequence) - Static method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
-
Encodes a given
CharSequenceinto abyte[]in UTF-8 encoding, with the requirement that it must be possible to represent all characters as a single byte in UTF-8. - toString() - Method in interface com.googlecode.concurrenttrees.common.KeyValuePair
-
Returns a string representation as
(key, value). - toString() - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.KeyValuePairImpl
-
Returns a string representation as
(key, value). - toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- toString() - Method in class com.googlecode.concurrenttrees.radix.node.concrete.voidvalue.VoidValue
- toString(CharSequence) - Static method in class com.googlecode.concurrenttrees.common.CharSequences
- toString(Iterable) - Static method in class com.googlecode.concurrenttrees.common.Iterables
-
Returns a string representation of elements returned by the given
Iterable. - transformKeyForResult(CharSequence) - Method in class com.googlecode.concurrenttrees.radix.ConcurrentRadixTree
-
A hook method which may be overridden by subclasses, to transform a key just before it is returned to the application, for example by the
ConcurrentRadixTree.getKeysStartingWith(CharSequence)or theConcurrentRadixTree.getKeyValuePairsForKeysStartingWith(CharSequence)methods.
U
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeDefault
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafVoidValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeLeafWithValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayNodeNonLeafVoidValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeDefault
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafVoidValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeLeafWithValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.chararray.CharArrayNodeNonLeafVoidValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeDefault
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafVoidValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeLeafWithValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafNullValue
- updateOutgoingEdge(Node) - Method in class com.googlecode.concurrenttrees.radix.node.concrete.charsequence.CharSequenceNodeNonLeafVoidValue
- updateOutgoingEdge(Node) - Method in interface com.googlecode.concurrenttrees.radix.node.Node
-
Updates the child node reference for a given edge (identified by its first character) to point to a different child node.
V
- VoidValue - Class in com.googlecode.concurrenttrees.radix.node.concrete.voidvalue
-
A dummy object which if supplied as a value for an entry in a tree, will not actually be stored in the tree by
DefaultCharArrayNodeFactoryorDefaultCharSequenceNodeFactoryto save memory.
All Classes and Interfaces|All Packages|Serialized Form