Class URITrie.Result<V>

java.lang.Object
com.blackrook.small.struct.URITrie.Result<V>
Type Parameters:
V - the value that this holds.
Enclosing class:
URITrie<V>

public static class URITrie.Result<V> extends Object
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

      public V getValue()
      Gets the found value, if any.
      Returns:
      a value to return, or null if no value.
    • getRemainder

      public String getRemainder()
      Gets the path remainder, if this is a "default" path.
      Returns:
      the path remainder.
    • getPathVariables

      public Map<String,String> getPathVariables()
      Gets the map of found path variables, if any.
      Returns:
      the map of variables, or null if no variables.