code: public static void checkDivisibleDataLength(String parameterName,
              boolean[] array, int expectedComponents) {
          checkNotNull(parameterName, array);
          checkDivisibleDataLength(parameterName, array.length,
                  expectedComponents);
      }
docs: Check arrays of tuples: is the array length a multiple of the tuple size?
  
  @param parameterName
  The name of the user-supplied parameter that we are validating
  so that the user can easily find the error in their code.
  @param array
  Array of tuples
  @param expectedComponents
  Expected number of components.
  @throws IllegalArgumentException
  If the dataLength is zero or not divisible by the expected
  number.