# Uses of Class
com.norconex.commons.lang.CircularRange

Packages that use CircularRange
Package
Description
com.norconex.commons.lang
Miscellaneous classes.

- ## Uses of CircularRange in com.norconex.commons.lang

  Methods in com.norconex.commons.lang that return CircularRange
  Modifier and Type
  Method
  Description
  `static <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<T>`
  CircularRange.`withCircularBoundaries(T circleStartInclusive, T circleEndInclusive)`
  Obtains a new range with the specified circular start and end values (both inclusive).
  `CircularRange<T>`
  CircularRange.`withRange(T rangeFromInclusive, T rangeToInclusive)`
  Obtains a new range with the specified minimum and maximum range values (both inclusive).
  Methods in com.norconex.commons.lang with parameters of type CircularRange
  Modifier and Type
  Method
  Description
  `boolean`
  CircularRange.`containsRange(CircularRange<T> otherRange)`
  Checks whether this range contains all the elements of the specified range.
  `boolean`
  CircularRange.`isOverlappedBy(CircularRange<T> otherRange)`
  Checks whether this range is overlapped by the specified range.