@Immutable public final class SASubsectionNumberPSS extends SASubsectionNumber
Constructor and Description |
---|
SASubsectionNumberPSS(int in_part,
int in_section,
int in_subsection)
Construct a new subsection number
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getPart() |
int |
getSection() |
int |
getSubsection() |
int |
hashCode() |
<T> T |
subsectionNumberAccept(SASubsectionNumberVisitor<T> v)
Accept a subsection number visitor.
|
String |
subsectionNumberFormat() |
String |
toString() |
public SASubsectionNumberPSS(int in_part, int in_section, int in_subsection)
in_part
- The part numberin_section
- The section numberin_subsection
- The subsection numberpublic int getPart()
public 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