Class Range<T>


  • public class Range<T>
    extends Object
    • Method Detail

      • create

        public static <U> Range<U> create​(U lower,
                                          boolean lowerInc,
                                          U upper,
                                          boolean upperInc)
      • createEmpty

        public static Range<?> createEmpty()
      • isEmpty

        public boolean isEmpty()
      • hasLowerBound

        public boolean hasLowerBound()
      • getLowerBound

        public T getLowerBound()
      • setLowerBound

        public void setLowerBound​(T val)
      • isLowerBoundInfinity

        public boolean isLowerBoundInfinity()
      • isLowerBoundInclusive

        public boolean isLowerBoundInclusive()
      • hasUpperBound

        public boolean hasUpperBound()
      • getUpperBound

        public T getUpperBound()
      • setUpperBound

        public void setUpperBound​(T val)
      • isUpperBoundInfinity

        public boolean isUpperBoundInfinity()
      • isUpperBoundInclusive

        public boolean isUpperBoundInclusive()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object