ilog.rules.brl.syntaxtree

Class IlrSyntaxTree.NameTester

  • java.lang.Object
    • ilog.rules.brl.syntaxtree.IlrSyntaxTree.NameTester
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrSyntaxTree.NameTester(java.lang.String name)
      Constructs an instance of NameTester.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean acceptNode(IlrSyntaxTree.Node node)
      Checks if the name of the node is the same as the one provided when the NameTester object was created.
      • Methods inherited from class java.lang.Object

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

      • IlrSyntaxTree.NameTester

        public IlrSyntaxTree.NameTester(java.lang.String name)
        Constructs an instance of NameTester.
        Parameters:
        name - The name of the node to test for.
    • Method Detail

      • acceptNode

        public boolean acceptNode(IlrSyntaxTree.Node node)
        Checks if the name of the node is the same as the one provided when the NameTester object was created.
        Specified by:
        acceptNode in interface IlrSyntaxTree.NodeTester
        Parameters:
        node - The node to test.
        Returns:
        true if the node has the name specified in the constructor, false otherwise.

© Copyright IBM Corp. 1987, 2017