|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Condition | |
|---|---|
| org.wamblee.collections | Collection utilities. |
| org.wamblee.conditions | This package provides some basic support classes for checking boolean conditions on objects. |
| Uses of Condition in org.wamblee.collections |
|---|
| Methods in org.wamblee.collections with parameters of type Condition | ||
|---|---|---|
static
|
CollectionFilter.filter(Collection<T> aFrom,
Collection<T> aTo,
Condition<T> aCondition)
Filters a collection by adding all elements in the from collection that satisfy a given condition to the to collection. |
|
| Uses of Condition in org.wamblee.conditions |
|---|
| Classes in org.wamblee.conditions that implement Condition | |
|---|---|
class |
AndCondition<T>
Represents a logical and of different boolean conditions. |
class |
FixedCondition<T>
Condition which always returns a fixed value. |
class |
OrCondition<T>
Represents a logical or of different boolean conditions. |
class |
PropertyRegexCondition<T>
Condition to check whether a given property of an object matches a certain regular expression. |
| Constructors in org.wamblee.conditions with parameters of type Condition | |
|---|---|
AndCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
Constructs the condition. |
|
AndCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
Constructs the condition. |
|
OrCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
Constructs the condition. |
|
OrCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
Constructs the condition. |
|
| Constructor parameters in org.wamblee.conditions with type arguments of type Condition | |
|---|---|
AndCondition(List<Condition<T>> aConditions)
Constructs the and condition. |
|
OrCondition(List<Condition<T>> aConditions)
Constructs the or condition. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||