|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLiteral
public class Literal
An object of this class represents a literal (signed symbol)
Field Summary | |
---|---|
boolean |
sign
sign of the literal: true = unnegated, false = negated |
int |
symbol
index of proposition symbol |
Constructor Summary | |
---|---|
Literal(int symbol,
boolean sign)
constructor for creating a literal with the given sign and symbol index |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean sign
public int symbol
Constructor Detail |
---|
public Literal(int symbol, boolean sign)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |