Class NOTTerm

  • All Implemented Interfaces:

    public class NOTTerm
    extends java.lang.Object
    implements Term
    The NOTTerm is used to model Boolean negation by embedding a Term that shall be negated in a NOTTerm.
    • Field Summary

      Modifier and Type Field Description
      protected Term term
      The term to negate.
    • Constructor Summary

      Constructor Description
      NOTTerm​(Term term)
      Constructs a NOTTerm with a given term.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Term get()
      Returns the term.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • term

        protected final Term term
        The term to negate.
    • Constructor Detail

      • NOTTerm

        public NOTTerm​(Term term)
        Constructs a NOTTerm with a given term.
        term - the term
    • Method Detail

      • get

        public Term get()
        Returns the term.
        the term
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object