Class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,​S extends FieldTimeStamped<KK>,​KK extends CalculusFieldElement<KK>>

    • Field Detail

      • DEFAULT_DATE_EQUALITY_THRESHOLD

        public static final double DEFAULT_DATE_EQUALITY_THRESHOLD
        Default date equality threshold of 1 ns.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FieldTimeStampedPair

        public FieldTimeStampedPair​(F first,
                                    S second)
        Constructor.

        First and second value must have the same date.

        Parameters:
        first - first time stamped value
        second - second time stamped value
      • FieldTimeStampedPair

        public FieldTimeStampedPair​(F first,
                                    S second,
                                    double dateEqualityThreshold)
        Constructor.

        First and second value must have the same date.

        Parameters:
        first - first time stamped value
        second - second time stamped value
        dateEqualityThreshold - threshold below which dates are considered equal
    • Method Detail

      • getFirst

        public F getFirst()
        Get first time stamped value.
        Returns:
        first time stamped value
      • getSecond

        public S getSecond()
        Get second time stamped value.
        Returns:
        second time stamped value