Class LongProperty

    • Constructor Detail

      • LongProperty

        public LongProperty​(java.lang.String key,
                            long defaultValue)
        Constructs a new LongProperty
        Parameters:
        key - property key
        defaultValue - default value
    • Method Detail

      • put

        public boolean put​(java.lang.Long value)
        Description copied from class: AbstractProperty
        Sets this property to the specified value.
        Overrides:
        put in class AbstractToStringProperty<java.lang.Long>
        Parameters:
        value - The new value of this property
        Returns:
        true if something has changed (i.e. value is different than before)
      • toString

        protected java.lang.String toString​(java.lang.Long t)
        Description copied from class: AbstractToStringProperty
        Converts the string to an object of the given type.
        Specified by:
        toString in class AbstractToStringProperty<java.lang.Long>
        Parameters:
        t - The object.
        Returns:
        The string representing the object