M
Matt Baker
Guest
Depends on the data. In java Set and List are interfaces. ArrayList is basic implementation of List. ArrayList does NOT implement Set: · Lists are ordered, and allow duplicates, and allow nulls. · Sets are unordered, do not allow duplicates, and may or may not allow null. So it depends on the data. From: Thomas Mercer-Hursh [mailto:bounce-tamhas@community.progress.com] Sent: Friday, June 12, 2015 5:21 PM To: TU.OE.Development@community.progress.com Subject: [Technical Users - OE Development] Returning a set Returning a set Thread created by Thomas Mercer-Hursh I am working with Proparse, which was written in Java, but which has been converted to a .NET DLL using IKVM. I have one method on one of the classes which the documentation says returns a java.util.Set and another which returns a java.util.ArrayList Symbol where Symbol is one of the classes in Proparse. I am wondering what I assign this too in an OpenEdge context. Do I define a variable of type java.util.Set or java.util.ArrayList and put that on the left side of the assignment? Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...