Skip to content

Commit 36611af

Browse files
committed
Add keys() to the Dictionary data classes
1 parent 49ad136 commit 36611af

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

core/src/processing/data/FloatDict.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,12 @@ protected void crop() {
227227
}
228228
}
229229

230-
230+
/**
231+
* Return the internal array being used to store the keys.
232+
*
233+
* @webref floatdict:method
234+
* @webBrief Return the internal array being used to store the keys
235+
*/
231236
public Iterable<String> keys() {
232237
return new Iterable<String>() {
233238

core/src/processing/data/IntDict.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ protected void crop() {
224224
}
225225

226226

227+
/**
228+
* Return the internal array being used to store the keys.
229+
*
230+
* @webref intdict:method
231+
* @webBrief Return the internal array being used to store the keys
232+
*/
227233
public Iterable<String> keys() {
228234
return new Iterable<String>() {
229235

core/src/processing/data/StringDict.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,12 @@ protected void crop() {
246246
}
247247
}
248248

249-
249+
/**
250+
* Return the internal array being used to store the keys.
251+
*
252+
* @webref stringdict:method
253+
* @webBrief Return the internal array being used to store the keys
254+
*/
250255
public Iterable<String> keys() {
251256
return new Iterable<String>() {
252257

0 commit comments

Comments
 (0)