public final class VariableType extends Object
Constructor and Description |
---|
VariableType(String name)
Create a new variable type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Return the name of this variable type.
|
int |
hashCode() |
protected static boolean |
isValidName(String name)
Indicates whether the name of this variable type is valid.
|
String |
toString() |
public VariableType(String name)
name
- The name of the variableNullPointerException
- If the specified name is null
.IllegalArgumentException
- If the specified name is an empty string.public String getName()
protected static boolean isValidName(String name)
name
- The name of the variable.true
if the name is valid; false
otherwise.Copyright © 2016 Allette Systems. All rights reserved.