Package com.blackrook.small.struct
Class URITrie.Result<V>
java.lang.Object
com.blackrook.small.struct.URITrie.Result<V>
- Type Parameters:
V
- the value that this holds.
Result class after a URITrie search.
-
Method Details
-
hasValue
public boolean hasValue()Checks if this result has a found value in it.- Returns:
- true if so, false if not.
-
getValue
Gets the found value, if any.- Returns:
- a value to return, or null if no value.
-
getRemainder
Gets the path remainder, if this is a "default" path.- Returns:
- the path remainder.
-
getPathVariables
Gets the map of found path variables, if any.- Returns:
- the map of variables, or null if no variables.
-