Uses of Interface
com.googlecode.concurrenttrees.common.KeyValuePair
-
-
Uses of KeyValuePair in com.googlecode.concurrenttrees.radix
Classes in com.googlecode.concurrenttrees.radix that implement KeyValuePair Modifier and Type Class Description static class
ConcurrentRadixTree.KeyValuePairImpl<O>
Implementation of theKeyValuePair
interface.Methods in com.googlecode.concurrenttrees.radix that return types with arguments of type KeyValuePair Modifier and Type Method Description (package private) <O> java.lang.Iterable<KeyValuePair<O>>
ConcurrentRadixTree. getDescendantKeyValuePairs(java.lang.CharSequence startKey, Node startNode)
Returns a lazy iterable which will returnKeyValuePair
objects each containing a key and a value, for which the given key is a prefix of the key in theKeyValuePair
.java.lang.Iterable<KeyValuePair<O>>
ConcurrentRadixTree. getKeyValuePairsForClosestKeys(java.lang.CharSequence candidate)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree which are the closest match for the given candidate key.java.lang.Iterable<KeyValuePair<O>>
RadixTree. getKeyValuePairsForClosestKeys(java.lang.CharSequence candidate)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree which are the closest match for the given candidate key.java.lang.Iterable<KeyValuePair<O>>
ConcurrentRadixTree. getKeyValuePairsForKeysStartingWith(java.lang.CharSequence prefix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys start with the given prefix.java.lang.Iterable<KeyValuePair<O>>
RadixTree. getKeyValuePairsForKeysStartingWith(java.lang.CharSequence prefix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys start with the given prefix. -
Uses of KeyValuePair in com.googlecode.concurrenttrees.radixinverted
Methods in com.googlecode.concurrenttrees.radixinverted that return KeyValuePair Modifier and Type Method Description KeyValuePair<O>
ConcurrentInvertedRadixTree. getKeyValuePairForLongestKeyPrefixing(java.lang.CharSequence document)
Returns theKeyValuePair
for the longest key in the tree which is a prefix of the given document.KeyValuePair<O>
InvertedRadixTree. getKeyValuePairForLongestKeyPrefixing(java.lang.CharSequence document)
Returns theKeyValuePair
for the longest key in the tree which is a prefix of the given document.protected KeyValuePair<O>
ConcurrentInvertedRadixTree.ConcurrentInvertedRadixTreeImpl. scanForLongestKeyAtStartOfInput(java.lang.CharSequence input)
Traverses the tree based on characters in the given input, and returns the longest key in the tree which is a prefix of the input, and its associated value.Methods in com.googlecode.concurrenttrees.radixinverted that return types with arguments of type KeyValuePair Modifier and Type Method Description java.lang.Iterable<KeyValuePair<O>>
ConcurrentInvertedRadixTree. getKeyValuePairsForClosestKeys(java.lang.CharSequence candidate)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree which are the closest match for the given candidate key.java.lang.Iterable<KeyValuePair<O>>
ConcurrentInvertedRadixTree. getKeyValuePairsForKeysContainedIn(java.lang.CharSequence document)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys in the tree which are contained in the given document.java.lang.Iterable<KeyValuePair<O>>
InvertedRadixTree. getKeyValuePairsForKeysContainedIn(java.lang.CharSequence document)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys in the tree which are contained in the given document.java.lang.Iterable<KeyValuePair<O>>
ConcurrentInvertedRadixTree. getKeyValuePairsForKeysPrefixing(java.lang.CharSequence document)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys in the tree which prefix the given document.java.lang.Iterable<KeyValuePair<O>>
InvertedRadixTree. getKeyValuePairsForKeysPrefixing(java.lang.CharSequence document)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys in the tree which prefix the given document.java.lang.Iterable<KeyValuePair<O>>
ConcurrentInvertedRadixTree. getKeyValuePairsForKeysStartingWith(java.lang.CharSequence prefix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys start with the given prefix.protected java.lang.Iterable<KeyValuePair<O>>
ConcurrentInvertedRadixTree.ConcurrentInvertedRadixTreeImpl. scanForKeysAtStartOfInput(java.lang.CharSequence input)
Lazily traverses the tree based on characters in the given input, and returns from the tree the next node and its value where the key associated with the node matches the characters from the input. -
Uses of KeyValuePair in com.googlecode.concurrenttrees.radixreversed
Methods in com.googlecode.concurrenttrees.radixreversed that return types with arguments of type KeyValuePair Modifier and Type Method Description java.lang.Iterable<KeyValuePair<O>>
ConcurrentReversedRadixTree. getKeyValuePairsForKeysEndingWith(java.lang.CharSequence suffix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys end with the given suffix.java.lang.Iterable<KeyValuePair<O>>
ReversedRadixTree. getKeyValuePairsForKeysEndingWith(java.lang.CharSequence suffix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys end with the given suffix. -
Uses of KeyValuePair in com.googlecode.concurrenttrees.suffix
Methods in com.googlecode.concurrenttrees.suffix that return types with arguments of type KeyValuePair Modifier and Type Method Description java.lang.Iterable<KeyValuePair<O>>
ConcurrentSuffixTree. getKeyValuePairsForKeysContaining(java.lang.CharSequence fragment)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys contain the given fragment.java.lang.Iterable<KeyValuePair<O>>
SuffixTree. getKeyValuePairsForKeysContaining(java.lang.CharSequence fragment)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys contain the given fragment.java.lang.Iterable<KeyValuePair<O>>
ConcurrentSuffixTree. getKeyValuePairsForKeysEndingWith(java.lang.CharSequence suffix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys end with the given suffix.java.lang.Iterable<KeyValuePair<O>>
SuffixTree. getKeyValuePairsForKeysEndingWith(java.lang.CharSequence suffix)
Returns a lazy iterable which returns the set ofKeyValuePair
s for keys and their associated values in the tree, where the keys end with the given suffix.
-