org.jpmml.evaluator
Class EvaluatorUtil

java.lang.Object
  extended by org.jpmml.evaluator.EvaluatorUtil

public class EvaluatorUtil
extends Object


Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static Object decode(Object object)
See Also:
Computable

decode

public static Map<String,?> decode(Map<FieldName,?> map)
Decouples a Map instance from the current runtime environment by decoding both its keys and values.

See Also:
decodeKeys(Map), decodeValues(Map)

encodeKeys

public static <V> Map<FieldName,V> encodeKeys(Map<String,V> map)
Replaces String keys with FieldName keys.


decodeKeys

public static <V> Map<String,V> decodeKeys(Map<FieldName,V> map)
Replaces FieldName keys with String keys.

See Also:
FieldName.getValue()

decodeValues

public static <K> Map<K,?> decodeValues(Map<K,?> map)
Replaces Computable complex values with simple values.

See Also:
Computable


Copyright © 2013 University of Tartu. All Rights Reserved.