com.flagstone.transform.action
Class TableIndex

java.lang.Object
  extended by com.flagstone.transform.action.TableIndex

public final class TableIndex
extends Object

TableIndex is used with an Push action to push a reference to an entry in a Table of string literals onto the stack.

See Also:
Table, Push

Constructor Summary
TableIndex(int anIndex)
          Creates a TableIndex object referencing the value stored in the literal table.
 
Method Summary
 int getIndex()
          Get the index in the table of string literals.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableIndex

public TableIndex(int anIndex)
Creates a TableIndex object referencing the value stored in the literal table.

Parameters:
anIndex - the index into the literal table. Must be in the range 0..65535.
Method Detail

getIndex

public int getIndex()
Get the index in the table of string literals.

Returns:
the index of the string literal.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.