/** * Gets the first value of the pair, which is the time. * * @return The time. */ public Date getFirst() { return this.getTime(); }
/** * Gets the second value fo the pair, which is the value. * * @return The value. */ public ValueType getSecond() { return this.getValue(); }
/** * Creates a new {@code DefaultTemporalValue}. * * @param time The time associated with the value. * @param value The value associated with the time. */ public DefaultTemporalValue( final Date time, final ValueType value) { super( time ); this.setValue(value); }
/** * Gets the second value fo the pair, which is the value. * * @return The value. */ public ValueType getSecond() { return this.getValue(); }
/** * Creates a new {@code DefaultTemporalValue}. * * @param time The time associated with the value. * @param value The value associated with the time. */ public DefaultTemporalValue( final Date time, final ValueType value) { super( time ); this.setValue(value); }
/** * Gets the first value of the pair, which is the time. * * @return The time. */ public Date getFirst() { return this.getTime(); }
/** * Gets the second value fo the pair, which is the value. * * @return The value. */ public ValueType getSecond() { return this.getValue(); }
/** * Creates a new {@code DefaultTemporalValue}. * * @param time The time associated with the value. * @param value The value associated with the time. */ public DefaultTemporalValue( final Date time, final ValueType value) { super( time ); this.setValue(value); }
/** * Gets the first value of the pair, which is the time. * * @return The time. */ public Date getFirst() { return this.getTime(); }