| java.lang.Object tcl.lang.TclIndex
Method Summary | |
public void | dispose() Implement this no-op for the InternalRep interface. | public InternalRep | duplicate() Returns a dupilcate of the current object. | public static int | get(Interp interp, TclObject tobj, String[] table, String msg, int flags) Tcl_GetIndexFromObj -> get
Gets the index into the table of the object. | void | testUpdateIndex(int index) | public String | toString() Called to query the string representation of the Tcl object. |
dispose | public void dispose()(Code) | | Implement this no-op for the InternalRep interface.
|
duplicate | public InternalRep duplicate()(Code) | | Returns a dupilcate of the current object.
Parameters: obj - the TclObject that contains this internalRep. |
get | public static int get(Interp interp, TclObject tobj, String[] table, String msg, int flags) throws TclException(Code) | | Tcl_GetIndexFromObj -> get
Gets the index into the table of the object. Generate an error
it it doesn't occur. This also converts the object to an index
which should catch the lookup for speed improvement.
Parameters: interp - the interperter or null Parameters: tobj - the object to operate on. |
testUpdateIndex | void testUpdateIndex(int index)(Code) | | Invoked only when testing the TclIndex implementation in TestObjCmd.java
|
toString | public String toString()(Code) | | Called to query the string representation of the Tcl object. This
method is called only by TclObject.toString() when
TclObject.stringRep is null.
the string representation of the Tcl object. |
|
|