Class DeviceFeature.RangedInputDescriptor
java.lang.Object
io.github.blackspherefollower.buttplug4j.protocol.messages.DeviceFeature.InputDescriptor
io.github.blackspherefollower.buttplug4j.protocol.messages.DeviceFeature.RangedInputDescriptor
- Direct Known Subclasses:
DeviceFeature.Battery,DeviceFeature.Button,DeviceFeature.PositionInput,DeviceFeature.Pressure,DeviceFeature.Rssi
- Enclosing class:
- DeviceFeature
public abstract static class DeviceFeature.RangedInputDescriptor
extends DeviceFeature.InputDescriptor
RangedInputDescriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.RangedInputDescriptor(ArrayList<InputCommandType> input, int[][] aValueRange) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares objects based on valueRange 2d array.int[][]Get value range.inthashCode()Hashcode based on valueRange 2d array.voidsetValueRange(int[][] aValueRange) Set value range.Methods inherited from class io.github.blackspherefollower.buttplug4j.protocol.messages.DeviceFeature.InputDescriptor
getInput, setInput
-
Constructor Details
-
RangedInputDescriptor
Constructor.- Parameters:
input- command typesaValueRange- value range
-
RangedInputDescriptor
public RangedInputDescriptor()Constructor.
-
-
Method Details
-
getValueRange
public int[][] getValueRange()Get value range.- Returns:
- range
-
setValueRange
public void setValueRange(int[][] aValueRange) Set value range.- Parameters:
aValueRange- range
-
equals
Compares objects based on valueRange 2d array. -
hashCode
public int hashCode()Hashcode based on valueRange 2d array.
-