Package io.avaje.jex.core
Class Model
- java.lang.Object
-
- io.avaje.jex.core.Model
-
public class Model extends Object
Helper to create model map of key value pairs.
-
-
Constructor Summary
Constructors Constructor Description Model()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>toMap(String key, Object val, Object... others)Convert the arguments into a map of String keys to Object values.
-
-
-
Method Detail
-
toMap
public static Map<String,Object> toMap(String key, Object val, Object... others)
Convert the arguments into a map of String keys to Object values.- Parameters:
key- The first keyval- The first valueothers- Other key values where the key should be a string- Returns:
- The map of key value pairs
-
-