org.multiverse.sensors
Class SimpleSensor

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

public final class SimpleSensor
extends Object
implements Sensor

Author:
Peter Veentjer

Constructor Summary
SimpleSensor(String description)
           
 
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
 

Constructor Detail

SimpleSensor

public SimpleSensor(String description)
Method Detail

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.