From 36611af8d08450f5e4a91af8bc68b745aa4ce1f7 Mon Sep 17 00:00:00 2001 From: Casey Reas Date: Mon, 9 Aug 2021 19:30:45 -0700 Subject: [PATCH] Add keys() to the Dictionary data classes --- core/src/processing/data/FloatDict.java | 7 ++++++- core/src/processing/data/IntDict.java | 6 ++++++ core/src/processing/data/StringDict.java | 7 ++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/core/src/processing/data/FloatDict.java b/core/src/processing/data/FloatDict.java index 2fd737b76..3b48db301 100644 --- a/core/src/processing/data/FloatDict.java +++ b/core/src/processing/data/FloatDict.java @@ -227,7 +227,12 @@ public class FloatDict { } } - + /** + * Return the internal array being used to store the keys. + * + * @webref floatdict:method + * @webBrief Return the internal array being used to store the keys + */ public Iterable keys() { return new Iterable() { diff --git a/core/src/processing/data/IntDict.java b/core/src/processing/data/IntDict.java index a68239dae..ef0f50834 100644 --- a/core/src/processing/data/IntDict.java +++ b/core/src/processing/data/IntDict.java @@ -224,6 +224,12 @@ public class IntDict { } + /** + * Return the internal array being used to store the keys. + * + * @webref intdict:method + * @webBrief Return the internal array being used to store the keys + */ public Iterable keys() { return new Iterable() { diff --git a/core/src/processing/data/StringDict.java b/core/src/processing/data/StringDict.java index 4e35c669d..70a13b366 100644 --- a/core/src/processing/data/StringDict.java +++ b/core/src/processing/data/StringDict.java @@ -246,7 +246,12 @@ public class StringDict { } } - + /** + * Return the internal array being used to store the keys. + * + * @webref stringdict:method + * @webBrief Return the internal array being used to store the keys + */ public Iterable keys() { return new Iterable() {