F - first time stamped valueS - second time stamped valueKK - type of the field elementpublic class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,S extends FieldTimeStamped<KK>,KK extends org.hipparchus.CalculusFieldElement<KK>> extends Object implements FieldTimeStamped<KK>
FieldTimeStamped| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_DATE_EQUALITY_THRESHOLD
Default date equality threshold of 1 ns.
|
| Constructor and Description |
|---|
FieldTimeStampedPair(F first,
S second)
Constructor.
|
FieldTimeStampedPair(F first,
S second,
double dateEqualityThreshold)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FieldAbsoluteDate<KK> |
getDate()
Get the date.
|
F |
getFirst()
Get first time stamped value.
|
S |
getSecond()
Get second time stamped value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdurationFrompublic static final double DEFAULT_DATE_EQUALITY_THRESHOLD
public FieldTimeStampedPair(F first, S second)
First and second value must have the same date.
first - first time stamped valuesecond - second time stamped valuepublic FieldTimeStampedPair(F first, S second, double dateEqualityThreshold)
First and second value must have the same date.
first - first time stamped valuesecond - second time stamped valuedateEqualityThreshold - threshold below which dates are considered equalpublic FieldAbsoluteDate<KK> getDate()
getDate in interface FieldTimeStamped<KK extends org.hipparchus.CalculusFieldElement<KK>>public F getFirst()
public S getSecond()
Copyright © 2002-2023 CS GROUP. All rights reserved.