## Uses of Class
org.springframework.data.domain.Range

Packages that use Range
org.springframework.data.domain: Central domain abstractions especially to be used in combination with the `Repository` abstraction.
org.springframework.data.geo: Value types representing geo-spatial concepts.

### Uses of Range in org.springframework.data.domain

Methods in org.springframework.data.domain that return Range
`static <T extends Comparable<T>> Range<T>` Range.`closed(T from, T to)` Creates a new `Range` with inclusive bounds for both values.
`static <T extends Comparable<T>> Range<T>` Range.`just(T value)` Creates a new Range with the given value as sole member.
`static <T extends Comparable<T>> Range<T>` Range.`leftOpen(T from, T to)` Creates a new left-open `Range`, i.e. left exclusive, right inclusive.
`static <T extends Comparable<T>> Range<T>` Range.`leftUnbounded(Range.Bound<T> to)` Creates a left-unbounded `Range` (the left bound set to `Range.Bound.unbounded()`) with the given right bound.
`static <T extends Comparable<T>> Range<T>` Range.`of(Range.Bound<T> lowerBound, Range.Bound<T> upperBound)` Creates a new `Range` with the given lower and upper bound.
`static <T extends Comparable<T>> Range<T>` Range.`open(T from, T to)` Creates a new `Range` with exclusive bounds for both values.
`static <T extends Comparable<T>> Range<T>` Range.`rightOpen(T from, T to)` Creates a new right-open `Range`, i.e. left inclusive, right exclusive.
`static <T extends Comparable<T>> Range<T>` Range.`rightUnbounded(Range.Bound<T> from)` Creates a right-unbounded `Range` (the right bound set to `Range.Bound.unbounded()`) with the given left bound.
`Range<T>` Range.RangeBuilder.`to(Range.Bound<T> upper)` Create a `Range` given the upper `Range.Bound`.
`static <T extends Comparable<T>> Range<T>` Range.`unbounded()` Returns an unbounded `Range`.

### Uses of Range in org.springframework.data.geo

Methods in org.springframework.data.geo that return Range
`static Range<Distance>` Distance.`between(Distance min, Distance max)` Creates a `Range` between the given `Distance`.
`static Range<Distance>` Distance.`between(double minValue, Metric minMetric, double maxValue, Metric maxMetric)` Creates a new `Range` by creating minimum and maximum `Distance` from the given values.