mx4j.tools.stats
Class PointTime
java.lang.Object
mx4j.tools.stats.PointTime
- Comparable
public class PointTime
extends java.lang.Object
implements Comparable
Class PointTime encapsulates the time and order of a value. We want to
index the recorded time but in the event of a repeated time, it will
have another index which should be unique. The class is Comparable
and the order is given first by the date and if those are equals by
the index
PointTime
public PointTime(Date date,
long index)
compareTo
public int compareTo(Object o)
equals
public boolean equals(Object o)
getDate
public Date getDate()
getIndex
public long getIndex()
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.