You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2021. It is now read-only.
Collection<SomeClass> myCollection = getCollection();
SomeClassfirstItem = myCollection.iterator().next(); // Assuming we know there is at least one itemdoSomething(firstItem);
Generated C#
Collection<SomeClass>myCollection=getCollection();SomeClassfirstItem=myCollection.GetEnumerator().Next();// ERROR Because there is no Next() method on the enumerator.doSomething(firstItem);
The text was updated successfully, but these errors were encountered:
ainslec
changed the title
Incorrect mapping of
Incorrect mapping of Iterator.next()
Mar 29, 2014
The following code is mapped incorrectly :
Source Java
Generated C#
The text was updated successfully, but these errors were encountered: