Package com.github.phantomthief.util
Class MoreStreams
- java.lang.Object
-
- com.github.phantomthief.util.MoreStreams
-
public class MoreStreams extends Object
- Author:
- w.vela
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntStreamintRangeClosed(int from, int to)static LongStreamlongRangeClosed(long from, long to)static <T> Stream<List<T>>partition(Stream<T> stream, int size)static <T> Stream<T>toStream(Iterable<T> iterable)static <T> Stream<T>toStream(Iterator<T> iterator)
-
-
-
Method Detail
-
longRangeClosed
public static LongStream longRangeClosed(long from, long to)
-
intRangeClosed
public static IntStream intRangeClosed(int from, int to)
-
-