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)
throws com.io7m.jaux.Constraints.ConstraintError
in_section - The section numbercom.io7m.jaux.Constraints.ConstraintError - If any parameter is outside of the range
[1, Integer.MAX_VALUE]public int getSection()
public <T> T sectionNumberAccept(@Nonnull SASectionNumberVisitor<T> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SASectionNumbersectionNumberAccept in class SASectionNumberT - The type of values returned by the visitorv - The visitorcom.io7m.jaux.Constraints.ConstraintError - If the visitor raises Constraints.ConstraintErrorException - If the visitor raises an Exceptionpublic String sectionNumberFormat()
sectionNumberFormat in class SASectionNumberpublic <T> T segmentNumberAccept(@Nonnull SASegmentNumberVisitor<T> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SASegmentNumberCopyright © 2014 <code@io7m.com> http://io7m.com