public static class GroupStrategy.Composite extends Object implements GroupStrategy
GroupStrategy.Composite, GroupStrategy.Simple| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ordered |
EMPTY| Constructor and Description |
|---|
Composite(Collection<? extends GroupStrategy> components,
boolean ordered) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyTo(Predicate<GroupStrategy> operation)
Apply the specified
boolean-returning operation. |
boolean |
equals(Object obj) |
Set<Group> |
getGroups()
Get the associated groups.
|
int |
hashCode() |
GroupStrategy |
redefining(Map<Group,? extends GroupStrategy> redefinitions)
Get an equivalent strategy making group substitutions specified by
redefinitions. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomposite, composite, redefining, simple, simplepublic Composite(Collection<? extends GroupStrategy> components, boolean ordered)
public Set<Group> getGroups()
GroupStrategygetGroups in interface GroupStrategySet of Grouppublic GroupStrategy redefining(Map<Group,? extends GroupStrategy> redefinitions)
GroupStrategyredefinitions.redefining in interface GroupStrategyGroupStrategypublic boolean applyTo(Predicate<GroupStrategy> operation)
GroupStrategyboolean-returning operation.applyTo in interface GroupStrategybooleanCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.