/help

I was asked to create a function which returns an iterator, how am I suppose to do this? explain about what's the program: I'm creating a program representing an "association table", I'm implementing this with a treeMap. The last function I need to create is a function called "keyIterator" which returns an iterator which iterate over the map's keys. How am I suppose to do this? I implemented it with for-each loop which prints the keys and their values but it doesn't return any iterator...
No description
No description
2 Replies
JavaBot
JavaBot11mo ago
This post has been reserved for your question.
Hey @Yarden! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot11mo ago
Post Closed
This post has been closed by <@218019068219883520>.
Want results from more Discord servers?
Add your server