Package io.toro.martini.util
Class Streams2
- java.lang.Object
-
- io.toro.martini.util.Streams2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Stream<T>
stream(Enumeration<T> e)
Returns a sequential stream for the providedEnumeration
.
-
-
-
Method Detail
-
stream
public static <T> Stream<T> stream(Enumeration<T> e)
Returns a sequential stream for the providedEnumeration
.
-
-