Class MapDiff
java.lang.Object
com.atlassian.crowd.directory.ldap.diff.MapDiff
Calculates different entries for two
Map<String, Object>
.-
Method Summary
-
Method Details
-
diff
public static org.apache.commons.lang3.builder.DiffResult<Map<String,@Nullable Object>> diff(@Nonnull Map<String, @Nullable Object> left, @Nonnull Map<String, @Nullable Object> right) Calculates different entries for twoMap<String, Object>
. If an entry is present in one map and absent from the other, the diff for that entry will containnull
for the missing entry. Uses custom to string conversion -MapDiff.CustomToStringStyle.STYLE
- Parameters:
left
- left mapright
- right map- Returns:
- diff result
-