de.jaetzold.art
Class SensorEventNumber
java.lang.Object
|
+--java.lang.Number
|
+--de.jaetzold.art.SensorEventNumber
- All Implemented Interfaces:
- Serializable
- public class SensorEventNumber
- extends Number
A subclass of Number which has the same value as the target SensorEvent.
- See Also:
SensorEvent
, Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SensorEventNumber
public SensorEventNumber(SensorEvent target)
- Constructs a new Number-Object which has the same value as target.
byteValue
public byte byteValue()
- Overrides:
byteValue
in class Number
shortValue
public short shortValue()
- Overrides:
shortValue
in class Number
intValue
public int intValue()
- Overrides:
intValue
in class Number
longValue
public long longValue()
- Overrides:
longValue
in class Number
floatValue
public float floatValue()
- Overrides:
floatValue
in class Number
doubleValue
public double doubleValue()
- Overrides:
doubleValue
in class Number