tuweni / org.apache.tuweni.io / Streams / enumerationStream

enumerationStream

static fun <T : Any!> enumerationStream(enumeration: Enumeration<T>!): Stream<T>! (source)

Stream an Enumeration.

Parameters

enumeration - Enumeration<T>!: The enumeration.

- The type of objects in the enumeration.

Return
Stream<T>!: A stream over the enumeration.