|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CaseExpression
Interface for the construction of case expressions
Method Summary | |
---|---|
Expression |
elseCase(Calendar arg)
Add else to a case expression. |
Expression |
elseCase(Class arg)
Add else to a case expression. |
Expression |
elseCase(Date arg)
Add else to a case expression. |
Expression |
elseCase(Enum<?> arg)
Add else to a case expression. |
Expression |
elseCase(Expression arg)
Add else to a case expression. |
Expression |
elseCase(Number arg)
Add else to a case expression. |
Expression |
elseCase(String arg)
Add else to a case expression. |
CaseExpression |
then(Calendar then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(Class then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(Date then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(Enum<?> then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(Expression then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(Number then)
Add a then clause to a general or simple case expression. |
CaseExpression |
then(String then)
Add a then clause to a general or simple case expression. |
CaseExpression |
when(Calendar when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Class when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Date when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Enum<?> when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Expression when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Number when)
Add a when clause to a simple case expression. |
CaseExpression |
when(Predicate pred)
Add a when predicate clause to a general case expression. |
CaseExpression |
when(String when)
Add a when clause to a simple case expression. |
Method Detail |
---|
CaseExpression when(Predicate pred)
pred
- -
corresponds to the evaluation condition for the specific case
CaseExpression when(Expression when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression when(Number when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression when(String when)
when
- -
corresponds to the value against which the
case operand of the simple case is tested
CaseExpression when(Date when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression when(Calendar when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression when(Class when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression when(Enum<?> when)
when
- -
corresponds to the value against which the case operand of
the simple case is tested
CaseExpression then(Expression then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(Number then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(String then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(Date then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(Calendar then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(Class then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
CaseExpression then(Enum<?> then)
then
- -
corresponds to the result of the case expression if the when
is satisfied
Expression elseCase(Expression arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(String arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(Number arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(Date arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(Calendar arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(Class arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
Expression elseCase(Enum<?> arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |