Package org.orekit.time
Class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,S extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>
java.lang.Object
org.orekit.time.FieldTimeStampedPair<F,S,KK>
- Type Parameters:
F- first time stamped valueS- second time stamped valueKK- type of the field element
- All Implemented Interfaces:
FieldTimeStamped<KK>
public class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,S extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>
extends Object
implements FieldTimeStamped<KK>
Pair of time stamped values being defined at the same date.
- Author:
- Vincent Cucchietti
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDefault date equality threshold of 1 ns. -
Constructor Summary
ConstructorsConstructorDescriptionFieldTimeStampedPair(F first, S second) Constructor.FieldTimeStampedPair(F first, S second, double dateEqualityThreshold) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeStamped
durationFrom, durationFrom
-
Field Details
-
DEFAULT_DATE_EQUALITY_THRESHOLD
public static final double DEFAULT_DATE_EQUALITY_THRESHOLDDefault date equality threshold of 1 ns.- See Also:
-
-
Constructor Details
-
FieldTimeStampedPair
Constructor.First and second value must have the same date.
- Parameters:
first- first time stamped valuesecond- second time stamped value
-
FieldTimeStampedPair
Constructor.First and second value must have the same date.
- Parameters:
first- first time stamped valuesecond- second time stamped valuedateEqualityThreshold- threshold below which dates are considered equal
-
-
Method Details
-
getDate
Get the date.- Specified by:
getDatein interfaceFieldTimeStamped<F extends FieldTimeStamped<KK>>- Returns:
- date attached to the object
-
getFirst
Get first time stamped value.- Returns:
- first time stamped value
-
getSecond
Get second time stamped value.- Returns:
- second time stamped value
-