Class XStreamUtils


  • public final class XStreamUtils
    extends Object
    Additional utilities for Streams not found in other libraries.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • 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 be null.
        Returns:
        A stream over the items of the enumeration.
        Since:
        8.2.0