code: public final static <T, C extends Collection<? super T>> Stream<C> groupedBySizeAndTime(final Stream<T> stream, final int size, final long time,
              final TimeUnit t, final Supplier<C> factory) {
          return StreamSupport.stream(new GroupedByTimeAndSizeSpliterator(stream.spliterator(),factory,
                  Function.identity(),size,time,t),stream.isParallel());
  
      }
docs: Group a Stream by size and time constraints
  
  @see ReactiveSeq#groupedBySizeAndTime(int, long, TimeUnit, Supplier)
  
  @param stream Stream to group
  @param size Max group size
  @param time Max group time
  @param t Time unit for max group time
  @param factory Supplier to create toX for groupings
  @return Stream grouped by time and size