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> getActiveCarEgg(Integer carOwnerSeq, Integer carInfoSeq, String careggSn,
            String verifyCode, String carDistance) {
        Map<String, Object> map = getMap();
        map.put("carOwnerSeq", carOwnerSeq);
        map.put("carInfoSeq", carInfoSeq);
        map.put("careggSn", careggSn);
        map.put("verifyCode", verifyCode);
        map.put("carDistance", carDistance);
        return map;

    }

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