mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
add hasKey() methods
This commit is contained in:
@@ -215,6 +215,11 @@ public class StringDict {
|
||||
}
|
||||
|
||||
|
||||
public boolean hasKey(String key) {
|
||||
return index(key) != -1;
|
||||
}
|
||||
|
||||
|
||||
protected void create(String key, String value) {
|
||||
if (count == keys.length) {
|
||||
keys = PApplet.expand(keys);
|
||||
|
||||
Reference in New Issue
Block a user