Class AbstractTrie.Result<V,S>
java.lang.Object
net.mtrop.doom.struct.trie.AbstractTrie.Result<V,S>
- Type Parameters:
V- the value type that this holds.S- the type of the split segments used for searching.
- Enclosing class:
AbstractTrie<V,S>
A result of a passive search on a trie.
- Author:
- Matthew Tropiano
-
Method Details
-
getFoundValue
- Returns:
- the value on the result, if something was found.
-
getEncounteredValues
-
getDescendantValues
-
getSegments
- Returns:
- the segments generated by the input value.
-
getMovesToLastEncounter
public int getMovesToLastEncounter()- Returns:
- how many moves it took to find the last encountered object in a search.
-
getMoveCount
public int getMoveCount()- Returns:
- how many edge hops that this performed in order to reach the result.
-
toString
-