net.sf.bloof.metrics
Class TimeValue

java.lang.Object
  |
  +--net.sf.bloof.metrics.TimeValue

public class TimeValue
extends java.lang.Object

Tupel object for a Number value at a specific date.

Version:
$Id: TimeValue.java,v 1.5 2003/06/28 06:51:41 pekacki Exp $
Author:
Lukasz Pekacki

Constructor Summary
TimeValue(java.util.Date aMoment, java.lang.Number aValue)
          Constructs a TimeValue object representing the value of a time line at the specified moment
 
Method Summary
 java.util.Date getMoment()
          Returns the moment.
 java.lang.Number getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeValue

public TimeValue(java.util.Date aMoment,
                 java.lang.Number aValue)
Constructs a TimeValue object representing the value of a time line at the specified moment

Parameters:
aMoment - moment of the data
aValue - value of the data
Method Detail

getMoment

public java.util.Date getMoment()
Returns the moment.

Returns:
Date

getValue

public java.lang.Number getValue()
Returns the value.

Returns:
Number


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.