public final class Alternatives extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
firstNotNull(T... objects)
Returns the first object that is not null
|
@SafeVarargs public static <T> T firstNotNull(T... objects)
objects - The objects to processCopyright © 2023. All rights reserved.