weka.core.expressionlanguage.common
Class NoVariables
- java.lang.Object
-
- weka.core.expressionlanguage.common.NoVariables
-
- All Implemented Interfaces:
- java.io.Serializable, VariableDeclarations
public class NoVariables extends java.lang.Object implements VariableDeclarations
A variable declarations that contains no variables- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NoVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NodegetVariable(java.lang.String name)Tries to fetch the variable.booleanhasVariable(java.lang.String name)Whether the variable is declared.
-
-
-
Method Detail
-
hasVariable
public boolean hasVariable(java.lang.String name)
Whether the variable is declared. Will always returnfalse- Specified by:
hasVariablein interfaceVariableDeclarations- Parameters:
name- name of the variable- Returns:
- whether the variable is declared. Always
false.
-
getVariable
public Node getVariable(java.lang.String name)
Tries to fetch the variable. Will always fail. The same invariant ofVariableDeclarationsapplies here too.- Specified by:
getVariablein interfaceVariableDeclarations- Parameters:
name- name of the variable- Returns:
- nothing
-
-
DataMelt 3.0 © DataMelt by jWork.ORG