|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.TclBoolean
public class TclBoolean
This class implements the boolean object type in Tcl.
| Method Summary | |
|---|---|
void |
dispose()
Implement this no-op for the InternalRep interface. |
InternalRep |
duplicate()
Returns a dupilcate of the current object. |
static boolean |
get(Interp interp,
TclObject tobj)
Returns the value of the object as an boolean. |
static TclObject |
newInstance(boolean b)
Creates a new instance of a TclObject with a TclBoolean internal representation. |
String |
toString()
Called to query the string representation of the Tcl object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public InternalRep duplicate()
duplicate in interface InternalReppublic void dispose()
dispose in interface InternalReppublic String toString()
toString in class Objectpublic static TclObject newInstance(boolean b)
b - initial value of the boolean object.
public static boolean get(Interp interp,
TclObject tobj)
throws TclException
interp - current interpreter.tobj - the TclObject to use as an boolean.
TclException - if the object cannot be converted into a boolean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||