code: static long[] getNativePtrArray(Collection<? extends GVRHybridObject> objects) {
          long[] ptrs = new long[objects.size()];
  
          int i = 0;
          for (GVRHybridObject obj : objects) {
              ptrs[i++] = obj.getNative();
          }
  
          return ptrs;
      }
docs: /*package