public final class X_Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equal(Object one,
Object two) |
static <T> T |
firstNotNull(T first,
T... rest) |
static <T> T |
firstNotNull(T first,
T second) |
static <T> T |
firstNotNull(T first,
T second,
T third) |
static RuntimeException |
rethrow(Throwable e) |
static Throwable |
unwrap(Throwable e) |
static double |
zeroSafeDouble(Number i) |
static int |
zeroSafeInt(Integer i) |
public static <T> T firstNotNull(T first,
T second)
public static <T> T firstNotNull(T first,
T second,
T third)
public static <T> T firstNotNull(T first,
T... rest)
public static RuntimeException rethrow(Throwable e)
public static int zeroSafeInt(Integer i)
public static double zeroSafeDouble(Number i)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.