Quote:
Originally Posted by ksanger
(Last year we were using C++ and to reconfigure the Cans we needed to destruct them then initialize them in either diagnostic speed mode or run position mode).
|
This year the API has a changeMode method so you don't need to destroy the object and recreate it. Just call changeMode and then call enable.
Quote:
Originally Posted by ksanger
I don't know if I can destruct them in Java and haven't seen a Java example that enables position mode.
|
In Java, there are no destructors and there is no delete. The lack of destructors is a limitation of the Squawk JVM that we are using. Objects with no references to them are destroyed by the garbage collector.
-Joe