public interface EndpointTypeComparator
Modifier and Type | Method and Description |
---|---|
int |
compare(EndpointDirection lhsDirection,
com.google.common.collect.BoundType lhsBoundType,
EndpointDirection rhsDirection,
com.google.common.collect.BoundType rhsBoundType)
Compares two end points.
|
default int |
compare(EndpointType lhs,
EndpointType rhs)
Compares two end points.
|
int compare(EndpointDirection lhsDirection, com.google.common.collect.BoundType lhsBoundType, EndpointDirection rhsDirection, com.google.common.collect.BoundType rhsBoundType)
lhsDirection
- The direction of the first end point.lhsBoundType
- The bound type of the first end point.rhsDirection
- The direction of the second end point.rhsBoundType
- The bound type of the second end point.-1
if the first end point is less than the second end point, 0
if both end points are
equals, or +1
otherwise.default int compare(EndpointType lhs, EndpointType rhs)
lhs
- First end point to compare.rhs
- Second end point to compare.-1
if the first end point is less than the second end point, 0
if both end points are
equals, or +1
otherwise.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.