adding generics syntax to ArrayList and HashMap

This commit is contained in:
shiffman
2013-01-04 20:36:55 +00:00
parent 09a6f21634
commit 745e4a10b8
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ int counter;
void setup() {
size(640, 360);
words = new HashMap();
words = new HashMap<String,Word>();
// Load file and chop it up
String[] lines = loadStrings("dracula.txt");