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)
throws com.io7m.jaux.Constraints.ConstraintError
in_part - The part numberin_section - The section numberin_subsection - The subsection numbercom.io7m.jaux.Constraints.ConstraintError - If any parameter is outside of the range
[1, Integer.MAX_VALUE]public int getPart()
public int getSection()
public int getSubsection()
public <T> T subsectionNumberAccept(SASubsectionNumberVisitor<T> v) throws com.io7m.jaux.Constraints.ConstraintError, Exception
SASubsectionNumbersubsectionNumberAccept in class SASubsectionNumberT - 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 subsectionNumberFormat()
subsectionNumberFormat in class SASubsectionNumberCopyright © 2014. All rights reserved.