|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ibm.lpex.cobol.CobolWords.Word
This class is used to combine a word with an id.
| Constructor Summary | |
CobolWords.Word(java.lang.String string)
Construct an instance of Word with only a string. |
|
CobolWords.Word(java.lang.String string,
int id)
Construct an instance of Word with the given string and id. |
|
| Method Summary | |
int |
id()
Return the Word's id. |
java.lang.String |
toString()
Return the Word as a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CobolWords.Word(java.lang.String string,
int id)
public CobolWords.Word(java.lang.String string)
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic int id()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||