Class FieldChronologicalComparator<KK extends CalculusFieldElement<KK>>

    • Constructor Detail

      • FieldChronologicalComparator

        public FieldChronologicalComparator()
        Simple constructor.
    • Method Detail

      • compare

        public int compare​(FieldTimeStamped<KK> timeStamped1,
                           FieldTimeStamped<KK> timeStamped2)
        Compare two time-stamped instances.
        Specified by:
        compare in interface Comparator<KK extends CalculusFieldElement<KK>>
        Parameters:
        timeStamped1 - first time-stamped instance
        timeStamped2 - second time-stamped instance
        Returns:
        a negative integer, zero, or a positive integer as the first instance is before, simultaneous, or after the second one.