Module javafx.base

Interface WritableLongValue

    • Method Summary

      Modifier and Type Method Description
      long get()
      Get the wrapped value.
      void set​(long value)
      Set the wrapped value.
      void setValue​(Number value)
      Set the wrapped value.
    • Method Detail

      • set

        void set​(long value)
        Set the wrapped value. Unlike setValue(java.lang.Number), this method uses primitive long.
        Parameters:
        value - The new value
      • setValue

        void setValue​(Number value)
        Set the wrapped value.

        Note: this method should accept null without throwing an exception, setting "0" instead.

        Specified by:
        setValue in interface WritableValue<Number>
        Parameters:
        value - The new value