Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
Modifier and Type | Method and Description |
---|---|
static Range.Bound<Double> |
Range.Bound.exclusive(double value)
Creates a boundary excluding
value . |
static Range.Bound<Float> |
Range.Bound.exclusive(float value)
Creates a boundary excluding
value . |
static Range.Bound<Integer> |
Range.Bound.exclusive(int value)
Creates a boundary excluding
value . |
static Range.Bound<Long> |
Range.Bound.exclusive(long value)
Creates a boundary excluding
value . |
static <T extends Comparable<T>> |
Range.Bound.exclusive(T value)
Creates a boundary excluding
value . |
@NonNull Range.Bound<T> |
Range.getLowerBound()
The lower bound of the range.
|
@NonNull Range.Bound<T> |
Range.getUpperBound()
The upper bound of the range.
|
static Range.Bound<Double> |
Range.Bound.inclusive(double value)
Creates a boundary including
value . |
static Range.Bound<Float> |
Range.Bound.inclusive(float value)
Creates a boundary including
value . |
static Range.Bound<Integer> |
Range.Bound.inclusive(int value)
Creates a boundary including
value . |
static Range.Bound<Long> |
Range.Bound.inclusive(long value)
Creates a boundary including
value . |
static <T extends Comparable<T>> |
Range.Bound.inclusive(T value)
Creates a boundary including
value . |
static <T extends Comparable<T>> |
Range.Bound.unbounded()
Creates an unbounded
Range.Bound . |
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<T>> |
Range.from(Range.Bound<T> lower)
Create a
Range.RangeBuilder given the lower Range.Bound . |
static <T extends Comparable<T>> |
Range.leftUnbounded(Range.Bound<T> to)
Creates a left-unbounded
Range (the left bound set to unbounded() ) with the given right
bound. |
static <T extends Comparable<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.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.rightUnbounded(Range.Bound<T> from)
Creates a right-unbounded
Range (the right bound set to unbounded() ) with the given left
bound. |
Range<T> |
Range.RangeBuilder.to(Range.Bound<T> upper)
Create a
Range given the upper Range.Bound . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.