public static class SimpleTptpParserOutput.Formula.Atomic extends SimpleTptpParserOutput.Formula implements TptpParserOutput.AtomicFormula
SimpleTptpParserOutput.Formula.Atomic, SimpleTptpParserOutput.Formula.Binary, SimpleTptpParserOutput.Formula.Kind, SimpleTptpParserOutput.Formula.Negation, SimpleTptpParserOutput.Formula.Quantified_kind| Constructor and Description |
|---|
Atomic(String predicate,
Iterable<TptpParserOutput.Term> arguments) |
Atomic(String predicate,
LinkedList<SimpleTptpParserOutput.Term> arguments) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Iterable<SimpleTptpParserOutput.Term> |
getArguments() |
int |
getNumberOfArguments() |
String |
getPredicate() |
int |
hashCode()
should never be called so throw an error.
|
String |
toString() |
String |
toString(int indent) |
getKindpublic Atomic(String predicate, Iterable<TptpParserOutput.Term> arguments)
public Atomic(String predicate, LinkedList<SimpleTptpParserOutput.Term> arguments)
public String getPredicate()
public int getNumberOfArguments()
public Iterable<SimpleTptpParserOutput.Term> getArguments()
public boolean equals(Object obj)
equals in class SimpleTptpParserOutput.Formulaobj - must be convertible to Atomic, 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.FormulaCopyright © 2015. All rights reserved.