Class QuantityRange.Point<U extends TypedUnit<U>>

    • Method Detail

      • getCenter

        public IQuantity getCenter()
        Returns:
        the center of the range
      • getExtent

        public IQuantity getExtent()
        Returns:
        the (positive) difference between end and start
      • isPoint

        public boolean isPoint()
        Returns:
        true if and only if start.compareTo(end) == 0
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object