@Immutable public final class SASubsectionNumberSS extends SASubsectionNumber
Constructor and Description |
---|
SASubsectionNumberSS(int in_section,
int in_subsection)
Construct a new subsection number
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getSection() |
int |
getSubsection() |
int |
hashCode() |
<T> T |
subsectionNumberAccept(SASubsectionNumberVisitor<T> v)
Accept a subsection number visitor.
|
String |
subsectionNumberFormat() |
String |
toString() |
public SASubsectionNumberSS(int in_section, int in_subsection)
in_section
- The section numberin_subsection
- The subsection numberpublic int getSection()
public int getSubsection()
public <T> T subsectionNumberAccept(SASubsectionNumberVisitor<T> v) throws Exception
SASubsectionNumber
subsectionNumberAccept
in class SASubsectionNumber
T
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises an Exception
public String subsectionNumberFormat()
subsectionNumberFormat
in class SASubsectionNumber
Copyright © 2017 <code@io7m.com> http://io7m.com