Uses of Class
FinchSensor

Uses of FinchSensor in <Unnamed>
 

Methods in <Unnamed> that return FinchSensor
static FinchSensor sensorDriver.median(java.util.List<FinchSensor> log)
          Return the sensor sample that is the median value of the key used to sort a set.
 

Methods in <Unnamed> that return types with arguments of type FinchSensor
static java.util.List<FinchSensor> sensorDriver.ReadSensors(finch.Finch myFinch)
          Read a sequence of samples from the Finch sensors
 

Methods in <Unnamed> with parameters of type FinchSensor
 int LightComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: light sensor
 int AccelComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: acceleration magnitude
 int TemperatureComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: temperature sensor
 int ZaccelComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: Z acceleration
 int FinchSensor.compareTo(FinchSensor obj)
          Compare this FinchSensor to obj using the "natural ordering" (by time that the sample was taken)
 double LightComparator.doubleValue(FinchSensor obj)
           
abstract  double SensorComparator.doubleValue(FinchSensor obj)
          Return the value of obj that is specified by the instantiation of the child class.
 double AccelComparator.doubleValue(FinchSensor obj)
           
 double TemperatureComparator.doubleValue(FinchSensor obj)
           
 double ZaccelComparator.doubleValue(FinchSensor obj)
           
 

Method parameters in <Unnamed> with type arguments of type FinchSensor
static void sensorDriver.displaySensors(java.util.List<FinchSensor> sensors)
          Display the sequence of sensor samples in the given List Algorithm:
- Loop over each sensor in the List and display it
static void sensorDriver.displayStats(java.util.List<FinchSensor> log, SensorComparator comp)
          For the given sensor channel (as indicated by comp), display: The mean value of this sensor channel the entire sensor sample for the minimum, median and maximum channel values Algorithm:
1.
static double sensorDriver.mean(java.util.List<FinchSensor> log, SensorComparator comp)
          Compute the mean value of a some sensor value across a set of FinchSensors.
static FinchSensor sensorDriver.median(java.util.List<FinchSensor> log)
          Return the sensor sample that is the median value of the key used to sort a set.