Created
April 28, 2013 12:40
-
-
Save idefixcert/5476773 to your computer and use it in GitHub Desktop.
StaticGenericFactory
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
public class Test { | |
public void test() { | |
Map<String, String> test = newHashMap(); | |
} | |
public static <K,V> Map<K,V> newHashMap() { | |
return new HashMap<K, V>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment