Class DeviceFeature.SteppedOutputDescriptor
java.lang.Object
io.github.blackspherefollower.buttplug4j.protocol.messages.DeviceFeature.SteppedOutputDescriptor
- All Implemented Interfaces:
DeviceFeature.OutputDescriptor
- Direct Known Subclasses:
DeviceFeature.Constrict,DeviceFeature.HwPositionWithDuration,DeviceFeature.Led,DeviceFeature.Oscillate,DeviceFeature.Position,DeviceFeature.Rotate,DeviceFeature.Spray,DeviceFeature.Temperature,DeviceFeature.Vibrate
- Enclosing class:
- DeviceFeature
public abstract static class DeviceFeature.SteppedOutputDescriptor
extends Object
implements DeviceFeature.OutputDescriptor
SteppedOutputDescriptor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares with other objects.int[]getValue()Get value range.inthashCode()Generates the hashcode based on the value range array.voidsetStepCount(int[] aValue) Set value range.
-
Constructor Details
-
SteppedOutputDescriptor
public SteppedOutputDescriptor(int[] aValue) Constructor.- Parameters:
aValue- value range
-
-
Method Details
-
getValue
public int[] getValue()Get value range.- Returns:
- range
-
setStepCount
public void setStepCount(int[] aValue) Set value range.- Parameters:
aValue- range
-
equals
Compares with other objects. If extending, either call this first or compare the value range. -
hashCode
public int hashCode()Generates the hashcode based on the value range array.
-