Package de.xima.fc.utils
Class XStreamUtils
- java.lang.Object
-
- de.xima.fc.utils.XStreamUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Stream<T>
stream(Enumeration<T> enumeration)
Streams the items of an enumeration.
-
-
-
Method Detail
-
stream
public static <T> Stream<T> stream(Enumeration<T> enumeration)
Streams the items of an enumeration.- Type Parameters:
T
- Type of the items.- Parameters:
enumeration
- Enumeration of items, may benull
.- Returns:
- A stream over the items of the enumeration.
- Since:
- 8.2.0
-
-