Uses of Class
org.springframework.data.domain.Range.Bound
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.-
Uses of Range.Bound in org.springframework.data.domain
Modifier and TypeMethodDescriptionstatic Range.Bound<Double>
Range.Bound.exclusive
(double value) Creates a boundary excludingvalue
.static Range.Bound<Float>
Range.Bound.exclusive
(float value) Creates a boundary excludingvalue
.static Range.Bound<Integer>
Range.Bound.exclusive
(int value) Creates a boundary excludingvalue
.static Range.Bound<Long>
Range.Bound.exclusive
(long value) Creates a boundary excludingvalue
.static <T extends Comparable<T>>
Range.Bound<T>Range.Bound.exclusive
(T value) Creates a boundary excludingvalue
.Range.getLowerBound()
Range.getUpperBound()
static Range.Bound<Double>
Range.Bound.inclusive
(double value) Creates a boundary includingvalue
.static Range.Bound<Float>
Range.Bound.inclusive
(float value) Creates a boundary includingvalue
.static Range.Bound<Integer>
Range.Bound.inclusive
(int value) Creates a boundary includingvalue
.static Range.Bound<Long>
Range.Bound.inclusive
(long value) Creates a boundary includingvalue
.static <T extends Comparable<T>>
Range.Bound<T>Range.Bound.inclusive
(T value) Creates a boundary includingvalue
.static <T extends Comparable<T>>
Range.Bound<T>Range.Bound.unbounded()
Creates an unboundedRange.Bound
.Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
Range.RangeBuilder<T>Range.from
(Range.Bound<T> lower) Create aRange.RangeBuilder
given the lowerRange.Bound
.static <T extends Comparable<T>>
Range<T>Range.leftUnbounded
(Range.Bound<T> to) Creates a left-unboundedRange
(the left bound set tounbounded()
) with the given right bound.static <T extends Comparable<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 extends Comparable<T>>
Range<T>Range.rightUnbounded
(Range.Bound<T> from) Creates a right-unboundedRange
(the right bound set tounbounded()
) with the given left bound.Range.RangeBuilder.to
(Range.Bound<T> upper) Create aRange
given the upperRange.Bound
.