Interface IRange<T extends java.lang.Comparable<? super T>>

    • Method Detail

      • getStart

        T getStart()
        Returns:
        the start of the range
      • getEnd

        T getEnd()
        Returns:
        the end of the range
      • getCenter

        T getCenter()
        Returns:
        the center of the range
      • getExtent

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

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