|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.fdsapi.arrays.NullConditional
This class implements the null object design pattern for Conditionals. It is an implementation of the Null object design pattern and is used
to end the decorator chain.
View Code
| Constructor Summary | |
NullConditional()
Creates a new instance of NullConditional |
|
| Method Summary | |
java.lang.String |
getType()
Empty implementation |
boolean |
isTrue(java.lang.Object[] row)
The NullConditional returns false always because its use is as a terminator in a decorator chain that tests for true false with an or condition. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NullConditional()
| Method Detail |
public boolean isTrue(java.lang.Object[] row)
isTrue in interface Conditionalpublic java.lang.String getType()
getType in interface Conditionalpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||