Interface GroupDelta.SubgroupModification

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.SubgroupModification
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(com.google.common.collect.ImmutableSet<AccountGroup.UUID> originalSubgroups)
    Applies the modification to the given subgroups.
  • Method Details

    • apply

      Set<AccountGroup.UUID> apply(com.google.common.collect.ImmutableSet<AccountGroup.UUID> originalSubgroups)
      Applies the modification to the given subgroups.
      Parameters:
      originalSubgroups - current subgroups of the group. If used for a group creation, this set is empty.
      Returns:
      the desired resulting subgroups (not the diff of the subgroups!)