Class DoubleNode

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class DoubleNode
    extends LeafNode<java.lang.Double>
    The DoubleNode class represents a double in a configuration tree.
    • Constructor Summary

      Constructors 
      Constructor Description
      DoubleNode()  
      DoubleNode​(double value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doSetValue​(java.lang.String value)  
      java.lang.String getValue()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      java.lang.String toString()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      java.lang.Double value()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DoubleNode

        public DoubleNode()
      • DoubleNode

        public DoubleNode​(double value)
    • Method Detail

      • value

        public java.lang.Double value()
        Overrides:
        value in class LeafNode<java.lang.Double>
      • getValue

        public java.lang.String getValue()
        Description copied from class: LeafNode
        Subclasses must implement this, in compliance with the rules given in the return tag.
        Specified by:
        getValue in class LeafNode<java.lang.Double>
        Returns:
        the String representation of the node value, or the 'null' object if the node value is null.
      • toString

        public java.lang.String toString()
        Description copied from class: LeafNode
        Subclasses must implement this, in compliance with the rules given in the return tag.
        Specified by:
        toString in class LeafNode<java.lang.Double>
        Returns:
        the String representation of the node value, or the string "(null)" if the value is null.
      • doSetValue

        protected boolean doSetValue​(@NonNull
                                     java.lang.String value)
        Specified by:
        doSetValue in class LeafNode<java.lang.Double>