L’articolo che segue è in lingua inglese, è disponibile anche la traduzione in italiano.
This is a collection of old, unmaintained libraries for the SuperWaba platform I wrote some time ago.
If you think you still need them, please contact me.
SuperWaba Collections 2.0
What are the SuperWaba Collections?
SuperWaba is a programming platform that allows the use of Java on handhelds and smartphones. It currently supports the Palm OS, Windows Mobile and Symbian.
Although SuperWaba is a full-featured, mature project it also has a big drawback: SuperWaba uses its own class library, which is very different from the standard J2SE and J2ME frameworks like Swing, the Collections, JDBC and so on. Because of this, the programmer is forced to learn a lot of new classes, and it’s nearly impossible to write code that works both on standard Java platforms and SuperWaba.
The SuperWaba Collections is a port of the original J2SE framework to the SuperWaba platform that helps reducing programmer’s learning and porting effort. The Collections framework has been modified as little as possible (actually the resulting library is almost completely identical) to work on the SuperWaba Virtual Machine so that now you can use well-known classes like ArrayList, HashMap and Iterator on SuperWaba!
Only one change to your code is required: the java.util and java.lang prefixes should be substituted by moio.util when using the Collections’ classes in order to workaround a SuperWaba Virtual Machine limitation.
Almost all of the Collections’ classes are fully supported: you should look at the original Collections documentation at all times. In the rare cases when there are differences between J2SE Collections and SuperWaba Collections you can look at the included source code.
The SuperWaba Collections are distributed in a package containing the Eclipse project folder (that can be used in other environments as well), a README file, source code, Jar and Pdb-packaged ready-to-use libraries, and Ant files to rebuild everything.
- SuperWaba Collections package (zip, 1.6 Mb)
Optimizing the result
In most cases, you won’t need all the Collections to make your programs work, but only a small subset. To get automatic code shrinking and optimizing you’re advised to use my SuperOptimize tool, instead of including the whole pdb library.
What’s SuperWaba JEP?
JEP is a popular OpenSource math expression parser by Singular Systems.
SuperWaba JEP is a special JEP version compatible with SuperWaba using the SuperWaba Collections.
SuperWaba JEP is almost completely compatible with the original JEP (source code modifications are minimal), so using JEP documentation is recommended.
SuperWaba JEP distributed in a package containing the Eclipse project folder (that can be used in other environments as well), a README file, source code, Jar and Pdb-packaged ready-to-use libraries, and Ant files to rebuild everything.
You also need the SuperWaba Collections package (zip, 1.5 Mb).
- SuperWaba JEP package (zip)