docs: public static void checkArrayLength(String parameterName, float[] array,
              int expectedLength) {
          checkNotNull(parameterName, array);
          checkArrayLength(parameterName, array.length, expectedLength);
      }