Package org.cip4.lib.xjdf.util
Class Partitions
- java.lang.Object
-
- org.cip4.lib.xjdf.util.Partitions
-
public final class Partitions extends java.lang.ObjectPartitions utility class providing partitioning functionality.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasMismatchingAttributes(@NotNull Part partition1, @NotNull Part partition2)Check two partitions for mismatching attributes.
-
-
-
Method Detail
-
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.
-
-