public class SetReferenceTransformer<T> extends Object
Constructor and Description |
---|
SetReferenceTransformer() |
Modifier and Type | Method and Description |
---|---|
List<T> |
getObjectsToAdd() |
List<T> |
getObjectsToRemove() |
void |
transform(List<T> currentList,
List<T> nextList)
Use the Set theory to find the objects to delete and objects to add
The difference of objects in existingSet and newSet needed to be deleted
new roles to add = newSet - The intersection of roles in existingSet and newSet
|
public void transform(List<T> currentList, List<T> nextList)
currentList
- nextList
- Copyright © 2016 WSO2. All rights reserved.