public class PathMap<T>
extends java.lang.Object
Constructor and Description |
---|
PathMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPrefixOf(IPath path)
Returns true iff any key in this map is a prefix of the given path.
|
T |
get(IPath key)
Returns the value associated with the given key
|
T |
getMostSpecific(IPath key)
Returns the value associated with the longest prefix of the given key
that can be found in the map.
|
java.util.Set<IPath> |
keySet() |
T |
put(IPath key,
T value)
Inserts the given key into the map.
|
java.lang.String |
toString() |
public T get(IPath key)
public T getMostSpecific(IPath key)
public boolean containsPrefixOf(IPath path)
public java.util.Set<IPath> keySet()
public java.lang.String toString()
toString
in class java.lang.Object