Class PathMatch<V>


public class PathMatch<V> extends Object
The result of a call to PathSpace.get(
  • Method Details

    • toString

      public String toString()
      toString in class Object
    • equals

      public boolean equals(Object o)
      Two matches are equal when they have the same prefix (by .equals), prefixPath (by .equals), subPath (by .equals), and value (by identity).
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object
    • getPrefix

      public Prefix getPrefix()
      Gets the prefix that matched the lookup.
    • getPrefixPath

      public Path getPrefixPath()
      Gets the portion of the lookup path that matches the prefix.
    • getPath

      public Path getPath()
      Gets the portion of the lookup path past the prefix path.
    • getValue

      public V getValue()
      Gets the value associated with the prefix.