Interface InternalGroupUpdate.SubgroupModification

  • Enclosing class:
    InternalGroupUpdate
    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 InternalGroupUpdate.SubgroupModification
    • Method Detail

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