public static class SimpleTptpParserOutput.Formula.Binary extends SimpleTptpParserOutput.Formula
SimpleTptpParserOutput.Formula.Atomic, SimpleTptpParserOutput.Formula.Binary, SimpleTptpParserOutput.Formula.Kind, SimpleTptpParserOutput.Formula.Negation, SimpleTptpParserOutput.Formula.Quantified_kind| Constructor and Description |
|---|
Binary(TptpParserOutput.FofFormula lhs,
TptpParserOutput.BinaryConnective connective,
TptpParserOutput.FofFormula rhs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TptpParserOutput.BinaryConnective |
getConnective() |
SimpleTptpParserOutput.Formula |
getLhs() |
SimpleTptpParserOutput.Formula |
getRhs() |
int |
hashCode()
should never be called so throw an error.
|
String |
toString() |
String |
toString(int indent) |
String |
toString(int indent,
TptpParserOutput.BinaryConnective connective) |
getKindpublic Binary(TptpParserOutput.FofFormula lhs, TptpParserOutput.BinaryConnective connective, TptpParserOutput.FofFormula rhs)
public TptpParserOutput.BinaryConnective getConnective()
public SimpleTptpParserOutput.Formula getLhs()
public SimpleTptpParserOutput.Formula getRhs()
public boolean equals(Object obj)
equals in class SimpleTptpParserOutput.Formulaobj - must be convertible to Binary, can be nullpublic int hashCode()
SimpleTptpParserOutput.FormulahashCode in class SimpleTptpParserOutput.Formulapublic String toString()
toString in class SimpleTptpParserOutput.Formulapublic String toString(int indent)
toString in class SimpleTptpParserOutput.Formulapublic String toString(int indent, TptpParserOutput.BinaryConnective connective)
Copyright © 2015. All rights reserved.