Package com.evolveum.midpoint.prism
Class ItemCollectionsUtil
java.lang.Object
com.evolveum.midpoint.prism.ItemCollectionsUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compareCollectionRealValues
(Collection<? extends PrismProperty> col1, Collection<? extends PrismProperty> col2) static boolean
contains
(Collection<? extends PrismValue> values, PrismValue valueToMatch, EquivalenceStrategy strategy) static <V extends PrismValue,
D extends ItemDefinition<?>>
booleancontainsEquivalentValue
(Item<V, D> item, V value, Comparator<V> comparator)
-
Constructor Details
-
ItemCollectionsUtil
public ItemCollectionsUtil()
-
-
Method Details
-
compareCollectionRealValues
public static boolean compareCollectionRealValues(Collection<? extends PrismProperty> col1, Collection<? extends PrismProperty> col2) -
contains
public static boolean contains(Collection<? extends PrismValue> values, PrismValue valueToMatch, EquivalenceStrategy strategy) -
containsEquivalentValue
public static <V extends PrismValue,D extends ItemDefinition<?>> boolean containsEquivalentValue(Item<V, D> item, V value, Comparator<V> comparator)
-