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.NumberingDirectiondirectionSegment directionprivate intlengthSegment lengthprivate intstartIndexNode index, follows way directionprivate intstartRefref=* 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.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-