Class RelationshipList

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, DeepCloneable

    public class RelationshipList
    extends TypeCheckingList
    A list of Relationships.
    • Field Detail

      • _shallowestIndex

        private int _shallowestIndex
        The index of the shallowest relationship.
      • _deepestIndex

        private int _deepestIndex
        The index of the deepest relationship.
    • Constructor Detail

      • RelationshipList

        public RelationshipList()
    • Method Detail

      • add

        public boolean add​(java.lang.Object o)
        Specified by:
        add in interface java.util.Collection
        Specified by:
        add in interface java.util.List
        Overrides:
        add in class TypeCheckingList
      • getShallowest

        public Relationship getShallowest()
        Return the shallowest Relationship in the list.
      • getDeepest

        public Relationship getDeepest()
        Return the deepest Relationship in the list.