Interface ComparableRange<T extends Comparable>

All Superinterfaces:
Range<T>
All Known Subinterfaces:
BigDecimalRange, BigIntRange, BooleanRange, ByteRange, CharRange, DoubleRange, FloatRange, IntRange, LongRange, ShortRange
All Known Implementing Classes:
AbstractComparableRange, DefaultDoubleRange, DefaultIntRange

public interface ComparableRange<T extends Comparable> extends Range<T>
  • Method Details

    • isLowerInclusive

      boolean isLowerInclusive()
    • isLowerExclusive

      boolean isLowerExclusive()
    • isUpperInclusive

      boolean isUpperInclusive()
    • isUpperExclusive

      boolean isUpperExclusive()
    • reversedOrder

      boolean reversedOrder()
    • lowerInclusive

      T lowerInclusive()
    • lowerExclusive

      T lowerExclusive()
    • lower

      T lower()
    • upper

      T upper()
    • upperInclusive

      T upperInclusive()
    • upperExclusive

      T upperExclusive()
    • contains

      boolean contains(T t)
    • intersect

      ComparableRange<T> intersect(ComparableRange<T> other)
    • isEmpty

      boolean isEmpty()