Package org.orekit.time
Class TimeStampedField<KK extends CalculusFieldElement<KK>>
- java.lang.Object
-
- org.orekit.time.TimeStampedField<KK>
-
- Type Parameters:
KK
- type of the field elements
- All Implemented Interfaces:
FieldTimeStamped<KK>
public class TimeStampedField<KK extends CalculusFieldElement<KK>> extends Object implements FieldTimeStamped<KK>
Class that associates a field with a date.- Author:
- Vincent Cucchietti
- See Also:
FieldAbsoluteDate
,CalculusFieldElement
-
-
Constructor Summary
Constructors Constructor Description TimeStampedField(KK value, AbsoluteDate date)
Constructor with normal date.TimeStampedField(KK value, FieldAbsoluteDate<KK> date)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldAbsoluteDate<KK>
getDate()
Get the date.KK
getValue()
Get value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.FieldTimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
TimeStampedField
public TimeStampedField(KK value, AbsoluteDate date)
Constructor with normal date.- Parameters:
value
- valuedate
- date associated to value
-
TimeStampedField
public TimeStampedField(KK value, FieldAbsoluteDate<KK> date)
Constructor.- Parameters:
value
- valuedate
- date associated to value
-
-
Method Detail
-
getDate
public FieldAbsoluteDate<KK> getDate()
Get the date.- Specified by:
getDate
in interfaceFieldTimeStamped<KK extends CalculusFieldElement<KK>>
- Returns:
- date attached to the object
-
getValue
public KK getValue()
Get value.- Returns:
- value
-
-