public class FilterByField<T extends javax.jmi.reflect.RefObject> extends Object implements Filter<T>
Selector.SelectFixedElements<A,T>| Constructor and Description |
|---|
FilterByField(String fieldName,
String target) |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
execute(Collection<T> collection) |
public FilterByField(String fieldName, String target)
fieldName - non-null field name to evaluate value if it has the value providedtarget - not null name value to search forpublic Collection<T> execute(Collection<T> collection) throws RuntimeException, IllegalArgumentException
execute in interface Function<Collection<T extends javax.jmi.reflect.RefObject>,Collection<T extends javax.jmi.reflect.RefObject>>RuntimeExceptionIllegalArgumentExceptionCopyright © 2001–2018 MDA Tools. All rights reserved.