Package org.springframework.data.domain
Class Range.RangeBuilder<T>
java.lang.Object
org.springframework.data.domain.Range.RangeBuilder<T>
Builder for
Range
allowing to specify the upper boundary.- Since:
- 2.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionto
(Range.Bound<T> upper) Create aRange
given the upperRange.Bound
.
-
Method Details
-
to
Create aRange
given the upperRange.Bound
.- Parameters:
upper
- must not be null.- Returns:
-