tcl.lang
Class TclList
java.lang.Object
tcl.lang.TclList
- All Implemented Interfaces:
- InternalRep
public class TclList
- extends java.lang.Object
Method Summary |
static void |
append(Interp interp,
TclObject tobj,
TclObject elemObj)
|
void |
dispose()
|
InternalRep |
duplicate()
|
static TclObject[] |
getElements(Interp interp,
TclObject tobj)
|
static int |
getLength(Interp interp,
TclObject tobj)
|
static TclObject |
index(Interp interp,
TclObject tobj,
int index)
|
static TclObject |
newInstance()
|
static void |
replace(Interp interp,
TclObject tobj,
int index,
int count,
TclObject[] elements,
int from,
int to)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static TclObject newInstance()
append
public static final void append(Interp interp,
TclObject tobj,
TclObject elemObj)
throws TclException
- Throws:
TclException
getLength
public static final int getLength(Interp interp,
TclObject tobj)
throws TclException
- Throws:
TclException
getElements
public static TclObject[] getElements(Interp interp,
TclObject tobj)
throws TclException
- Throws:
TclException
index
public static final TclObject index(Interp interp,
TclObject tobj,
int index)
throws TclException
- Throws:
TclException
replace
public static final void replace(Interp interp,
TclObject tobj,
int index,
int count,
TclObject[] elements,
int from,
int to)
throws TclException
- Throws:
TclException
dispose
public void dispose()
- Specified by:
dispose
in interface InternalRep
duplicate
public InternalRep duplicate()
- Specified by:
duplicate
in interface InternalRep