Class Partitions


  • public final class Partitions
    extends java.lang.Object
    Partitions utility class providing partitioning functionality.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean hasMismatchingAttributes​(@NotNull Part partition1, @NotNull Part partition2)
      Check two partitions for mismatching attributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.