Created
July 30, 2015 09:38
-
-
Save ixqbar/f68bc8ea9a7086f7259b to your computer and use it in GitHub Desktop.
java之class array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gofuliwo.logserver; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
/** | |
* Hello world! | |
* | |
*/ | |
public class App { | |
// public final static Map<String, Class<?>[][]> serviceMapping = new HashMap<String, Class<?>[][]>(); | |
// | |
// static { | |
// serviceMapping.put("Player.getInfo", new Class[][] { new Class[]{int.class }, new Class[]{int.class, String.class}}); | |
// } | |
// public final static Map<String, List<Class<?>[]>> serviceMapping = new HashMap<>(); | |
// | |
// static { | |
// serviceMapping.put("Player.getInfo", Arrays.asList(new Class[]{int.class}, new Class[]{int.class, String.class})); | |
// } | |
public static void main(String[] args) { | |
System.out.println("Hello World!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment