public class NameFilter<E extends Identifiable> extends java.lang.Object implements Filter<E>
Identifiable
objects based on whether they match on
their Identifiable.getName()
. Please note this filter ignores case.Constructor and Description |
---|
NameFilter(java.lang.String... names)
Creates an instance of this filter, which filters out
Identifiable
objects based on whether they match on their Identifiable.getName() . |
Modifier and Type | Method and Description |
---|---|
boolean |
match(E obj)
Defines whether two objects match the desired filter condition.
|
public NameFilter(java.lang.String... names)
Identifiable
objects based on whether they match on their Identifiable.getName()
.
Please note this filter ignores case.names
- The names to match.