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