Class DateRangeComparator

  • All Implemented Interfaces:
    Comparator<DateRange>

    public class DateRangeComparator
    extends Object
    implements Comparator<DateRange>
    A DateRange comparator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(DateRange firstDateRange, DateRange secondDateRange)  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • DateRangeComparator

        public DateRangeComparator()
    • Method Detail

      • compare

        public int compare​(DateRange firstDateRange,
                           DateRange secondDateRange)
        Specified by:
        compare in interface Comparator<DateRange>