mx4j.tools.stats

Class PointTime

public class PointTime extends 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

Version: $Revision: 1.3 $

Constructor Summary
PointTime(Date date, long index)
Method Summary
intcompareTo(Object o)
booleanequals(Object o)
DategetDate()
longgetIndex()

Constructor Detail

PointTime

public PointTime(Date date, long index)

Method Detail

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.