public abstract class SpringUtils extends Object
| Constructor and Description |
|---|
SpringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
defaultIfEmpty(String value,
String defaultValue) |
static <T> T |
defaultIfNull(T value,
T defaultValue) |
static String |
dereferenceBean(String beanName) |
static <T extends Comparable<T>> |
sort(List<T> list) |
static <T extends Comparable<T>> |
sort(T[] array) |
static <T> T[] |
toArray(T... array) |
public static <T> T defaultIfNull(T value,
T defaultValue)
public static <T> T[] toArray(T... array)
public static <T extends Comparable<T>> T[] sort(T[] array)
public static <T extends Comparable<T>> List<T> sort(List<T> list)