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> getCommentMap(Integer carOwnerSeq, Integer careggServiceSeq,
            Integer serviceCommentType, Integer upServiceCommentSeq, Integer serviceCommentValue,
            Integer serviceCommentContent) {
        Map<String, Object> map = getMap();
        map.put("carOwnerSeq", carOwnerSeq);
        map.put("careggServiceSeq", carOwnerSeq);
        map.put("serviceCommentType", carOwnerSeq);
        map.put("upServiceCommentSeq", carOwnerSeq);
        map.put("serviceCommentValue", carOwnerSeq);
        map.put("serviceCommentContent", serviceCommentContent);
        return map;
    }

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