Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map<String, Object> getfindServiceOrder(Integer page, Integer carOwnerSeq, Integer rows, Integer status) { Map<String, Object> map = getMap(); map.put("page", page); Map<String, Object> where = getMap(); where.put("carOwnerSeq", carOwnerSeq); where.put("status", status); map.put("rows", rows); map.put("where", where); return map; } public static <K, V> Map<K, V> getMap() { return new HashMap<K, V>(); } }