Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.cobol
Class CobolWords.Word

java.lang.Object
  extended bycom.ibm.lpex.cobol.CobolWords.Word

Enclosing class:
CobolWords


public static class CobolWords.Word
extends Object

This class is used to combine a keyword String with an id int.


Constructor Summary
CobolWords.Word(String string)
          Construct an instance of Word with only a string.
CobolWords.Word(String string, int id)
          Construct an instance of Word with the given string and id.
 
Method Summary
 int id()
          Return the Word's id.
 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

 

 

CobolWords.Word

public CobolWords.Word(String string,
                       int id)

Construct an instance of Word with the given string and id.


 

 

CobolWords.Word

public CobolWords.Word(String string)

Construct an instance of Word with only a string. This can be used if no id is necessary.

Method Detail

 

 

toString

public String toString()

Return the Word as a string.


 

 

id

public int id()

Return the Word's id.


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD