Class Tree<T>
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<T,Tree<T>>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.Tree<T>
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<T,Tree<T>>
 
 public class Tree<T> extends HashMap<T,Tree<T>> implements Serializable - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTree(Tree<T> tree)List<T>getLeafObjects()List<Tree<T>>getLeafTrees()List<T>getObjectsAtDepth(int depth)List<Tree<T>>getTreesAtDepth(int depth)booleanisLeaf()List<Tree<T>>splitParents()- 
Methods inherited from class java.util.HashMapclear, 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.AbstractMapequals, hashCode, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
Treepublic Tree() 
 - 
Tree@SafeVarargs public Tree(T... children) 
 - 
Tree@SafeVarargs public Tree(Map.Entry<T,Tree<T>>... children) 
 
- 
 
-