static <T> Spliterator<T> of(Iterator<? extends T> iterator, long size, int characteristics, int[] batchSizes) {
        return new ConfigurableIteratorSpliteratorImpl<>(iterator, size, characteristics, batchSizes);
    }
@author pemi
@param <T> type of {@link Spliterator} to implement
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/stream/parallel/ConfigurableIteratorSpliterator.java