On Jan 29, 8:23 pm, "SantaJ...@gmail.com" <SantaJ...@gmail.com> wrote:
> package jp.co.nec.rfidmgr.epcis;
>
[quoted text clipped - 22 lines]
>
> how can i overwrite a method using generics
The problem is, you can't.
Unles you name temp something else, and in this case, there really
isn't any reason not to.
import java.util.List;
import java.util.Map;
public class T {
public void tempString(List<String> str) {
}
public void tempInteger(List<Integer> str) {
}
public void tempMap(List<Map<String, Integer>> str) {
}
}