Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.HashMap;

import java.util.Map;

public class Main {

    public static Map<String, Object> getCarOwnerServiceSetupMap(Integer serviceBindSeq, Integer carOwnerSeq,
            String serviceBindType, String serviceBindName, String serviceBindPara1) {
        Map<String, Object> map = getMap();
        map.put("serviceBindSeq", serviceBindSeq);
        map.put("carOwnerSeq", carOwnerSeq);
        /* map.put("serviceOrgSeq", serviceOrgSeq); */
        map.put("serviceBindType", serviceBindType);
        map.put("serviceBindName", serviceBindName);
        map.put("serviceBindPara1", serviceBindPara1);
        return map;
    }

    public static <K, V> Map<K, V> getMap() {
        return new HashMap<K, V>();
    }
}