autocast hashmap
in
Programming Questions
•
2 years ago
there was something like: (Word is a class)
Simulair to
ArrayList<Word> words = new ArrayList<Word>();
I only can't find it.
I find stuff like, http://www.javarants.com/2004/05/13/usability-and-java-1-5-generics-vs-autocasting/
but it uses Map etc. what confuses me.
- HashMap<Word> words = new HashMap<Word>();
Simulair to
ArrayList<Word> words = new ArrayList<Word>();
I only can't find it.
I find stuff like, http://www.javarants.com/2004/05/13/usability-and-java-1-5-generics-vs-autocasting/
but it uses Map etc. what confuses me.
1