org.ojalgo.type.structure
Interface HierarchyStructure<T extends HierarchyStructure<T>>


public interface HierarchyStructure<T extends HierarchyStructure<T>>


Method Summary
 List<T> getChildren()
           
 T getParent()
           
 boolean isLeaf()
           
 boolean isRoot()
           
 

Method Detail

getChildren

List<T> getChildren()

getParent

T getParent()

isLeaf

boolean isLeaf()
Returns:
true if getChildren() returns null or an empty list

isRoot

boolean isRoot()
Returns:
true if getParent() returns null or "this"