Package org.cip4.lib.xjdf.util
Class Partitions
java.lang.Object
org.cip4.lib.xjdf.util.Partitions
Utility class for handling partitions of resources.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasMismatchingAttributes(@NotNull Part partition1, @NotNull Part partition2) Check two partitions for mismatching attributes.
-
Method Details
-
hasMismatchingAttributes
public static boolean hasMismatchingAttributes(@NotNull @NotNull Part partition1, @NotNull @NotNull Part partition2) Check two partitions for mismatching attributes.- Parameters:
partition1- First partition to check.partition2- Other partition to check.- Returns:
- Will return true if both partitions define the same attribute but with different values and false otherwise.
-