casts an individual $scalar into an object scalar representing a Java value
$scalar - the scalar to cast into a Java value
't' - the type to cast to
You may also specify a Character Description b byte c char d double f float h short i int l long z boolean o java.lang.Object * Java Object (determined by class of scalars object value) ^Class
literal to cast to something specific.
A sleep scalar with a reference to a Java value of the specified type.
$cast = casti(1, 'b'); println([$cast getClass]); $cast = casti(33.5, 'f'); println([$cast getClass]);
class java.lang.Byte class java.lang.Float