Class ExtraStreams


  • public class ExtraStreams
    extends java.lang.Object
    Extra stream utilities.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.stream.IntStream times​(int N)
      Make a range stream from 0 to (but not including) N.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • times

        public static java.util.stream.IntStream times​(int N)
        Make a range stream from 0 to (but not including) N.
        Parameters:
        N - the number of iterations.
        Returns:
        The stream.