public class EntityGroupNamePredicate extends java.lang.Object implements com.google.common.base.Predicate<EntityDescriptor>
EntitiesDescriptor groups.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
groupNames
Groups to match on.
|
| Constructor and Description |
|---|
EntityGroupNamePredicate(java.util.Collection<java.lang.String> names)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(EntityDescriptor input) |
java.util.Set<java.lang.String> |
getGroupNames()
Get the group name criteria.
|
@Nonnull @NonnullElements private final java.util.Set<java.lang.String> groupNames
public EntityGroupNamePredicate(@Nonnull @NonnullElements
java.util.Collection<java.lang.String> names)
names - the group names to test for@Nonnull @NonnullElements @Unmodifiable @NotLive public java.util.Set<java.lang.String> getGroupNames()
public boolean apply(@Nullable
EntityDescriptor input)
apply in interface com.google.common.base.Predicate<EntityDescriptor>