Class DeltaSetTripleUtil
java.lang.Object
com.evolveum.midpoint.prism.delta.DeltaSetTripleUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V extends PrismValue>
PrismValueDeltaSetTriple<V>allToZeroSet
(Collection<V> values, PrismContext prismContext) static <T> void
diff
(Collection<T> valuesOld, Collection<T> valuesNew, DeltaSetTriple<T> triple) static <V extends PrismValue>
PrismValueDeltaSetTriple<V>diffPrismValueDeltaSetTriple
(Collection<V> valuesOld, Collection<V> valuesNew, PrismContext prismContext) Compares two (unordered) collections and creates a triple describing the differences.static boolean
isEmpty
(DeltaSetTripleType triple) static <T> void
putIntoOutputTripleMap
(PathKeyedMap<DeltaSetTriple<T>> outputTripleMap, ItemPath outputPath, DeltaSetTriple<T> outputTriple)
-
Constructor Details
-
DeltaSetTripleUtil
public DeltaSetTripleUtil()
-
-
Method Details
-
diff
public static <T> void diff(Collection<T> valuesOld, Collection<T> valuesNew, DeltaSetTriple<T> triple) -
diffPrismValueDeltaSetTriple
public static <V extends PrismValue> PrismValueDeltaSetTriple<V> diffPrismValueDeltaSetTriple(Collection<V> valuesOld, Collection<V> valuesNew, PrismContext prismContext) Compares two (unordered) collections and creates a triple describing the differences. -
allToZeroSet
public static <V extends PrismValue> PrismValueDeltaSetTriple<V> allToZeroSet(Collection<V> values, PrismContext prismContext) -
putIntoOutputTripleMap
public static <T> void putIntoOutputTripleMap(PathKeyedMap<DeltaSetTriple<T>> outputTripleMap, ItemPath outputPath, DeltaSetTriple<T> outputTriple) -
isEmpty
-