HAL Core Console :: Webapp 2.5.1
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
List<T> |
apply(Predicate<T> predicate,
List<T> candidates)
Filter a list of entities through a predicate.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EntityFilter
public EntityFilter()
-
Method Detail
-
apply
public List<T> apply(Predicate<T> predicate,
List<T> candidates)
Filter a list of entities through a predicate.
If the the predicate applies the entity will be included.
- Parameters:
predicate - candidates -
- Returns:
- a subset of the actual list of candidates
HAL Core Console :: Webapp 2.5.1
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.