|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.lpex.cobol.CobolWords.Word
public static class CobolWords.Word
This class is used to combine a keyword String with
an id int.
| Constructor Summary | |
|---|---|
CobolWords.Word(String string)
Constructs an instance of Word with only a string. |
|
CobolWords.Word(String string,
int id)
Constructs an instance of Word with the given string and id. |
|
| Method Summary | |
|---|---|
int |
id()
Returns the Word's id. |
String |
toString()
Returns 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(String string,
int id)
public CobolWords.Word(String string)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic int id()
|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||