|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.expression.Undeterministic
public abstract class Undeterministic
Helper class to have boolean operation on true / false and null, null is assumed to be undetermined, and "not null"="null" A "false && null" will stay false, but a "true && null" will become undetermined (null).
This is used when the expression cannot be resolved entirely (early matching, cflow, runtime check residuals)
| Constructor Summary | |
|---|---|
Undeterministic()
|
|
| Method Summary | |
|---|---|
static Boolean |
and(Boolean lhs,
Boolean rhs)
And operation |
static Boolean |
not(Boolean b)
Not operation |
static Boolean |
or(Boolean lhs,
Boolean rhs)
Or operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Undeterministic()
| Method Detail |
|---|
public static Boolean and(Boolean lhs,
Boolean rhs)
lhs - rhs -
public static Boolean or(Boolean lhs,
Boolean rhs)
lhs - rhs -
public static Boolean not(Boolean b)
b -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||