public final class MatlabVariable extends Object
| Constructor and Description |
|---|
MatlabVariable(String name)
Constructs a representation of a MATLAB variable with the name specified by
name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Returns
true if and only if obj is a MatlabVariable and has the same name as this
variable. |
String |
getName()
The name of this variable.
|
int |
hashCode()
Returns a hash code consistent with
equals(java.lang.Object). |
String |
toString()
Returns a brief description of this variable.
|
public MatlabVariable(String name)
name.name - IllegalArgumentException - if name is not a valid MATLAB variable namepublic String getName()
public String toString()
public boolean equals(Object obj)
true if and only if obj is a MatlabVariable and has the same name as this
variable.public int hashCode()
equals(java.lang.Object).