Package de.xima.fc.utils.range
Interface EndpointType
-
- All Known Subinterfaces:
EndpointDescriptor
- All Known Implementing Classes:
Endpoint
,EndpointDescriptors
,EndpointTypes
public interface EndpointType
Interface 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.BoundType
getBoundType()
EndpointDirection
getDirection()
-
-
-
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.
-
-