public class EvaluatorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,?> |
decode(Map<FieldName,?> map)
Decouples a
Map instance from the current runtime environment by decoding both its keys and values. |
static Object |
decode(Object object) |
static <V> Map<String,V> |
decodeKeys(Map<FieldName,V> map)
Replaces
FieldName keys with String keys. |
static <K> Map<K,?> |
decodeValues(Map<K,?> map)
Replaces
Computable complex values with simple values. |
static <V> Map<FieldName,V> |
encodeKeys(Map<String,V> map)
Replaces String keys with
FieldName keys. |
static <K> List<Map<K,Object>> |
groupRows(K groupKey,
List<Map<K,Object>> table) |
public static Object decode(Object object)
Computablepublic static Map<String,?> decode(Map<FieldName,?> map)
Map instance from the current runtime environment by decoding both its keys and values.decodeKeys(Map),
decodeValues(Map)public static <V> Map<FieldName,V> encodeKeys(Map<String,V> map)
FieldName keys.public static <V> Map<String,V> decodeKeys(Map<FieldName,V> map)
FieldName keys with String keys.FieldName.getValue()public static <K> Map<K,?> decodeValues(Map<K,?> map)
Computable complex values with simple values.ComputableCopyright © 2013 University of Tartu. All Rights Reserved.