org.multiverse.sensors
Class SimpleSensor
java.lang.Object
org.multiverse.sensors.SimpleSensor
- All Implemented Interfaces:
- Sensor
public final class SimpleSensor
- extends Object
- implements Sensor
- Author:
- Peter Veentjer
|
Method Summary |
String |
getDescription()
Returns a description of the sensor (so that is it measuring). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSensor
public SimpleSensor(String description)
getDescription
public String getDescription()
- Description copied from interface:
Sensor
- Returns a description of the sensor (so that is it measuring).
- Specified by:
getDescription in interface Sensor
- Returns:
- the description.
Copyright © 2008-2010 Multiverse. All Rights Reserved.