Class QDLNull

    • Method Detail

      • getInstance

        public static QDLNull getInstance()
      • getNodeType

        public int getNodeType()
        Description copied from interface: ExpressionInterface
        QDL is not strongly typed but Java is, so each node type should have a unique integer and conditionals should use that, not the instanceof operator. This allows for efficient programming with switch statements rather than a bevy of conditionals (potentially each of which gets done even if the correct case has been handled).
        Specified by:
        getNodeType in interface ExpressionInterface
        Overrides:
        getNodeType in class ConstantNode
        Returns: