public final class ThrowingMapMergeOperatorUtil extends Object
Modifier and Type | Method and Description |
---|---|
static BinaryOperator<String> |
duplicateAzureAdGroupsThrowingMerger(Collection<GraphGroup> groups) |
static <T extends Group> |
duplicateMappedGroupsThrowingMerger(Collection<T> groups) |
static <T> BinaryOperator<T> |
throwingMerger()
Default throwing merger copied from
Collectors for the convenience of using a map supplier
in Collectors.toMap(Function, Function, BinaryOperator, Supplier) without specifying a
custom merging operator |
public static <T> BinaryOperator<T> throwingMerger()
Collectors
for the convenience of using a map supplier
in Collectors.toMap(Function, Function, BinaryOperator, Supplier)
without specifying a
custom merging operatorT
- type of the map valuepublic static BinaryOperator<String> duplicateAzureAdGroupsThrowingMerger(Collection<GraphGroup> groups)
public static <T extends Group> BinaryOperator<String> duplicateMappedGroupsThrowingMerger(Collection<T> groups)
Copyright © 2017 Atlassian. All rights reserved.