docs: private static <T extends Iterable<?>> int indexOfNullElement(T iterable) {
          final Iterator<?> it = iterable.iterator();
          for (int i = 0; it.hasNext(); i++) {
              if (it.next() == null) {
                  return i;
              }
          }
          return -1;
      }