public class Utils
extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static <T> scala.Option<T> |
getOptional(boolean condition,
scala.Function0<T> result) |
static String |
getStringField(boolean condition,
scala.Function0<String> result) |
static <K,V> void |
setJMapField(java.util.Map<K,V> input,
scala.Function1<java.util.Map<K,V>,Object> putAllFunc) |
static void |
setStringField(String input,
scala.Function1<String,Object> f) |
public static <T> scala.Option<T> getOptional(boolean condition, scala.Function0<T> result)
public static void setStringField(String input, scala.Function1<String,Object> f)
public static String getStringField(boolean condition, scala.Function0<String> result)
public static <K,V> void setJMapField(java.util.Map<K,V> input, scala.Function1<java.util.Map<K,V>,Object> putAllFunc)