org.multiverse.sensors
Class SimpleSensor

java.lang.Object
  extended by org.multiverse.sensors.SimpleSensor
All Implemented Interfaces:
Sensor

public final class SimpleSensor
extends java.lang.Object
implements Sensor

Author:
Peter Veentjer

Constructor Summary
SimpleSensor(java.lang.String description)
           
 
Method Summary
 java.lang.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
 

Constructor Detail

SimpleSensor

public SimpleSensor(java.lang.String description)
Method Detail

getDescription

public java.lang.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.