Class PlotContainerSink.DoubleComparator

    • Constructor Detail

      • DoubleComparator

        public DoubleComparator()
    • Method Detail

      • compare

        public int compare​(String o1,
                           String o2)
        Compares the two strings representing two double values.
        Specified by:
        compare in interface Comparator<String>
        Parameters:
        o1 - the first double
        o2 - the second double
        Returns:
        -1, 0, +1 if first double is less than, equal to or greater than the second double