Class ParentMap.Entry

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ParentMap

    public class ParentMap.Entry
    extends java.lang.Object
    implements java.io.Serializable
    Object that represents the relation between a child an a parent.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object child
      Child and parent of the relation this entry describes.
      protected java.lang.Object parent
      Child and parent of the relation this entry describes.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.Object child, java.lang.Object parent)
      Constructs a new relation between child and parent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getChild()
      Returns the child of the relation.
      java.lang.Object getParent()
      Returns the parent of the relation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • child

        protected java.lang.Object child
        Child and parent of the relation this entry describes.
      • parent

        protected java.lang.Object parent
        Child and parent of the relation this entry describes.
    • Constructor Detail

      • Entry

        public Entry​(java.lang.Object child,
                     java.lang.Object parent)
        Constructs a new relation between child and parent.
    • Method Detail

      • getChild

        public java.lang.Object getChild()
        Returns the child of the relation.
      • getParent

        public java.lang.Object getParent()
        Returns the parent of the relation.