Class Comparators


  • public class Comparators
    extends Object
    • Constructor Detail

      • Comparators

        public Comparators()
    • Method Detail

      • min

        public static <T extends Comparable<? super T>> T min​(T firstComp,
                                                              T secondComp)
      • max

        public static <T extends Comparable<? super T>> T max​(T firstComp,
                                                              T secondComp)