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 with
EndpointDescriptor
, a type is not associated with an actual point and thus has no notion
EndpointDescriptor.hasBound()
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.BoundType
-
Method Details
-
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.
-