public class Enumerations extends Object
| Constructor and Description |
|---|
Enumerations() |
| Modifier and Type | Method and Description |
|---|---|
static <O> Enumeration<O> |
singleton(O element) |
static <T> Stream<T> |
stream(Enumeration<T> e) |
static <T> Stream<T> |
stream(Enumeration<T> e,
boolean parallel) |
public static <T> Stream<T> stream(Enumeration<T> e)
public static <T> Stream<T> stream(Enumeration<T> e, boolean parallel)
public static <O> Enumeration<O> singleton(O element)
Copyright © 2018–2019 Ultreia.io. All rights reserved.