mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add hasKey() methods
This commit is contained in:
@@ -246,6 +246,11 @@ public class FloatDict {
|
||||
}
|
||||
|
||||
|
||||
public boolean hasKey(String key) {
|
||||
return index(key) != -1;
|
||||
}
|
||||
|
||||
|
||||
// /** Increase the value of a specific key by 1. */
|
||||
// public void inc(String key) {
|
||||
// inc(key, 1);
|
||||
|
||||
Reference in New Issue
Block a user