public class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
capitalize(String val) |
static void |
checkArgument(boolean condition,
String message,
Object... args)
Analog of method from guava Preconditions
|
static String |
decapitalize(String val) |
static void |
uncheckedThrow(Throwable exception)
Hack to throw checked exception as is from method what not declares it
|
public static void uncheckedThrow(Throwable exception)
exception - public static void checkArgument(boolean condition,
String message,
Object... args)
condition - if false exception will be thrownmessage - template for exception messageargs - template argumentsCopyright © 2016. All rights reserved.