泛型方法

public static <T, S> int func(List<T> list, Map<Integer, S> map) { ... }