public class PathMatcher<T> extends Object
| Constructor and Description |
|---|
PathMatcher() |
| Modifier and Type | Method and Description |
|---|---|
T |
get(String key)
See if this object already exists in the collection, using equals().
|
Iterator<T> |
iterator()
Get an iterator over the values, in sorted order.
|
T |
match(String path)
Find the longest match.
|
void |
put(String key,
T value)
Add an object to the collection to be searched by a String key.
|
public void put(String key, T value)
key - sort keyvalue - add this object to the list to be searched.public T get(String key)
key - find object that has this keypublic Iterator<T> iterator()
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.