Interface GroupDelta.MemberModification
-
- Enclosing class:
- GroupDelta
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface GroupDelta.MemberModification
Representation of a member modification as defined byapply(ImmutableSet)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Account.Id>
apply(com.google.common.collect.ImmutableSet<Account.Id> originalMembers)
Applies the modification to the given members.
-
-
-
Method Detail
-
apply
Set<Account.Id> apply(com.google.common.collect.ImmutableSet<Account.Id> originalMembers)
Applies the modification to the given members.- Parameters:
originalMembers
- current members of the group. If used for a group creation, this set is empty.- Returns:
- the desired resulting members (not the diff of the members!)
-
-