|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.NonNullAcceptingCondition
org.springmodules.validation.util.condition.collection.AbstractCollectionCondition
org.springmodules.validation.util.condition.collection.IsEmptyCollectionCondition
public class IsEmptyCollectionCondition
An AbstractCollectionCondition that checks whether the checked collection or array is empty.
| Constructor Summary | |
|---|---|
IsEmptyCollectionCondition()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkArray(java.lang.Object array)
Checks whether the given array is empty. |
protected boolean |
checkCollection(java.util.Collection collection)
Checks whether the given collection is empty. |
| Methods inherited from class org.springmodules.validation.util.condition.collection.AbstractCollectionCondition |
|---|
beforeObjectChecked, doCheck |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsEmptyCollectionCondition()
| Method Detail |
|---|
protected boolean checkArray(java.lang.Object array)
checkArray in class AbstractCollectionConditionarray - The array to be checked.
true if the given array is empty, false otherwise.protected boolean checkCollection(java.util.Collection collection)
checkCollection in class AbstractCollectionConditioncollection - The collection to be checked.
true if the given collection is empty, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||