Class PowerLines.SegmentInfo
- java.lang.Object
-
- org.openstreetmap.josm.data.validation.tests.PowerLines.SegmentInfo
-
- Enclosing class:
- PowerLines
private static class PowerLines.SegmentInfo extends java.lang.Object
Helper class for reference numbering test. Used for storing continuous reference segment info.
-
-
Field Summary
Fields Modifier and Type Field Description private PowerLines.NumberingDirection
direction
Segment directionprivate int
length
Segment lengthprivate int
startIndex
Node index, follows way directionprivate int
startRef
ref=* value atstartIndex
-
Constructor Summary
Constructors Constructor Description SegmentInfo(int startIndex, int length, int ref, PowerLines.NumberingDirection direction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
startIndex
private final int startIndex
Node index, follows way direction
-
startRef
private final int startRef
ref=* value atstartIndex
-
length
private final int length
Segment length
-
direction
private final PowerLines.NumberingDirection direction
Segment direction
-
-
Constructor Detail
-
SegmentInfo
SegmentInfo(int startIndex, int length, int ref, PowerLines.NumberingDirection direction)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-