public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream<T> |
concat(Stream<T>... streams) |
static boolean |
notEmpty(String string) |
static <T> Optional<T> |
or(Optional<T> left,
Optional<T> right) |
static <T> Optional<T> |
or(Optional<T> left,
Supplier<Optional<T>> right) |
public static boolean notEmpty(String string)
@SafeVarargs public static <T> Stream<T> concat(Stream<T>... streams)
Copyright © 2016–2017. All rights reserved.