Class Partitions

java.lang.Object
org.cip4.lib.xjdf.util.Partitions

public final class Partitions extends Object
Utility class for handling partitions of resources.
  • 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.