public class EntityGroupNamePredicate extends Object implements com.google.common.base.Predicate<EntityDescriptor>
EntitiesDescriptor groups.| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
groupNames
Groups to match on.
|
| Constructor and Description |
|---|
EntityGroupNamePredicate(Collection<String> names)
Constructor.
|
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 © 1999–2015. All rights reserved.