Blackberry JDE ArrayList?

There is no Blackberry in JDE java.util.ArrayList, although he knows about java.util? What's up with that? Is there an equivalent class for BB? I don't want to use an array, really, because I have an unknown number of objects I'm dealing with. Why does Blackberry JDE come out so much?

+3
source share
3 answers

Well, this is Java in terms of language. It just does not support all standard package versions. It is more in line with the microdescribing standard, but is beyond the scope of J2ME in terms of package. They do not go saying that they comply with J2SE 1.6, but that is still Java.

, , , , Arrays. . net.rim.device.api.util.

+6

. ArrayList . AbstractCollection, AbstractList, Collection, Comparable, ConcurrentModificationException, Iterator, List ListIterator.

I have a project in which there is a java.util package, and I have included all of these classes, and now I can use ArrayList :). You will have to modify the classes a bit to use the rim import rather than the standard java import if necessary, but this can be done if you really want ArrayLists.

+2
source

Source: https://habr.com/ru/post/1717749/


All Articles