SunSPOT API V6.0


Package com.sun.squawk.util

Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.)

See:
          Description

Interface Summary
Comparer A version of Java SE's java.util.Comparator interface.
IntHashtableVisitor This class allows us to interate over an IntHashtable without allocating memory.
 

Class Summary
Arrays This class contains various methods for manipulating arrays (such as sorting and searching).
ByteArrayInputStreamWithSetBytes An extention of ByteArrayInputStream that allows the byte array buffer to be modified, using the ByteArrayInputStreamWithSetBytes.setBytes(byte[], int, int) method.
ByteArrayOutputStreamWithGetBytes An extention of ByteArrayOutputStream that allows the byte array buffer to be read directly, using the ByteArrayOutputStreamWithGetBytes.getBytes() method.
IntHashtable This class implements an unsynchronized hashtable, which maps keys to values.
LineReader This class provides for reading lines from a reader.
MathUtils The class MathUtils contains some of the Java SE Math routines that are not present in the CLDC 1.1 version of Math: MathUtils.asin(double), MathUtils.acos(double), MathUtils.atan(double) & MathUtils.atan2(double, double).
SquawkHashtable This class implements a variation of Hashtable that is unsynchronized.
SquawkVector The SquawkVector class is an unsynchronized version of Vector.
StringTokenizer StringTokenizer is a class that controls simple linear tokenization of a String.
 

Exception Summary
NotImplementedYetException Thrown to indicate that an attempt has been made to invoke code that is not yet complete.
UnexpectedException  
 

Package com.sun.squawk.util Description

Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.)


SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.