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 by apply(ImmutableSet).
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(com.google.common.collect.ImmutableSet<Account.Id> originalMembers)
    Applies the modification to the given members.
  • Method Details

    • 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!)