Interface IntRange
- All Superinterfaces:
ComparableRange<Integer>, Range<Integer>
- All Known Implementing Classes:
DefaultIntRange
-
Method Summary
Methods inherited from interface ComparableRange
contains, intersect, isEmpty, lower, lowerExclusive, lowerInclusive, upper, upperExclusive, upperInclusiveMethods inherited from interface Range
end, isEndExclusive, isEndInclusive, isStartExclusive, isStartInclusive, start
-
Method Details
-
startValue
int startValue() -
endValue
int endValue() -
isLowerInclusive
boolean isLowerInclusive()- Specified by:
isLowerInclusivein interfaceComparableRange<Integer>
-
isLowerExclusive
boolean isLowerExclusive()- Specified by:
isLowerExclusivein interfaceComparableRange<Integer>
-
isUpperInclusive
boolean isUpperInclusive()- Specified by:
isUpperInclusivein interfaceComparableRange<Integer>
-
isUpperExclusive
boolean isUpperExclusive()- Specified by:
isUpperExclusivein interfaceComparableRange<Integer>
-
lowerValueInclusive
int lowerValueInclusive() -
lowerValueExclusive
int lowerValueExclusive() -
lowerValue
int lowerValue() -
upperValue
int upperValue() -
upperValueInclusive
int upperValueInclusive() -
upperValueExclusive
int upperValueExclusive() -
reversedOrder
boolean reversedOrder()- Specified by:
reversedOrderin interfaceComparableRange<Integer>
-
stream
IntStream stream() -
size
int size() -
toIntArray
int[] toIntArray() -
contains
boolean contains(int value)
-