aima.logic.propositional.parsing.ast
Class MultiSentence

java.lang.Object
  extended by aima.logic.propositional.parsing.ast.Sentence
      extended by aima.logic.propositional.parsing.ast.ComplexSentence
          extended by aima.logic.propositional.parsing.ast.MultiSentence
All Implemented Interfaces:
ParseTreeNode

public class MultiSentence
extends ComplexSentence


Constructor Summary
MultiSentence(java.lang.String operator, java.util.List<Sentence> sentences)
           
 
Method Summary
 java.lang.Object accept(PLVisitor plv, java.lang.Object arg)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getOperator()
           
 java.util.List getSentences()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiSentence

public MultiSentence(java.lang.String operator,
                     java.util.List<Sentence> sentences)
Method Detail

getOperator

public java.lang.String getOperator()

getSentences

public java.util.List getSentences()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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

accept

public java.lang.Object accept(PLVisitor plv,
                               java.lang.Object arg)
Specified by:
accept in class Sentence