Class LongNode

  • All Implemented Interfaces:
    java.lang.Cloneable

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

      Constructors 
      Constructor Description
      LongNode()  
      LongNode​(long 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.Long value()  
      • Methods inherited from class java.lang.Object

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

      • LongNode

        public LongNode()
      • LongNode

        public LongNode​(long value)
    • Method Detail

      • value

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

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