Package | Description |
---|---|
de.xima.fc.utils.range |
Modifier and Type | Class and Description |
---|---|
class |
EndpointTypeComparators
An enumeration with implementations of
EndpointTypeComparator . |
Modifier and Type | Method and Description |
---|---|
static EndpointTypeComparator |
EndpointTypes.createComparator(EndpointTypes... order)
Creates a new end point comparator that compares end points in the given order.
|
static EndpointTypeComparator |
EndpointTypeComparators.createComparator(EndpointTypes... order)
Creates a new end point comparator that compares end points in the given order.
|
Modifier and Type | Method and Description |
---|---|
static <T,C extends Comparable> |
RangeUtils.compareByEndpoint(T lhs,
EndpointAccessor<T,C> lhsEndpoint,
T rhs,
EndpointAccessor<T,C> rhsEndpoint,
EndpointTypeComparator comparator)
Compares to endpoints of a range.
|
default int |
EndpointAccessor.compareByEndpoint(T lhs,
T rhs,
EndpointTypeComparator comparator)
Compares the given items by the end points they hold.
|
default Comparator<T> |
EndpointAccessor.createByEndpointComparator(EndpointTypeComparator comparator) |
static <C extends Comparable> |
Endpoint.createComparator(EndpointTypeComparator comparator) |
static <T,C extends Comparable> |
RangeUtils.findOverlappingDepth(List<T> items,
Function<T,com.google.common.collect.Range<C>> rangeAccessor,
EndpointTypeComparator comparator)
Finds the overlapping depth of each given range.
|
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.