org.extex.ocpware.compiler.type
Class Table

java.lang.Object
  extended by org.extex.ocpware.compiler.type.Table

public class Table
extends java.lang.Object

This class represents a table of character values as two byte numbers.

Version:
$Revision:6007 $
Author:
Gerd Neugebauer

Constructor Summary
Table(java.lang.String name, int[] contents)
          Creates a new object.
 
Method Summary
 int[] getContents()
          Getter for contents.
 java.lang.String getName()
          Getter for name.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table(java.lang.String name,
             int[] contents)
Creates a new object.

Parameters:
name - the name of the table
contents - the items
Method Detail

getContents

public int[] getContents()
Getter for contents.

Returns:
the contents

getName

public java.lang.String getName()
Getter for name.

Returns:
the name

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()