Class LongNode

All Implemented Interfaces:
Cloneable

public class LongNode extends LeafNode<Long>
Represents a long in a configuration tree.
Author:
gjoranv
  • Constructor Details

    • LongNode

      public LongNode()
    • LongNode

      public LongNode(long value)
  • Method Details

    • value

      public Long value()
      Overrides:
      value in class LeafNode<Long>
    • 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<Long>
      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<Long>
      Returns:
      the String representation of the node value, or the string "(null)" if the value is null.
    • doSetValue

      protected boolean doSetValue(String value)
      Specified by:
      doSetValue in class LeafNode<Long>