@Component(value="tapirFeatureBasedContainerFilterService") public class FeatureBasedContainerFilterService extends Object
FeatureBasedContainer elements.| Constructor and Description |
|---|
FeatureBasedContainerFilterService() |
| Modifier and Type | Method and Description |
|---|---|
<T> Iterable<T> |
filterByActivatedFeatures(Iterable<FeatureBasedContainer<T>> iterable)
Filters the given
Iterable by evaluation the FeatureExpression of each container. |
public <T> Iterable<T> filterByActivatedFeatures(Iterable<FeatureBasedContainer<T>> iterable)
Iterable by evaluation the FeatureExpression of each container. Only those containers
without an expression or whose expression evaluates to true are contained in the returned Iterable.iterable - The input Iterable. Must not be null.Iterable containing only the active elements.NullPointerException - If the given Iterable is null.Copyright © 2018–2021 b+m Informatik AG. All rights reserved.