|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttcl.lang.WrappedCommand
public class WrappedCommand
A Wrapped Command is like the Command struct defined in the C version in the file generic/tclInt.h. It is "wrapped" around a TclJava Command interface reference. We need to wrap Command references so that we can keep track of sticky issues like what namespace the command is defined in without requiring that every implementation of a Command interface provide method to do this. This class is only used in the internal implementation of Jacl.
Field Summary | |
---|---|
Command |
cmd
|
int |
cmdEpoch
|
boolean |
deleted
|
java.lang.String |
hashKey
|
Namespace |
ns
|
java.util.HashMap |
table
|
Constructor Summary | |
---|---|
WrappedCommand()
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.HashMap table
public java.lang.String hashKey
public Namespace ns
public Command cmd
public boolean deleted
public int cmdEpoch
Constructor Detail |
---|
public WrappedCommand()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |