Class RelationSortUtils
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.relation.sort.RelationSortUtils
-
final class RelationSortUtils extends java.lang.Object
Utility classes for theRelationSorter
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RelationSortUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static boolean
isBackward(IRelationMember<?> member)
(package private) static boolean
isForward(IRelationMember<?> member)
(package private) static boolean
isOneway(IRelationMember<?> member)
(package private) static WayConnectionType.Direction
roundaboutType(IRelationMember<?> member)
determine, if the way i is a roundabout and if yes, what type of roundabout(package private) static <W extends IWay<?>>
WayConnectionType.DirectionroundaboutType(W w)
Check if a way is a roundabout type
-
-
-
Constructor Detail
-
RelationSortUtils
private RelationSortUtils()
-
-
Method Detail
-
roundaboutType
static WayConnectionType.Direction roundaboutType(IRelationMember<?> member)
determine, if the way i is a roundabout and if yes, what type of roundabout- Parameters:
member
- relation member- Returns:
- roundabout type
- Since:
- 17862 (generics)
-
roundaboutType
static <W extends IWay<?>> WayConnectionType.Direction roundaboutType(W w)
Check if a way is a roundabout type- Type Parameters:
W
- The way type- Parameters:
w
- The way to check- Returns:
- The roundabout type
- Since:
- 17862 (generics)
-
isBackward
static boolean isBackward(IRelationMember<?> member)
-
isForward
static boolean isForward(IRelationMember<?> member)
-
isOneway
static boolean isOneway(IRelationMember<?> member)
-
-