@Immutable public final class SAParagraphNumberPSSP extends SAParagraphNumber
Constructor and Description |
---|
SAParagraphNumberPSSP(int in_part,
int in_section,
int in_subsection,
int in_paragraph)
Construct a new paragraph number
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SAParagraphNumber o) |
boolean |
equals(Object obj) |
int |
getParagraph() |
int |
getPart() |
int |
getSection() |
int |
getSubsection() |
int |
hashCode() |
<T> T |
paragraphNumberAccept(SAParagraphNumberVisitor<T> v)
Accept a paragraph number visitor.
|
String |
paragraphNumberFormat() |
String |
toString() |
subsectionContentNumberAccept
public SAParagraphNumberPSSP(int in_part, int in_section, int in_subsection, int in_paragraph)
in_part
- The part numberin_section
- The section numberin_subsection
- The subsection numberin_paragraph
- The paragraph numberpublic int compareTo(@Nullable SAParagraphNumber o)
public int getParagraph()
getParagraph
in class SAParagraphNumber
public int getPart()
public int getSection()
public int getSubsection()
public <T> T paragraphNumberAccept(SAParagraphNumberVisitor<T> v) throws Exception
SAParagraphNumber
paragraphNumberAccept
in class SAParagraphNumber
T
- The type of values returned by the visitorv
- The visitorException
- If the visitor raises an Exception
public String paragraphNumberFormat()
paragraphNumberFormat
in class SAParagraphNumber
Copyright © 2017 <code@io7m.com> http://io7m.com