@Immutable public final class SASectionNumberS extends SASectionNumber
Constructor and Description |
---|
SASectionNumberS(int in_section)
Construct a new section number
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getSection() |
int |
hashCode() |
<T> T |
sectionNumberAccept(SASectionNumberVisitor<T> v)
Accept a section number visitor.
|
String |
sectionNumberFormat() |
<T> T |
segmentNumberAccept(SASegmentNumberVisitor<T> v)
Accept a segment number visitor.
|
String |
toString() |
public SASectionNumberS(int in_section)
in_section
- The section numberpublic int getSection()
public <T> T sectionNumberAccept(SASectionNumberVisitor<T> v) throws Exception
SASectionNumber
sectionNumberAccept
in class SASectionNumber
T
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises an Exception
public String sectionNumberFormat()
sectionNumberFormat
in class SASectionNumber
public <T> T segmentNumberAccept(SASegmentNumberVisitor<T> v) throws Exception
SASegmentNumber
Copyright © 2017 <code@io7m.com> http://io7m.com