mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 11:51:54 +01:00
adding generics syntax to ArrayList and HashMap
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user