stella.parameter
Class ObservableList.DateMerit

java.lang.Object
  extended by stella.parameter.ObservableList.DateMerit
All Implemented Interfaces:
Comparable<ObservableList.DateMerit>
Enclosing class:
ObservableList

private static class ObservableList.DateMerit
extends Object
implements Comparable<ObservableList.DateMerit>

A combination of a date and a merit.


Field Summary
(package private)  Float merit
           
(package private)  Date time
           
 
Constructor Summary
ObservableList.DateMerit(Date stamp, float value)
           
 
Method Summary
 int compareTo(ObservableList.DateMerit to)
          We compare the dates, if they are identically, we compare the merit.
 String toString()
          Returns a string representation in AbstractTime.ISO format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

Date time

merit

Float merit
Constructor Detail

ObservableList.DateMerit

ObservableList.DateMerit(Date stamp,
                         float value)
Method Detail

compareTo

public int compareTo(ObservableList.DateMerit to)
We compare the dates, if they are identically, we compare the merit.

Specified by:
compareTo in interface Comparable<ObservableList.DateMerit>

toString

public String toString()
Returns a string representation in AbstractTime.ISO format.

Overrides:
toString in class Object