Sculptor: representing a java.util.Iterator<String>
9 views
Skip to first unread message
Ron Smith
unread,
Mar 2, 2012, 12:00:41 PM3/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fornax-Platform
Does anyone have a good way to represent an operation return type that
is a java.util.Iterator<String>?
For now I defined a BasicType wrapper class as a gap, then will add
the java.util.Iterator in the non-generated class.
BasicType StringsIterator {
gap
}
I could also return a java.util.Iterator but I'd prefer to use a
parameterized type.
Patrik Nordwall
unread,
Mar 2, 2012, 1:08:38 PM3/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fornax-Platform
Yes! How'd I miss that!
Thanks
Ron
On Mar 2, 12:08 pm, Patrik Nordwall <patrik.nordw...@gmail.com> wrote:
> Isn't it possible to define your own type?
>
> javaType.StringIterator=java.util.Iterator<String>
>