¡@

Home 

java Programming Glossary: stringcreator

can I reflectively instantiate a generic type in java?

http://stackoverflow.com/questions/356583/can-i-reflectively-instantiate-a-generic-type-in-java

do here public interface Creator T T create public class StringCreator implements Creator String public String create return new String.. public String create return new String public class FancyStringCreator implements Creator String public String create return new StringBuffer.. I can specify that the class passed must be a subclass of StringCreator. But as Ericson pointed out the generic information is still..