public class UsefulStaticMethods
extends java.lang.Object
Constructor and Description |
---|
UsefulStaticMethods() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
concat(java.util.Collection<T> a,
java.util.Collection<T> b) |
static <T> T |
either(T option1,
T option2) |
static <T> T[] |
eitherArray(T[] option1,
T[] option2) |