Class AudioAnnotationComparator

    • Constructor Detail

      • AudioAnnotationComparator

        public AudioAnnotationComparator()
    • Method Detail

      • compare

        public int compare​(AudioAnnotation o1,
                           AudioAnnotation o2)
        Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
        Specified by:
        compare in interface Comparator<AudioAnnotation>
        Specified by:
        compare in class adams.data.container.DataPointComparator<AudioAnnotation>
        Parameters:
        o1 - the first object
        o2 - the second object
        Returns:
        a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.