| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static <T> Range.Boundary<T> |
excluding(T value)
Create a
Range.Boundary based on the value that excludes the value when comparing ranges. |
T |
getValue() |
int |
hashCode() |
static <T> Range.Boundary<T> |
including(T value)
Create a
Range.Boundary based on the value that includes the value when comparing ranges. |
boolean |
isIncluding() |
String |
toString() |
static <T> Range.Boundary<T> |
unbounded()
Creates an unbounded (infinite) boundary that marks the beginning/end of the range.
|
public static <T> Range.Boundary<T> unbounded()
T - inferred type.public static <T> Range.Boundary<T> including(T value)
Range.Boundary based on the value that includes the value when comparing ranges. Greater or
equals, less or equals. but not Greater or equal, less or equal to value.T - value type.value - must not be null.Range.Boundary.public static <T> Range.Boundary<T> excluding(T value)
Range.Boundary based on the value that excludes the value when comparing ranges. Greater or less
to value but not greater or equal, less or equal.T - value type.value - must not be null.Range.Boundary.public T getValue()
public boolean isIncluding()
Copyright © 2019 lettuce.io. All rights reserved.