Cannot iterate over JavaUtilMap in Swift: 'JavaUtilSet' does not have a member named 'Generator'
See original GitHub issueHaving the following Map:
let params: JavaUtilMap = // defined
I tried this:
for entry in params.entrySet() {
}
But it leads to the following error:
'JavaUtilSet' does not have a member named 'Generator'
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Loop through [AnyObject]? results in does not have a member ...
This code is giving me an error telling me that it does not have a member named generator. for screen in NSScreen.screens() {...
Read more >Java features should be preferred to Guava
When migrating an application to Java 8 or even when starting a new one, it's recommended to prefer Java 8 APIs over Guava...
Read more >TurbineGenerator.java - Full-Time Faculty
* Map (function, variable) to debug symbol. * Function is "" if not inside scope of function. */
Read more >Using Formal Methods to Verify Transactional Abstract ...
ing the burden on the programmer with a proof requirement does not simplify the task of ... tion to the problem of specifying...
Read more >Sequence | Apple Developer Documentation
The most common way to iterate over the elements of a sequence is to use a for ... The Sequence protocol makes no...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well I guess it is the following way, but it is not very easy:
Here is my solution: https://github.com/google/j2objc/issues/533