Documentation of 'weka.core.expressionlanguage.common.NoMacros' Java class
NoMacros
weka.core.expressionlanguage.common

Class NoMacros

  • All Implemented Interfaces:
    MacroDeclarations


    public class NoMacros
    extends java.lang.Object
    implements MacroDeclarations
    A macro declarations that contains no macros at all
    • Constructor Summary

      Constructors 
      Constructor and Description
      NoMacros() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Macro getMacro(java.lang.String name)
      Tries to fetch a macro.
      boolean hasMacro(java.lang.String name)
      Whether the macro is declared.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoMacros

        public NoMacros()
    • Method Detail

      • hasMacro

        public boolean hasMacro(java.lang.String name)
        Whether the macro is declared. Always returns false
        Specified by:
        hasMacro in interface MacroDeclarations
        Parameters:
        name - name of the macro
        Returns:
        whether the macro is declared. Always false.
      • getMacro

        public Macro getMacro(java.lang.String name)
        Tries to fetch a macro. Will always fail.

        The same invariant of MacroDeclarations applies here too.
        Specified by:
        getMacro in interface MacroDeclarations
        Parameters:
        name - name of the macro
        Returns:
        nothing

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.