Package | Description |
---|---|
de.xima.fc.utils.range |
Modifier and Type | Class and Description |
---|---|
class |
Endpoint<C extends Comparable>
POJO class describing an end point of a range, either a lower or upper end point.
|
class |
EndpointDescriptors
An enumeration with implementations of
EndpointDescriptor s. |
Modifier and Type | Method and Description |
---|---|
static EndpointDescriptor |
EndpointDescriptors.lower(com.google.common.collect.BoundType boundType) |
static EndpointDescriptor |
EndpointDescriptors.lower(com.google.common.collect.Range<?> range) |
default EndpointDescriptor |
EndpointAccessor.toDescriptor(T item)
Creates an endpoint descriptor describing the endpoint of held by the given item.
|
static EndpointDescriptor |
EndpointDescriptors.upper(com.google.common.collect.BoundType boundType) |
static EndpointDescriptor |
EndpointDescriptors.upper(com.google.common.collect.Range<?> range) |
Modifier and Type | Method and Description |
---|---|
static <C extends Comparable> |
RangeUtils.createRange(C lower,
EndpointDescriptor lowerDesc,
C upper,
EndpointDescriptor upperDesc)
Creates a range from two end points.
|
static <C extends Comparable> |
Endpoint.of(C point,
EndpointDescriptor descriptor) |
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.