SFE.GUI
Class Variable
java.lang.Object
SFE.GUI.Variable
public class Variable
- extends java.lang.Object
Constructor Summary |
Variable(java.lang.String name,
Type type)
|
Variable(java.lang.String name,
Type type,
java.lang.String array,
int bits)
Build an array variable |
Method Summary |
boolean |
equals(java.lang.Object other)
Compare variables by name |
java.lang.String |
toString()
Get the string representation of the variable |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
nameDoc
public ProgramDocument nameDoc
type
public Type type
commentDoc
public ProgramDocument commentDoc
nBits
public int nBits
nArray
public java.lang.String nArray
must
public boolean must
Variable
public Variable(java.lang.String name,
Type type)
Variable
public Variable(java.lang.String name,
Type type,
java.lang.String array,
int bits)
- Build an array variable
- Parameters:
name
- Variable nametype
- Variable typearray
- Array elementsbits
- Number of bits for Ints
equals
public boolean equals(java.lang.Object other)
- Compare variables by name
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Get the string representation of the variable
- Overrides:
toString
in class java.lang.Object