public class EntityIdPredicate extends Object implements com.google.common.base.Predicate<EntityDescriptor>
EntityDescriptor
against a set of entityIDs.Constructor and Description |
---|
EntityIdPredicate(Collection<String> ids)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(EntityDescriptor input) |
Set<String> |
getEntityIds()
Get the entityID criteria.
|
public EntityIdPredicate(@Nonnull @NonnullElements Collection<String> ids)
ids
- the entityIDs to check for@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getEntityIds()
public boolean apply(@Nullable EntityDescriptor input)
apply
in interface com.google.common.base.Predicate<EntityDescriptor>
Copyright © 2016. All rights reserved.