Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    private static Map<Class<?>, Class<?>> getWrapperTypes() {
        Map<Class<?>, Class<?>> ret = new HashMap<Class<?>, Class<?>>();
        ret.put(Boolean.TYPE, Boolean.class);
        ret.put(Character.TYPE, Character.class);
        ret.put(Byte.TYPE, Byte.class);
        ret.put(Short.TYPE, Short.class);
        ret.put(Integer.TYPE, Integer.class);
        ret.put(Long.TYPE, Long.class);
        ret.put(Float.TYPE, Float.class);
        ret.put(Double.TYPE, Double.class);
        ret.put(Void.TYPE, Void.class);
        return ret;
    }
}