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