|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.site.elkb.SubSection
public class SubSection
Represents a Roget's Thesaurus Sub-section. A Sub-section may or may not exist. Here is an example:
Constructor Summary | |
---|---|
SubSection()
Default constructor. |
|
SubSection(int start)
Constructor which sets the number of the first Head. |
|
SubSection(int start,
java.lang.String sInfo)
Constructor which sets the number of the first Head and the name of the Section supplied as a string to be parsed. |
|
SubSection(java.lang.String sInfo)
Constructor which sets the name of the Section by parsing a string. |
Method Summary | |
---|---|
void |
addGroup(Group group)
Adds a Head Group to this Sub-section. |
int |
getGroupCount()
Returns the number of Head groups in this Sub-section. |
java.util.ArrayList<Group> |
getGroupList()
Returns the list of Head groups in this Sub-section. |
int |
getHeadCount()
Returns the number of Heads in this Sub-section. |
int |
getHeadStart()
Returns the number of the first Head in this Sub-section. |
void |
print()
Displays the content of a Sub-section in a similar way to Roget's Thesaurus Tabular Synopisis of Categories to the standard output. |
void |
setHeadStart(int start)
Sets the number of the first Head in this Sub-section. |
java.lang.String |
toString()
Converts to a string representation the SubSection object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubSection()
public SubSection(int start)
start
- public SubSection(java.lang.String sInfo)
^subSectionTitle>#Abstract#^/subSectionTitle>
sInfo
- public SubSection(int start, java.lang.String sInfo)
^subSectionTitle>#Abstract#^/subSectionTitle>
start
- sInfo
- Method Detail |
---|
public java.util.ArrayList<Group> getGroupList()
public void addGroup(Group group)
group
- public int getHeadCount()
public int getGroupCount()
public void setHeadStart(int start)
start
- public int getHeadStart()
public void print()
Absolute: 9 Relation 10 Unrelatedness
11 Consanguinity
12 Correlation
13 Identity 14 Contrariety
15 Difference
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |