Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: LGPL 

import java.util.HashMap;
import java.util.Map;

public class Main {
    /**
     * @param paramName
     * @param value
     * @return a {@link Map} of parameters with a single parameter.
     */
    public static Map<String, Object> createParameters(String paramName, Object value) {
        HashMap<String, Object> parameters = new HashMap<String, Object>();
        parameters.put(paramName, value);
        return parameters;
    }
}