Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<T>> |
Range.closed(T from,
T to)
Creates a new
Range with inclusive bounds for both values. |
static <T extends Comparable<T>> |
Range.just(T value)
Creates a new Range with the given value as sole member.
|
static <T extends Comparable<T>> |
Range.leftOpen(T from,
T to)
Creates a new left-open
Range , i.e. left exclusive, right inclusive. |
static <T extends Comparable<T>> |
Range.leftUnbounded(Range.Bound<T> to)
Creates a left-unbounded
Range (the left bound set to Range.Bound.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.open(T from,
T to)
Creates a new
Range with inclusive bounds for both values. |
static <T extends Comparable<T>> |
Range.rightOpen(T from,
T to)
Creates a new right-open
Range , i.e. left inclusive, right exclusive. |
static <T extends Comparable<T>> |
Range.rightUnbounded(Range.Bound<T> from)
Creates a right-unbounded
Range (the right bound set to Range.Bound.unbounded() ) with the given left
bound. |
Range<T> |
Range.RangeBuilder.to(Range.Bound<T> upper)
Create a
Range given the upper Range.Bound . |
static <T extends Comparable<T>> |
Range.unbounded()
Returns an unbounded
Range . |
Modifier and Type | Method and Description |
---|---|
static Range<Distance> |
Distance.between(Distance min,
Distance max)
|
static Range<Distance> |
Distance.between(double minValue,
Metric minMetric,
double maxValue,
Metric maxMetric)
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.