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.
Representation of a member modification as defined by
apply(ImmutableSet)
.-
Method Summary
Modifier and TypeMethodDescriptionapply
(com.google.common.collect.ImmutableSet<Account.Id> originalMembers) Applies the modification to the given members.
-
Method Details
-
apply
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!)
-