"Fossies" - the Fresh Open Source Software archive

Member "jacl1.4.1/docs/TclJavaLib/TclBoolean.htm" (29 Oct 2000, 3547 Bytes) of archive /linux/misc/jacl1.4.1.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

CLASS
tcl.lang.TclBoolean -- This class is used to create and read boolean objects from Java code.
IMPLEMENTS
tcl.lang.InternalRep
METHODS
static TclObject newInstance(boolean booleanValue)
static boolean get(Interp interp, TclObject tobj) throws TclException
ARGUMENTS
DESCRIPTION
newInstance
get
EQUIVALENT C FUNCTIONS
SEE ALSO
KEYWORDS

CLASS

tcl.lang.TclBoolean -- This class is used to create and read boolean objects from Java code.

IMPLEMENTS

tcl.lang.InternalRep

METHODS

static TclObject newInstance(boolean booleanValue)

static boolean get(Interp interp, TclObject tobj) throws TclException

ARGUMENTS

boolean booleanValue
New value for internal boolean representation.

Interp interp
If an error occurs while converting an object to be a boolean object, an error message is left in the interpreter's result object unless interp is null.

TclObject tobj
TclObject from which to extract a boolean value. If the internal representation of tobj is not a TclBoolean, the method attempts to convert it to a TclBoolean.

DESCRIPTION

newInstance
The newInstance method creates and returns a new TclObject whose internal representation is the boolean booleanValue.

get
The get method returns an boolean value from the tobj. If an error occurs while converting tobj to be a boolean object, an error message is left in the interp's result object unless interp is null.

EQUIVALENT C FUNCTIONS

Tcl_NewBooleanObj, Tcl_GetBooleanFromObj

SEE ALSO

InternalRep, TclObject, TclList, TclString, TclInteger, TclDouble, ReflectObject

KEYWORDS

internal representation, object, object type, boolean
Copyright © 1996-1998 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.