Package de.xima.fc.utils.range
Interface EndpointType
-
- All Known Subinterfaces:
EndpointDescriptor
- All Known Implementing Classes:
Endpoint,EndpointDescriptors,EndpointTypes
public interface EndpointTypeInterface for a handler that describes an end of an interval. Only four combinations are possible:[(lower closed),](upper closed},((lower open}, and)(upper open}. Compared withEndpointDescriptor, a type is not associated with an actual point and thus has no notionEndpointDescriptor.hasBound().- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.collect.BoundTypegetBoundType()EndpointDirectiongetDirection()
-
-
-
Method Detail
-
getBoundType
com.google.common.collect.BoundType getBoundType()
- Returns:
- Whether the interval end is open or closed.
-
getDirection
EndpointDirection getDirection()
- Returns:
- Whether the interval end is a lower or upper end.
-
-