Uses of Class
com.cedarsoftware.util.IntervalSet.Interval
Packages that use IntervalSet.Interval
-
Uses of IntervalSet.Interval in com.cedarsoftware.util
Methods in com.cedarsoftware.util that return IntervalSet.IntervalModifier and TypeMethodDescriptionIntervalSet.first()
Returns the first (lowest key) interval ornull
.IntervalSet.higherInterval
(T value) Returns the next interval that starts strictly after the given value, ornull
if none exists.IntervalSet.intervalContaining
(T value) Return the interval covering the specifiedvalue
, ornull
if no interval contains it.IntervalSet.last()
Returns the last (highest key) interval ornull
.IntervalSet.lowerInterval
(T value) Returns the previous interval that starts strictly before the given value, ornull
if none exists.IntervalSet.nextInterval
(T value) Returns the next interval that contains the given value, or the next interval that starts after the value.IntervalSet.previousInterval
(T value) Returns the previous interval that starts at or before the given value, ornull
if none exists.Methods in com.cedarsoftware.util that return types with arguments of type IntervalSet.IntervalModifier and TypeMethodDescriptionIntervalSet.asList()
Unmodifiable snapshot of all intervals (ordered).IntervalSet.descendingIterator()
Returns an iterator over all intervals in descending order by start key.IntervalSet.getIntervalsBefore
(T toKey) Returns all intervals whose start keys are before the specified key.IntervalSet.getIntervalsFrom
(T fromKey) Returns all intervals whose start keys are at or after the specified key.IntervalSet.getIntervalsInRange
(T fromKey, T toKey) Returns all intervals whose start keys fall within the specified range [fromKey, toKey].IntervalSet.iterator()
Returns an iterator over all stored intervals in ascending order by start key.Methods in com.cedarsoftware.util with parameters of type IntervalSet.Interval