Package org.springframework.data.domain
Class Range.RangeBuilder<T extends Comparable<T>>
java.lang.Object
org.springframework.data.domain.Range.RangeBuilder<T>
- Enclosing class:
- Range<T extends Comparable<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:
-