public static class Range.RangeBuilder<T extends Comparable<T>> extends Object
Range allowing to specify the upper boundary.| Modifier and Type | Method and Description |
|---|---|
Range<T> |
to(Range.Bound<T> upper)
Create a
Range given the upper Range.Bound. |
public Range<T> to(Range.Bound<T> upper)
Range given the upper Range.Bound.upper - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.