|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.basics.Literal
public class Literal
Simple literal implementation.
$Id$
| Method Summary | |
|---|---|
int |
compareTo(ILiteral oo)
|
boolean |
equals(Object o)
|
IAtom |
getAtom()
Returns the atom of this literal. |
int |
hashCode()
|
boolean |
isPositive()
Checks whether the literal is a positive atomic formula or a negated atomic formula. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isPositive()
ILiteralChecks whether the literal is a positive atomic formula or a negated atomic formula.
isPositive in interface ILiteralpublic IAtom getAtom()
ILiteralReturns the atom of this literal.
getAtom in interface ILiteralpublic int compareTo(ILiteral oo)
compareTo in interface Comparable<ILiteral>public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||