Add keys() to the Dictionary data classes

This commit is contained in:
Casey Reas
2021-08-09 19:30:45 -07:00
parent 49ad136b88
commit 36611af8d0
3 changed files with 18 additions and 2 deletions

View File

@@ -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<String> keys() {
return new Iterable<String>() {