View Single Post
  #11   Spotlight this post!  
Unread 07-09-2009, 14:44
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: FRC Java 2010 Documentation

@ryancahoon: there are no additional layers, sorry...Remember that Squawk is a J2ME VM and hence will have a slightly different library set. I've been using squawk for years and also noticed the apparent sparsity, but in fact theres not much missing...It just named differently/less redundant.
For example, for arraylist, use Vector instead. In fact on J2SE you are much better off using Vector anyway because it has synchronized methods. Now...Squawk is not exactly jdk1.5 compatible yet(ie no parameterized classes) and some of the implementations of stuff are a bit old..Vector is from 1.2 because of J2ME compliance stuff. That means you might not get some of the methods you are used to with Vector, but you'll get along fine--elementAt() instead of get(), for example.
There is a way to use 1.5 code on squawk and its not too difficult...I'll dig it up and share it as i can...
Reply With Quote