|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EBooleanLattice> dk.brics.xact.analysis.xmlgraph.EBooleanLattice
public enum EBooleanLattice
Represents the lattice:
MAYBE / \ YES NO \ / BOTTOMThe meaning of "yes" and "no" is not specified here – it depends on the context of its use.
Enum Constant Summary | |
---|---|
BOTTOM
|
|
MAYBE
|
|
NO
|
|
YES
|
Method Summary | |
---|---|
EBooleanLattice |
and(EBooleanLattice lat)
Returns the possible results of a logical AND between two booleans. |
boolean |
definitely()
Returns true if this is YES or BOTTOM |
boolean |
definitelyNot()
Returns true if this is NO or BOTTOM |
EBooleanLattice |
greatestLowerBound(EBooleanLattice lat)
Returns the greatest lower bound of two lattice points. |
EBooleanLattice |
leastUpperBound(EBooleanLattice lat)
Returns the least upper bound of two lattice points. |
boolean |
maybe()
Returns true if this is YES or MAYBE |
boolean |
maybeNot()
Returns true if this is NO or MAYBE |
EBooleanLattice |
or(EBooleanLattice lat)
Returns the possible results of a logical AND between two booleans. |
static EBooleanLattice |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EBooleanLattice[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EBooleanLattice BOTTOM
public static final EBooleanLattice MAYBE
public static final EBooleanLattice NO
public static final EBooleanLattice YES
Method Detail |
---|
public EBooleanLattice and(EBooleanLattice lat)
public boolean definitely()
public boolean definitelyNot()
public EBooleanLattice greatestLowerBound(EBooleanLattice lat)
public EBooleanLattice leastUpperBound(EBooleanLattice lat)
public boolean maybe()
public boolean maybeNot()
public EBooleanLattice or(EBooleanLattice lat)
public static EBooleanLattice valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static EBooleanLattice[] values()
for (EBooleanLattice c : EBooleanLattice.values()) System.out.println(c);
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |