Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
createMap(K key,
V value)
Creates a map that stores the supplied key/value pair.
|
static Map<String,Object> |
createStringToObjectMap(String key,
Object value)
Creates a String to Object map, that can possible be used to represent
named JP/QL query parameters.
|
public static <K,V> Map<K,V> createMap(K key, V value)
K
- Type of the key.V
- Type of the value.key
- The key to store in the created map.value
- The value to store in the created map.public static Map<String,Object> createStringToObjectMap(String key, Object value)
key
- The key to store in the created map.value
- The value to store in the created map.Copyright © 2008–2018. All rights reserved.