Uses of Interface
de.xima.fc.utils.range.EndpointAccessor
-
Packages that use EndpointAccessor Package Description de.xima.fc.utils.range -
-
Uses of EndpointAccessor in de.xima.fc.utils.range
Classes in de.xima.fc.utils.range that implement EndpointAccessor Modifier and Type Class Description class
Endpoint<C extends Comparable>
POJO class describing an end point of a range, either a lower or upper end point.class
EndpointAccessorsIdentity
An enumeration containing instances ofEndpointAccessor
, forRange.lowerEndpoint()
s orRange.upperEndpoint()
.class
EndpointAccessorsRange
An enumeration with implementations ofEndpointAccessor
s for accessing the end points ofRange
objects.Methods in de.xima.fc.utils.range that return EndpointAccessor Modifier and Type Method Description static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. lowerEndpoint()
static <C extends Comparable>
EndpointAccessor<C,C>EndpointAccessorsIdentity. lowerEndpointClosed()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. lowerEndpointClosed()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. lowerEndpointInverted()
static <C extends Comparable>
EndpointAccessor<C,C>EndpointAccessorsIdentity. lowerEndpointOpen()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. lowerEndpointOpen()
default <R extends Comparable>
EndpointAccessor<T,R>EndpointAccessor. mapping(Function<C,R> mapper)
static <T,C extends Comparable>
EndpointAccessor<T,C>EndpointAccessorsIdentity. negativeInfinity()
static <T,C extends Comparable>
EndpointAccessor<T,C>EndpointAccessorsIdentity. positiveInfinity()
default <C extends Comparable>
EndpointAccessor<C,C>EndpointDescriptor. toAcessor()
Converts this descriptor into an end point accessor for a given point object.static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. upperEndpoint()
static <C extends Comparable>
EndpointAccessor<C,C>EndpointAccessorsIdentity. upperEndpointClosed()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. upperEndpointClosed()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. upperEndpointInverted()
static <C extends Comparable>
EndpointAccessor<C,C>EndpointAccessorsIdentity. upperEndpointOpen()
static <C extends Comparable>
EndpointAccessor<com.google.common.collect.Range<C>,C>EndpointAccessorsRange. upperEndpointOpen()
Methods in de.xima.fc.utils.range with parameters of type EndpointAccessor Modifier and Type Method Description static <T,C extends Comparable>
intRangeUtils. compareByEndpoint(T lhs, EndpointAccessor<T,C> lhsEndpoint, T rhs, EndpointAccessor<T,C> rhsEndpoint)
Compares to endpoints of a range.static <T,C extends Comparable>
intRangeUtils. compareByEndpoint(T lhs, EndpointAccessor<T,C> lhsEndpoint, T rhs, EndpointAccessor<T,C> rhsEndpoint, EndpointTypeComparator comparator)
Compares to endpoints of a range.static <T,C extends Comparable>
com.google.common.collect.Range<C>RangeUtils. createRange(T lhs, EndpointAccessor<T,C> lhsEndpoint, T rhs, EndpointAccessor<T,C> rhsEndpoint)
Creates a range from two end points.static <C extends Comparable,T extends Comparable>
com.google.common.collect.Range<T>RangeUtils. mapRange(com.google.common.collect.Range<C> range, Function<C,T> mapper, EndpointAccessor<com.google.common.collect.Range<C>,C> lowerAccessor, EndpointAccessor<com.google.common.collect.Range<C>,C> upperAccessor)
Returns a new range with the points mapped by the given mapping function.static <C extends Comparable,T extends Comparable>
com.google.common.collect.Range<T>RangeUtils. mapRange(com.google.common.collect.Range<C> range, Function<C,T> lowerMapper, EndpointAccessor<com.google.common.collect.Range<C>,C> lowerAccessor, Function<C,T> upperMapper, EndpointAccessor<com.google.common.collect.Range<C>,C> upperAccessor)
Returns a new range with the points mapped by the given mapping function.static <T,C extends Comparable>
Endpoint<C>Endpoint. of(T item, EndpointAccessor<T,C> accessor)
Constructors in de.xima.fc.utils.range with parameters of type EndpointAccessor Constructor Description Endpoint(T item, EndpointAccessor<T,C> endpoint)
-