Class PathMap<T>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.util.PathMap<T>
Maps IPath keys onto values.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKeyStartingWith(org.eclipse.core.runtime.IPath next)
Returns true iff this map contains any key that starts with the given prefix.boolean
containsPrefixOf(org.eclipse.core.runtime.IPath path)
Returns true iff any key in this map is a prefix of the given path.get(org.eclipse.core.runtime.IPath key)
Returns the value associated with the given keygetMostSpecific(org.eclipse.core.runtime.IPath key)
Returns the value associated with the longest prefix of the given key that can be found in the map.Set<org.eclipse.core.runtime.IPath>
keySet()
Inserts the given key into the map.toString()
-
Constructor Details
-
PathMap
public PathMap()
-
-
Method Details
-
put
Inserts the given key into the map. -
get
Returns the value associated with the given key -
getMostSpecific
Returns the value associated with the longest prefix of the given key that can be found in the map. -
containsPrefixOf
public boolean containsPrefixOf(org.eclipse.core.runtime.IPath path)Returns true iff any key in this map is a prefix of the given path. -
keySet
-
toString
-
containsKeyStartingWith
public boolean containsKeyStartingWith(org.eclipse.core.runtime.IPath next)Returns true iff this map contains any key that starts with the given prefix.
-