Uses of Class
org.springframework.data.domain.Range
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.Value types representing geo-spatial concepts.
-
Uses of Range in org.springframework.data.domain
Modifier and TypeMethodDescriptionstatic <T> Range<T>
Range.closed
(T from, T to) Creates a newRange
with inclusive bounds for both values.static <T> Range<T>
Range.just
(T value) Creates a new Range with the given value as sole member.static <T> Range<T>
Range.leftOpen
(T from, T to) Creates a new left-openRange
, i.e. left exclusive, right inclusive.static <T> Range<T>
Range.leftUnbounded
(Range.Bound<T> to) Creates a left-unboundedRange
(the left bound set toRange.Bound.unbounded()
) with the given right bound.<R> Range<R>
Apply a mappingFunction
to the lower and upper boundary values.static <T> Range<T>
Range.of
(Range.Bound<T> lowerBound, Range.Bound<T> upperBound) Creates a newRange
with the given lower and upper bound.static <T> Range<T>
Range.open
(T from, T to) Creates a newRange
with exclusive bounds for both values.static <T> Range<T>
Range.rightOpen
(T from, T to) Creates a new right-openRange
, i.e. left inclusive, right exclusive.static <T> Range<T>
Range.rightUnbounded
(Range.Bound<T> from) Creates a right-unboundedRange
(the right bound set toRange.Bound.unbounded()
) with the given left bound.Range.RangeBuilder.to
(Range.Bound<T> upper) Create aRange
given the upperRange.Bound
.static <T> Range<T>
Range.unbounded()
Returns an unboundedRange
. -
Uses of Range in org.springframework.data.geo
Modifier and TypeMethodDescription