public static class SimpleTptpParserOutput.ThfFormula.ThfUnary extends SimpleTptpParserOutput.ThfFormula
SimpleTptpParserOutput.ThfFormula.Kind, SimpleTptpParserOutput.ThfFormula.ThfAtomic, SimpleTptpParserOutput.ThfFormula.ThfBinary, SimpleTptpParserOutput.ThfFormula.ThfQuantified, SimpleTptpParserOutput.ThfFormula.ThfUnary_kind| Constructor and Description |
|---|
ThfUnary(TptpParserOutput.UnaryConnective unary,
TptpParserOutput.ThfFormula argument) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SimpleTptpParserOutput.ThfFormula |
getArgument()
Returns the formula under the negation.
|
TptpParserOutput.UnaryConnective |
getConnective()
Returns the unary connective.
|
int |
hashCode()
should never be called so throw an error.
|
String |
toString() |
String |
toString(int indent) |
String |
toString(int indent,
TptpParserOutput.BinaryConnective connective) |
getKindpublic ThfUnary(TptpParserOutput.UnaryConnective unary, TptpParserOutput.ThfFormula argument)
public TptpParserOutput.UnaryConnective getConnective()
public SimpleTptpParserOutput.ThfFormula getArgument()
public boolean equals(Object obj)
equals in class SimpleTptpParserOutput.ThfFormulaobj - must be convertible to Negation, can be nullpublic int hashCode()
SimpleTptpParserOutput.ThfFormulahashCode in class SimpleTptpParserOutput.ThfFormulapublic String toString()
toString in class SimpleTptpParserOutput.ThfFormulapublic String toString(int indent)
toString in class SimpleTptpParserOutput.ThfFormulapublic String toString(int indent, TptpParserOutput.BinaryConnective connective)
toString in class SimpleTptpParserOutput.ThfFormulaCopyright © 2015. All rights reserved.