Skip to content

Instantly share code, notes, and snippets.

@ixqbar
Created July 30, 2015 09:38
Show Gist options
  • Save ixqbar/f68bc8ea9a7086f7259b to your computer and use it in GitHub Desktop.
Save ixqbar/f68bc8ea9a7086f7259b to your computer and use it in GitHub Desktop.
java之class array
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