JavaScript is disabled on your browser.
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.util.List<java.lang.String>>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<java.lang.String>>
public class Tagsonomy
extends java.util.HashMap<java.lang.String,java.util.List<java.lang.String>>
Represents the tag-tree structure, includes methods for verifying that a tag string matches a tag name or tag path.
See Also:
Serialized Form
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
Constructor Summary
Constructors
Constructor and Description
Tagsonomy ()
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
equals, hashCode
Constructor Detail
Tagsonomy
public Tagsonomy()
Method Detail
find
public static Tag find(Tagsonomy tags,
java.lang.String path)
Locate a tag in a tag tree. The tag can be input as "/leaf/node" or "leaf/node" or "node"
Parameters:
path
-
Returns:
Tag instance or null if the tag could not be found
Copyright \
(C) Arizona Board of Regents on behalf of the \
Planetary Image Research Laboratory, Lunar and \
Planetary Laboratory at the University of Arizona