Uses of Class
com.norconex.commons.lang.CircularRange
Packages that use CircularRange
-
Uses of CircularRange in com.norconex.commons.lang
Methods in com.norconex.commons.lang that return CircularRangeModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
CircularRange<T> CircularRange.between(T fromInclusive, T toInclusive) Obtains a range with the specified minimum and maximum values also serving as circular start and end (all inclusive).static <T> CircularRange<T> CircularRange.between(T fromInclusive, T toInclusive, Comparator<T> comparator) Obtains a range with the specified minimum and maximum values also serving as circular start and end (all inclusive).static <T extends Comparable<T>>
CircularRange<T> CircularRange.between(T circleStartInclusive, T circleEndInclusive, T rangeFromInclusive, T rangeToInclusive) Obtains a range with the specified minimum and maximum values and circular start and end values (all inclusive).static <T> CircularRange<T> CircularRange.between(T circleStartInclusive, T circleEndInclusive, T rangeFromInclusive, T rangeToInclusive, Comparator<T> comparator) Obtains a range with the specified minimum and maximum values and circular start and end values (all inclusive).static <T extends Comparable<T>>
CircularRange<T> CircularRange.is(T element) Obtains a range using the specified element as both the minimum and maximum in this range and as both circular start and end.static <T> CircularRange<T> CircularRange.is(T element, Comparator<T> comparator) Obtains a range using the specified element as both the minimum and maximum in this range and as both circular start and end.CircularRange.withCircularBoundaries(T circleStartInclusive, T circleEndInclusive) Obtains a new range with the specified circular start and end values (both inclusive).Obtains a new range with the specified minimum and maximum range values (both inclusive).Methods in com.norconex.commons.lang with parameters of type CircularRangeModifier and TypeMethodDescriptionbooleanCircularRange.containsRange(CircularRange<T> otherRange) Checks whether this range contains all the elements of the specified range.booleanCircularRange.isOverlappedBy(CircularRange<T> otherRange) Checks whether this range is overlapped by the specified range.