|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.collections.CollectionFilter
public class CollectionFilter
| Constructor Summary | |
|---|---|
CollectionFilter()
|
|
| Method Summary | ||
|---|---|---|
static
|
filter(java.util.Collection<T> aFrom,
java.util.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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionFilter()
| Method Detail |
|---|
public static <T> void filter(java.util.Collection<T> aFrom,
java.util.Collection<T> aTo,
Condition<T> aCondition)
T - Type of contained element.aFrom - From container to which the condition is applied.aTo - To container to which matching elements are added.aCondition - Condition by which elements are matched.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||