mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
add print method to the Dict and List classes
This commit is contained in:
@@ -428,6 +428,13 @@ public class StringDict {
|
||||
}
|
||||
|
||||
|
||||
public void print() {
|
||||
for (int i = 0; i < size(); i++) {
|
||||
System.out.println(keys[i] + " = " + values[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
Reference in New Issue
Block a user