Class DoubleNode

  • All Implemented Interfaces:
    Cloneable

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

      • DoubleNode

        public DoubleNode()
      • DoubleNode

        public DoubleNode​(double value)
    • Method Detail

      • getValue

        public 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<Double>
        Returns:
        the String representation of the node value, or the 'null' object if the node value is null.
      • toString

        public 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<Double>
        Returns:
        the String representation of the node value, or the string "(null)" if the value is null.