Interface SettableIntegerValue

All Superinterfaces:
HardwareBindable, IntegerValue, IntSupplier, RelativeHardwarControlBindable, Subscribable, Value<IntegerValueChangedCallback>

public interface SettableIntegerValue extends IntegerValue, RelativeHardwarControlBindable
Instances of this interface represent integer values.
Since:
API version 1
  • Method Details

    • set

      void set(int value)
      Sets the internal value.
      Parameters:
      value - the new integer value.
      Since:
      API version 1
    • inc

      void inc(int amount)
      Increases/decrease the internal value by the given amount.
      Parameters:
      amount - the integer amount to increase
      Since:
      API version 1