public class GuavaUtils extends Object
Constructor and Description |
---|
GuavaUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends Enum<T>> |
getEnumIfPresent(Class<T> enumClass,
String value)
Like Guava's Enums.getIfPresent, with some differences.
|
static Long |
tryParseLong(String string)
To fix semantic difference of Longs.tryParse() from Long.parseLong (Longs.tryParse() returns null for '+' started value)
|
Copyright © 2011–2018. All rights reserved.