Java is missing a useful function to flatten a tree into a Stream of elements. Also transforming of Enumeration to Streams seems not possible in Java 8.
moved MCRUtils.asStream(Enumeration) to MCRStreamUtils
added function to flatten a tree of elements and return a Stream
Java is missing a useful function to flatten a tree into a Stream of elements. Also transforming of Enumeration to Streams seems not possible in Java 8.