Class QuantitiesToolkit


  • public class QuantitiesToolkit
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <M extends java.lang.Comparable<? super M>>
      M
      max​(M a, M b)  
      static <M extends java.lang.Comparable<? super M>>
      M
      maxPresent​(M a, M b)  
      static <M extends java.lang.Comparable<? super M>>
      M
      min​(M a, M b)  
      static <M extends java.lang.Comparable<? super M>>
      M
      minPresent​(M a, M b)  
      static <M extends java.lang.Comparable<? super M>>
      boolean
      same​(M a, M b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QuantitiesToolkit

        public QuantitiesToolkit()
    • Method Detail

      • min

        public static <M extends java.lang.Comparable<? super M>> M min​(M a,
                                                                        M b)
      • max

        public static <M extends java.lang.Comparable<? super M>> M max​(M a,
                                                                        M b)
      • minPresent

        public static <M extends java.lang.Comparable<? super M>> M minPresent​(M a,
                                                                               M b)
      • maxPresent

        public static <M extends java.lang.Comparable<? super M>> M maxPresent​(M a,
                                                                               M b)
      • same

        public static <M extends java.lang.Comparable<? super M>> boolean same​(M a,
                                                                               M b)