public class Predicate extends Object
| Modifier and Type | Field and Description |
|---|---|
static Object |
predicateParams |
| Constructor and Description |
|---|
Predicate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collection<T> |
filter(Collection<T> target,
IPredicate<T> predicate) |
static <T> T |
select(Collection<T> target,
IPredicate<T> predicate) |
static <T> T |
select(Collection<T> target,
IPredicate<T> predicate,
T defaultValue) |
public static Object predicateParams
public static <T> Collection<T> filter(Collection<T> target, IPredicate<T> predicate)
public static <T> T select(Collection<T> target, IPredicate<T> predicate)
public static <T> T select(Collection<T> target, IPredicate<T> predicate, T defaultValue)
Copyright © 2004-2014. All Rights Reserved.