Package jnr.ffi

Interface Variable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T get()
      Gets the current value of the global variable
      void set​(T value)
      Sets the global variable to a value
    • Method Detail

      • get

        T get()
        Gets the current value of the global variable
        Returns:
        The value of the variable
      • set

        void set​(T value)
        Sets the global variable to a value
        Parameters:
        value - The value to set the global variable to.