Class XStreamUtils
java.lang.Object
de.xima.fc.utils.XStreamUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Stream<T> stream(Enumeration<T> enumeration) Streams the items of an enumeration.
-
Method Details
-
stream
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
-