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

Constructor Summary
SensorEventNumber(SensorEvent target)
          Constructs a new Number-Object which has the same value as target.
 
Method Summary
 byte byteValue()
           
 double doubleValue()
           
 float floatValue()
           
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorEventNumber

public SensorEventNumber(SensorEvent target)
Constructs a new Number-Object which has the same value as target.
Method Detail

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