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> addViolationCarId(Integer carOwnerSeq, Integer carAddType, String carId,
            String carVin, String carEngine, Integer carStatus) {
        Map<String, Object> map = getMap();
        map.put("carOwnerSeq", carOwnerSeq);
        map.put("carAddType", carAddType);
        map.put("carId", carId);
        map.put("carVin", carVin);
        map.put("carEngine", carEngine);
        map.put("carStatus", carStatus);

        return map;
    }

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