@Internal public abstract class BoundedTrieResult extends java.lang.Object
The result of a BoundedTrie metric. The BoundedTrieResult hold an immutable
copy of the set from which it was initially created representing that a result cannot be modified
once created.
| Constructor and Description |
|---|
BoundedTrieResult() |
| Modifier and Type | Method and Description |
|---|---|
static BoundedTrieResult |
create(java.util.Set<java.util.List<java.lang.String>> s)
Creates a
BoundedTrieResult from the given Set by making an immutable copy. |
static BoundedTrieResult |
empty() |
abstract java.util.Set<java.util.List<java.lang.String>> |
getResult() |
public abstract java.util.Set<java.util.List<java.lang.String>> getResult()
public static BoundedTrieResult create(java.util.Set<java.util.List<java.lang.String>> s)
BoundedTrieResult from the given Set by making an immutable copy.s - the set from which the BoundedTrieResult should be created.BoundedTrieResult containing an immutable copy of the given set.public static BoundedTrieResult empty()
BoundedTrieResult