public class ContainsModelFilter<E extends Identifiable> extends java.lang.Object implements Filter<E>
For this specific filter, at least one of the model ids specified must be present in the entity definition.
Constructor and Description |
---|
ContainsModelFilter(int... modelIds)
Creates an instance of this filter, which filters out
Identifiable
objects based on whether any of their Identifiable.getModelIds() falls inside the given ids. |
Modifier and Type | Method and Description |
---|---|
boolean |
match(E obj)
Defines whether two objects match the desired filter condition.
|
public ContainsModelFilter(int... modelIds)
Identifiable
objects based on whether any of their Identifiable.getModelIds()
falls inside the given ids.modelIds
- The modelIds to check.