Enum RoadConnection.ClockwiseBoundType

    • Enum Constant Detail

      • EXCLUDE_START_SEGMENT

        public static final RoadConnection.ClockwiseBoundType EXCLUDE_START_SEGMENT
        The start segment is excluded from iterations. Caution, if the end segment is the same as the start segment, the segment is still replied as the last segment.
      • EXCLUDE_END_SEGMENT

        public static final RoadConnection.ClockwiseBoundType EXCLUDE_END_SEGMENT
        The end segment is excluded from iterations. Caution, if the end segment is the same as the start segment, the segment is still replied as the first segment.
    • Method Detail

      • values

        public static RoadConnection.ClockwiseBoundType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RoadConnection.ClockwiseBoundType c : RoadConnection.ClockwiseBoundType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RoadConnection.ClockwiseBoundType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • includeStart

        @Pure
        public boolean includeStart()
        Replies if the current constant includes the start connection point.
        Returns:
        true if this type of inclusion allows the start segment to be iterated, otherwise false
      • includeEnd

        @Pure
        public boolean includeEnd()
        Replies if the current constant includes the end connection point.
        Returns:
        true if this type of inclusion allows the end segment to be iterated, otherwise false