docs: public static <A> float[] toPrimitiveFloatArray(A array, NumberArrayAdapter<?, ? super A> adapter) {
      if (adapter == FLOATARRAYADAPTER) {
        return ((float[]) array).clone();
      }
      float[] ret = new float[adapter.size(array)];
      for (int i = 0; i < ret.length; i++) {
        ret[i] = adapter.getFloat(array, i);
      }
      return ret;
    }