public class EntityGroupNamePredicate extends Object implements com.google.common.base.Predicate<EntityDescriptor>
EntitiesDescriptor
groups.Constructor and Description |
---|
EntityGroupNamePredicate(Collection<String> names)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(EntityDescriptor input) |
Set<String> |
getGroupNames()
Get the group name criteria.
|
public EntityGroupNamePredicate(@Nonnull @NonnullElements Collection<String> names)
names
- the group names to test for@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getGroupNames()
public boolean apply(@Nullable EntityDescriptor input)
apply
in interface com.google.common.base.Predicate<EntityDescriptor>
Copyright © 2017. All rights reserved.