Sun SPOT API
Green Release  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

A0 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A1 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A2 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A3 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A4 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A5 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A_EXTENDED_ADDRESS - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_MAC
Key for I802_15_4_MAC.mlmeSet(int, long) to control the 64-bit IEEE address for this MAC layer.
abs(int) - Static method in class java.lang.Math
Returns the absolute value of an int value.
abs(long) - Static method in class java.lang.Math
Returns the absolute value of a long value.
abs(float) - Static method in class java.lang.Math
Returns the absolute value of a float value.
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
ABSTRACT - Static variable in class com.sun.squawk.Modifier
The int value representing the abstract modifier.
AbstractADT7411RangeInput - Class in com.sun.spot.sensorboard.hardware
Abstract class providing a basis for sub-classes accessing the ADT7411 a-to-d converter
AbstractADT7411RangeInput(IADT7411) - Constructor for class com.sun.spot.sensorboard.hardware.AbstractADT7411RangeInput
 
ACBG - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACCEL_FULLSCALE - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Internal pin used to operate the accelerometer.
ACCEL_SELFTEST - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Internal pin used to operate the accelerometer.
ACCEL_X - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for X Axis accelerometer reading , this is an internal connection.
ACCEL_Y - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for Y Axis accelerometer reading , this is an internal connection.
ACCEL_Z - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for Z Axis accelerometer reading , this is an internal connection.
accept() - Method in class com.sun.squawk.io.mailboxes.ServerChannel
Wait for a client to open a connection, then create an anonymous local mailbox to use or further communication.
acceptAndOpen() - Method in interface javax.microedition.io.StreamConnectionNotifier
Returns a StreamConnection that represents a server side socket connection.
ACCEPTCONNECTION - Static variable in class com.sun.squawk.vm.ChannelConstants
 
ACD - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACI - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIC - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIE - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIS0 - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIS1 - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ackRequest() - Method in class com.sun.spot.peripheral.radio.RadioPacket
Check whether this packet wants an acknowledgement
ACO - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACOS - Static variable in class com.sun.squawk.vm.MathOpcodes
 
acos(double) - Static method in class java.lang.Math
 
ACTION_ECHO - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_ECHO_BROADCAST - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_ECHO_HDR - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_EXIT - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG_DETAIL - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG_STATS - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_RESET_STATS - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_SET_POWER - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
activeCount() - Static method in class com.sun.squawk.VMThread
Returns the current number of active threads in the VM.
activeCount() - Static method in class java.lang.Thread
Returns the current number of active threads in the VM.
add(IDriver) - Method in class com.sun.spot.peripheral.driver.proxy.ProxyDriverRegistry
 
add(IDriver) - Method in class com.sun.spot.peripheral.DriverRegistry
Add a driver to the registry.
add(IDriver) - Method in interface com.sun.spot.peripheral.IDriverRegistry
Add a driver to the registry.
add(int) - Method in class com.sun.squawk.Address
Adds a 32 bit offset to this address and return the resulting address.
add(ByteBufferEncoder) - Method in class com.sun.squawk.ByteBufferEncoder
Adds the contents of another ByteBuffer to this buffer.
add(String, OutputStream) - Method in class com.sun.squawk.io.MulticastOutputStream
Adds a given output stream to those contained by this multicaster.
add(int) - Method in class com.sun.squawk.Offset
Adds a value to this offset and return the resulting offset.
ADD_D - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ADD_F - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ADD_I - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ADD_L - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
addBroadcastConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IPortBasedProtocolManager
Register a broadcast connection
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.PortBasedProtocolManager
 
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyPBPM
 
AddCommand - Class in com.sun.spot.peripheral.driver.proxy
 
AddCommand(String) - Constructor for class com.sun.spot.peripheral.driver.proxy.AddCommand
 
addElement(Object) - Method in class com.sun.squawk.util.SquawkVector
Adds the specified component to the end of this vector, increasing its size by one.
addElement(Object) - Method in class java.util.Vector
Adds the specified component to the end of this vector, increasing its size by one.
addErr(String) - Method in class com.sun.squawk.Isolate
Adds a new connection to which System.err will send its output.
addErrors(String) - Method in class com.sun.spot.testFramework.SystemOutTestResultLog
 
addFailures(String) - Method in class com.sun.spot.testFramework.SystemOutTestResultLog
 
addFirst(Object) - Method in class com.sun.squawk.util.SimpleLinkedList
Inserts the given element at the beginning of this list.
addInputConnection(long, byte) - Method in interface com.sun.spot.peripheral.radio.IPortBasedProtocolManager
Register a point-to-point connection on which packets can be received
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.PortBasedProtocolManager
 
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyPBPM
 
addLast(Object) - Method in class com.sun.squawk.util.SimpleLinkedList
Appends the given element to the end of this list.
addListener(IOTACommandServerListener) - Method in class com.sun.spot.peripheral.ota.OTACommandServer
Attach a listener to be notified of the start and stop of flash operations.
addOffset(Offset) - Method in class com.sun.squawk.Address
Adds a 32 or 64 bit offset to this address and return the resulting address.
addOut(String) - Method in class com.sun.squawk.Isolate
Adds a new connection to which System.out will send its output.
addOutputConnection(long, byte) - Method in interface com.sun.spot.peripheral.radio.IPortBasedProtocolManager
Register a point-to-point connection on which packets can be sent
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.PortBasedProtocolManager
 
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyPBPM
 
addProtocol(byte, IProtocolManager) - Method in interface com.sun.spot.peripheral.radio.ILowPanPacketDispatcher
Register a protocol to send and receive radio packets.
Address - Class in com.sun.squawk
The Address class is used to abstract machine addresses.
ADDRESS - Static variable in class com.sun.squawk.Klass
The type for representing machine addresses.
ADDRESS - Static variable in class com.sun.squawk.vm.CID
 
ADDRESS_ARRAY - Static variable in class com.sun.squawk.Klass
The type for representing an array of machine addresses.
ADDRESS_ARRAY - Static variable in class com.sun.squawk.vm.CID
 
AddressClosedException - Exception in com.sun.squawk.io.mailboxes
This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.
AddressClosedException(MailboxAddress) - Constructor for exception com.sun.squawk.io.mailboxes.AddressClosedException
Creates a new instance of AddressClosedException
addressPadding(int, int) - Static method in class com.sun.spot.util.Utils
 
AddressType - Class in com.sun.squawk.vm
This class defines the constants that can be used to describe the type of the value stored at a given address.
AddressType() - Constructor for class com.sun.squawk.vm.AddressType
 
addServerConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IPortBasedProtocolManager
Register a server connection
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.PortBasedProtocolManager
 
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyPBPM
 
addServerConnectionHandler(ServerConnectionHandler) - Static method in class com.sun.squawk.VM
Adds a new ServerConnectionHandler to the list of active handlers.
addUnencodedByte(int) - Method in class com.sun.squawk.ByteBufferEncoder
Adds an unencoded byte to the buffer.
addUnsignedByte(int) - Method in class com.sun.squawk.ByteBufferEncoder
Adds an unsigned byte value to the buffer.
addUnsignedShort(int) - Method in class com.sun.squawk.ByteBufferEncoder
Adds an unsigned short value to the buffer.
addUtf8(String) - Method in class com.sun.squawk.ByteBufferEncoder
Adds a string to the buffer in UTF8 encoded form.
adt7411 - Variable in class com.sun.spot.sensorboard.hardware.AbstractADT7411RangeInput
 
ADT7411 - Class in com.sun.spot.sensorboard.hardware
Class implementing SPI access to the ADT7411 a-to-d converter.
ADT7411(ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411
Constructor that initialises the device
ADT7411InternalTemperatureInput - Class in com.sun.spot.sensorboard.hardware
Sub-class of AbstractADT7411RangeInput that accesses the ADT7411 temperature sensor.
ADT7411InternalTemperatureInput(IADT7411) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411InternalTemperatureInput
Constructor; stores addressing values
ADT7411RangeInput - Class in com.sun.spot.sensorboard.hardware
Sub-class of AbstractADT7411RangeInput that provides access to the a-to-d channels of the ADT7411 that are used for the accelerometer, the light sensor and the battery voltage sensor.
ADT7411RangeInput(IADT7411, int) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411RangeInput
Constructor; stores addressing values for the adt7411 and the pin number that defines the a-to-d channel to be used
after(Object) - Method in class java.util.Calendar
Compares the time field records.
AIC_IRQ_PRI_NORMAL - Static variable in interface com.sun.spot.peripheral.IAT91_AIC
Normal priority value (pri=4)
ALARM_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
allowUserGC(boolean) - Static method in class com.sun.squawk.VM
Enable or disable Runtime.gc()
ALOAD_B - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ALOAD_C - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ALOAD_D - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ALOAD_F - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ALOAD_I - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ALOAD_L - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ALOAD_O - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ALOAD_S - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
always(boolean, String) - Static method in class com.sun.squawk.util.Assert
Asserts that the specified condition is true.
always(boolean) - Static method in class com.sun.squawk.util.Assert
Asserts that the specified condition is true.
AM - Static variable in class java.util.Calendar
Value of the AM_PM field indicating the period of the day from midnight to just before noon.
AM_PM - Static variable in class java.util.Calendar
Field number for get and set indicating whether the HOUR is before or after noon.
and(UWord) - Method in class com.sun.squawk.Address
Logically AND a word with this address.
and(UWord) - Method in class com.sun.squawk.UWord
Logically AND a word with this word.
AND_I - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
AND_L - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
andRegister(int, int) - Method in class com.sun.spot.sensorboard.EDemoBoard
Perform an AND assignment to one of the registers in the Atmega88 controller.
ANY - Static variable in class com.sun.squawk.vm.AddressType
Denotes that an address that has been zeroed and thus can be safely read as the default value for any type.
ANY_WORD - Static variable in class com.sun.squawk.vm.AddressType
A constant denoting a word full of AddressType.ANYs.
APP_SLOT_0_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
APP_SLOT_1_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
append(Object) - Method in class java.lang.StringBuffer
Appends the string representation of the Object argument to this string buffer.
append(String) - Method in class java.lang.StringBuffer
Appends the string to this string buffer.
append(char[]) - Method in class java.lang.StringBuffer
Appends the string representation of the char array argument to this string buffer.
append(char[], int, int) - Method in class java.lang.StringBuffer
Appends the string representation of a subarray of the char array argument to this string buffer.
append(boolean) - Method in class java.lang.StringBuffer
Appends the string representation of the boolean argument to the string buffer.
append(char) - Method in class java.lang.StringBuffer
Appends the string representation of the char argument to this string buffer.
append(int) - Method in class java.lang.StringBuffer
Appends the string representation of the int argument to this string buffer.
append(long) - Method in class java.lang.StringBuffer
Appends the string representation of the long argument to this string buffer.
append(float) - Method in class java.lang.StringBuffer
Appends a float to the end of this buffer.
append(double) - Method in class java.lang.StringBuffer
Appends a double to the end of this buffer.
APPLICATION - Static variable in class com.sun.squawk.Suite
Denotes a suite that encapsulates an application.
APRIL - Static variable in class java.util.Calendar
Value of the MONTH field indicating the fourth month of the year.
areAlmostEqual(long, long, long) - Method in class com.sun.spot.testFramework.TestBase
 
areBitsExternal() - Method in class com.sun.squawk.util.BitSet
 
ArgsUtilities - Class in com.sun.squawk.util
A collection of utilities for command line argument parsing.
ArgsUtilities() - Constructor for class com.sun.squawk.util.ArgsUtilities
 
ArithmeticException - Exception in java.lang
Thrown when an exceptional arithmetic condition has occurred.
ArithmeticException() - Constructor for exception java.lang.ArithmeticException
Constructs an ArithmeticException with no detail message.
ArithmeticException(String) - Constructor for exception java.lang.ArithmeticException
Constructs an ArithmeticException with the specified detail message.
ARRAY - Static variable in class com.sun.squawk.Modifier
The int value denoting that a class represents a Java array.
arraycopy(Object, int, Object, int, int) - Static method in class com.sun.squawk.GC
Copy data from one array to another.
arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
ArrayHashtable - Class in com.sun.squawk.util
This class implements a hashtable, which maps keys to values.
ArrayHashtable(int) - Constructor for class com.sun.squawk.util.ArrayHashtable
Constructs a new, empty hashtable with the specified initial capacity.
ArrayHashtable() - Constructor for class com.sun.squawk.util.ArrayHashtable
Constructs a new, empty hashtable with a default capacity and load factor.
arrayHeaderSize - Static variable in class com.sun.squawk.vm.HDR
The size (in bytes) of an object header for an array object.
arrayHeaderTag - Static variable in class com.sun.squawk.vm.HDR
The object header format tag value specifying an array object header.
ArrayIndexOutOfBoundsException - Exception in java.lang
Thrown to indicate that an array has been accessed with an illegal index.
ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException with no detail message.
ArrayIndexOutOfBoundsException(int) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.
ArrayIndexOutOfBoundsException(String) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
ARRAYLENGTH - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
Arrays - Class in com.sun.squawk.util
This class contains various methods for manipulating arrays (such as sorting and searching).
ArrayStoreException - Exception in java.lang
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ArrayStoreException() - Constructor for exception java.lang.ArrayStoreException
Constructs an ArrayStoreException with no detail message.
ArrayStoreException(String) - Constructor for exception java.lang.ArrayStoreException
Constructs an ArrayStoreException with the specified detail message.
as6BitNumber(int) - Static method in class com.sun.spot.util.Utils
 
asByteArray() - Method in class com.sun.spot.peripheral.ConfigPage
Create a byte[] representation of the config page
asClass(Klass) - Static method in class com.sun.squawk.Klass
Gets the Class instance corresponding to a given Klass instance, creating it first if necessary.
asDottedHex() - Method in class com.sun.spot.util.IEEEAddress
Generate a dotted hex string from an IEEE address
ASIN - Static variable in class com.sun.squawk.vm.MathOpcodes
 
asin(double) - Static method in class java.lang.Math
 
asKlass(Class) - Static method in class com.sun.squawk.Klass
Gets the Klass instance corresponding to a given Class instance.
asLong() - Method in class com.sun.spot.util.IEEEAddress
 
Assert - Class in com.sun.squawk.util
Provides support for assertions that can be removed on demand in order for building a release version.
Assert - Class in junit.framework
A set of assert methods.
Assert() - Constructor for class junit.framework.Assert
Protect constructor since it is a static only class
assertAlmostEqual(String, long, long, long) - Method in class com.sun.spot.testFramework.TestBase
 
assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(String, byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(String, char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(String, short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(String, int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertFalse(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
AssertionFailedError - Error in junit.framework
Thrown when an assertion failed.
AssertionFailedError() - Constructor for error junit.framework.AssertionFailedError
 
AssertionFailedError(String) - Constructor for error junit.framework.AssertionFailedError
 
ASSERTIONS_ENABLED - Static variable in class com.sun.squawk.Klass
A flag that controls conditional features (mainly assertions).
assertNotNull(Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertNotSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertNull(Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
assertNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
ASSERTS_ENABLED - Static variable in class com.sun.squawk.util.Assert
Whether assertions are included in the bytecodes or not.
assertSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertTrue(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
ASTORE_B - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ASTORE_D - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ASTORE_F - Static variable in class com.sun.squawk.vm.OPC
Floating point instructions.
ASTORE_I - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ASTORE_L - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ASTORE_O - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
ASTORE_S - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
asVMThread(Thread) - Static method in class com.sun.squawk.VMThread
 
AT91_I2C - Class in com.sun.spot.sensorboard.protocol
Class implementing the Inter-Integrated Circuit (I-squared-C) protocol for the AT91
AT91_I2C(IAT91_PIO, int, int) - Constructor for class com.sun.spot.sensorboard.protocol.AT91_I2C
Constructor.
ATAN - Static variable in class com.sun.squawk.vm.MathOpcodes
 
atan(double) - Static method in class java.lang.Math
 
ATAN2 - Static variable in class com.sun.squawk.vm.MathOpcodes
 
atan2(double, double) - Static method in class java.lang.Math
 
Atmega - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega part.
Atmega(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega
 
atmega - Variable in class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard
 
Atmega48 - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega48 part.
Atmega48(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega48
 
Atmega88 - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega88 part
Atmega88(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega88
 
AtmegaBootloader - Class in com.sun.spot.sensorboard.util
utility to ease programming the user space of the Atmega88 Think of this class as reflecting the capabilities of the bootloader section of the Atmega88 firmware.
AtmegaBootloader() - Constructor for class com.sun.spot.sensorboard.util.AtmegaBootloader
Creates a new instance of AtmegaBootloader
atmegaController - Static variable in class com.sun.spot.sensorboard.AtmegaProtoBoard
 
AtmegaExternalBoard - Class in com.sun.spot.sensorboard.hardware
A spot sensorboard that has a resident atmega part The intent is that this ease the process of programming the atmega.
AtmegaExternalBoard(String) - Constructor for class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard
 
AtmegaProtoBoard - Class in com.sun.spot.sensorboard
beginning of the file for the AtmegaPrototyping board.
ATTRIBUTE_32BIT - Static variable in class com.sun.squawk.ObjectMemoryFile
Denotes a object memory file that is only compatible with a 32 bit system.
ATTRIBUTE_BIGENDIAN - Static variable in class com.sun.squawk.ObjectMemoryFile
Denotes a object memory file that is in big endian format.
ATTRIBUTE_TYPEMAP - Static variable in class com.sun.squawk.ObjectMemoryFile
Denotes a object memory file that has a type map describing the type of the value at every address in the 'memory' component.
attributes - Variable in class com.sun.squawk.ObjectMemoryFile
 
AUGUST - Static variable in class java.util.Calendar
Value of the MONTH field indicating the eighth month of the year.
available() - Method in class com.sun.spot.io.j2me.memory.MemoryInputStream
Returns the number of bytes available to be read from the stream.
available() - Method in class com.sun.spot.io.j2me.radio.RadioInputStream
Return the number of bytes available to be read from the stream without blocking.
available() - Method in class com.sun.spot.io.j2me.radiogram.Radiogram
 
available() - Method in class com.sun.spot.peripheral.BoundedInputStream
 
available() - Method in class com.sun.spot.peripheral.FlashInputStream
 
available() - Method in interface com.sun.spot.peripheral.IAT91_PIO
Return the mask of available pins.
AVAILABLE - Static variable in class com.sun.squawk.vm.ChannelConstants
 
available() - Method in class java.io.ByteArrayInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.DataInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.InputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
AVR_GET_TIME_HIGH - Static variable in class com.sun.squawk.vm.ChannelConstants
 
AVR_GET_TIME_LOW - Static variable in class com.sun.squawk.vm.ChannelConstants
 

B

BaseStation - Class in com.sun.spot.peripheral.basestation
This class implements a base station that allows a PC (the "host") to communicate to a standalone Spot ("the target") through a second Spot (the "base station") connected to the host via a test board and usb cable.

To use, write an application that launches the base station:

...
new BaseStation().initialize();
...

To write applications for the host, use the hostagent jar supplied in the devkit.
BaseStation() - Constructor for class com.sun.spot.peripheral.basestation.BaseStation
 
basicHeaderSize - Static variable in class com.sun.squawk.vm.HDR
The size (in bytes) of an object header for a non-array, non-method-body object.
basicHeaderTag - Static variable in class com.sun.squawk.vm.HDR
The object header format tag value specifying a non-array, non-method-body object header.
BATTERY_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
BBTARGET_APP - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
BBTARGET_SYS - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
bci - Variable in class com.sun.squawk.VMThread.ExecutionPoint
The bytecode index of this location.
beep() - Method in interface com.sun.spot.sensorboard.peripheral.IToneGenerator
Initiate a tone at the set frequency for the set duration, the beep will terminate itself asynchronously.
beep() - Method in class com.sun.spot.sensorboard.peripheral.ToneGenerator
initiate a tone that will be asynchrounously stopped
BEEP - Static variable in class com.sun.squawk.vm.ChannelConstants
 
before(Object) - Method in class java.util.Calendar
Compares the time field records.
BinaryScalar - Class in com.sun.spot.sensorboard.io
Class to allow using a ScalarInput as though it is an GPIO InputPin.
BinaryScalar(PinDescriptor, int, IADCController) - Constructor for class com.sun.spot.sensorboard.io.BinaryScalar
Constructor
binarySearch(long[], long) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of longs for the specified value using the binary search algorithm.
binarySearch(int[], int) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of ints for the specified value using the binary search algorithm.
binarySearch(short[], short) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of shorts for the specified value using the binary search algorithm.
binarySearch(char[], char) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of chars for the specified value using the binary search algorithm.
binarySearch(byte[], byte) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of bytes for the specified value using the binary search algorithm.
binarySearch(double[], double) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of doubles for the specified value using the binary search algorithm.
binarySearch(float[], float) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of floats for the specified value using the binary search algorithm.
binarySearch(Object[], Object, Comparer) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array for the specified object using the binary search algorithm.
bindInputPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an input only pin and return the accessor object for it
bindInputPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated input pin.
bindIOPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an input/output pin and return the accessor object for it
bindIOPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated I/O pin.
bindLED(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ITriColorLEDController
Bind an LED to the pin and return the accessor object
bindLED(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Returns an accessor object to the indicated 3 color LED.
bindLightSensor(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ILightSensorController
register lightsensor and return accessor object.
bindLightSensor(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object to a lightsensor connected to a scalar input pin.
bindOutputPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an output only pin and return the accessor object for it
bindOutputPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated output pin.
bindScalarInput(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IADCController
Return an accessor object to the indicated pin
bindScalarInput(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Registers the use of and return the ScalarInput object that reads from the specified ADC pin.
bindServo(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IServoController
return the servo accessor object for the indicated pin
bindServo(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the pin and return an accessor object to control an attached Servo.
bindSwitch(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ISwitchController
Register pin and return accessor object for switch
bindSwitch(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the indicated pin as a switch and return the accessor object for it.
bindToneGenerator(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IToneGeneratorController
Register a pin as a tone generator and return the accessor object
bindToneGenerator(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register and return accessor object for ToneGenerator on indicated pin.
BITS_PER_BYTE - Static variable in class com.sun.squawk.vm.HDR
The number of bits per byte.
BITS_PER_WORD - Static variable in class com.sun.squawk.vm.HDR
The number of bits in a pointer.
BitSet - Class in com.sun.squawk.util
This class provides mechanisms for manipulating a bit set.
BitSet() - Constructor for class com.sun.squawk.util.BitSet
Creates a new BitSet instance whose underlying byte array is controlled by the instance.
BitSet(byte[]) - Constructor for class com.sun.squawk.util.BitSet
Creates a new BitSet instance whose underlying byte array is controlled by the client of the instance.
bitsize - Variable in class com.sun.squawk.security.ECPublicKey
Key size in bits, e.g.
BLBSET - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
blockSync() - Method in interface com.sun.spot.peripheral.IAT91_TC
Perform a block sync command, which causes a reset of all three counters
BLUE - Static variable in interface com.sun.spot.sensorboard.capabilities.ITriColorLEDController
internal encoding for blue segment
BLUE - Static variable in class com.sun.spot.sensorboard.peripheral.LEDColor
standard definition of the color blue
blue() - Method in class com.sun.spot.sensorboard.peripheral.LEDColor
 
BOARD_MAGIC_WORD - Static variable in class com.sun.spot.peripheral.external.ExternalBoard
 
BoardDeviceSPI - Class in com.sun.spot.peripheral.external
SPI implementation that hides the use of a DeviceSelector before sending SPI commands.

See ISPI for details of usage.

BoardDeviceSPI(int, PeripheralChipSelect) - Constructor for class com.sun.spot.peripheral.external.BoardDeviceSPI
Create an BoardDeviceSPI using the supplied device address - works out the default configuration
BOOLEAN - Static variable in class com.sun.squawk.Klass
The type for boolean.
BOOLEAN - Static variable in class com.sun.squawk.vm.CID
 
Boolean - Class in java.lang
The Boolean class wraps a value of the primitive type boolean in an object.
Boolean(boolean) - Constructor for class java.lang.Boolean
Allocates a Boolean object representing the value argument.
BOOLEAN_ARRAY - Static variable in class com.sun.squawk.Klass
The type for boolean[].
BOOLEAN_ARRAY - Static variable in class com.sun.squawk.vm.CID
 
BooleanReplyEnvelope - Class in com.sun.spot.interisolate
 
BooleanReplyEnvelope(boolean) - Constructor for class com.sun.spot.interisolate.BooleanReplyEnvelope
 
booleanValue() - Method in class java.lang.Boolean
Returns the value of this Boolean object as a boolean primitive.
BOOTLOADER_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTLOADER_CMD_ATTENTION - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BOOTLOADER_CMD_HEADER - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BOOTLOADER_SYNC - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BOOTSTRAP_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTSTRAP_ADDRESS_OFFSET - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTSTRAP_URI - Static variable in class com.sun.squawk.ObjectMemory
The reserved URI denoting the bootstrap suite.
BORF - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
BoundedFlashOutputStream - Class in com.sun.spot.peripheral.ota
 
BoundedInputStream - Class in com.sun.spot.peripheral
Wraps a parent InputStream with an input stream on the assumptions that the first four bytes of the parent's content are a Java int which tells us how many more valid bytes remain in the parent.
BoundedInputStream(InputStream) - Constructor for class com.sun.spot.peripheral.BoundedInputStream
Construct an instance based on the supplied parent InputStream.
BoundedOutputStream - Class in com.sun.spot.peripheral
An output stream that writes the length of the data at the start.
BoundedOutputStream(OutputStream) - Constructor for class com.sun.spot.peripheral.BoundedOutputStream
 
branchCount() - Static method in class com.sun.squawk.VM
Enables a dynamically loaded class to call this.
branchCountHigh - Static variable in class com.sun.squawk.vm.Global
Fields specified here will be allocated constant offsets.
branchCountLow - Static variable in class com.sun.squawk.vm.Global
Fields specified here will be allocated constant offsets.
BREAKPOINT - Static variable in class com.sun.squawk.Debugger.Event
 
BROADCAST - Static variable in interface com.sun.spot.peripheral.radio.IPortBasedProtocolManager
 
buf - Variable in class com.sun.squawk.ByteBufferDecoder
The byte array of encoded values.
buf - Static variable in class com.sun.squawk.vm.MessageBuffer
The offset to the start of the data.
buf - Variable in class java.io.ByteArrayInputStream
An array of bytes that was provided by the creator of the stream.
buf - Variable in class java.io.ByteArrayOutputStream
The buffer where data is stored.
buffer - Variable in class com.sun.squawk.ByteBufferEncoder
The data written to this buffer.
BUFFER_SIZE - Static variable in class com.sun.squawk.security.verifier.SignatureVerifier
The numbe of bytes read from flash memory and passed to the signature verification per loop.
BufferedReader - Class in com.sun.squawk.io
Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
BufferedReader(Reader, int) - Constructor for class com.sun.squawk.io.BufferedReader
Create a buffering character-input stream that uses an input buffer of the specified size.
BufferedReader(Reader) - Constructor for class com.sun.squawk.io.BufferedReader
Create a buffering character-input stream that uses a default-sized input buffer.
BufferedWriter - Class in com.sun.squawk.io
Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
BufferedWriter(Writer) - Constructor for class com.sun.squawk.io.BufferedWriter
Create a buffered character-output stream that uses a default-sized output buffer.
BufferedWriter(Writer, int) - Constructor for class com.sun.squawk.io.BufferedWriter
Create a new buffered character-output stream that uses an output buffer of the given size.
BUFFERSIZE - Static variable in class com.sun.squawk.vm.MessageBuffer
The size in bytes of the buf part of the buffer.
BUSY - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_PHY
Return code for CCA requests when channel is not clear
BUTTON_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
BYTE - Static variable in class com.sun.squawk.Klass
The type for byte.
BYTE - Static variable in class com.sun.squawk.vm.AddressType
Denotes that an address contains a byte value.
BYTE - Static variable in class com.sun.squawk.vm.CID
 
Byte - Class in java.lang
The Byte class is the standard wrapper for byte values.
Byte(byte) - Constructor for class java.lang.Byte
Constructs a Byte object initialized to the specified byte value.
BYTE_ARRAY - Static variable in class com.sun.squawk.Klass
The type for byte[].
BYTE_ARRAY - Static variable in class com.sun.squawk.vm.CID
 
ByteArrayEnvelope - Class in com.sun.squawk.io.mailboxes
A ByteArrayEnvelope can be used to pass a byte array, or subsection of a byte array to a MailBox.
ByteArrayEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the subsection of the specified array.
ByteArrayEnvelope(byte[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayInputStream - Class in java.io
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayInputStream(byte[]) - Constructor for class java.io.ByteArrayInputStream
Creates a ByteArrayInputStream so that it uses buf as its buffer array.
ByteArrayInputStream(byte[], int, int) - Constructor for class java.io.ByteArrayInputStream
Creates ByteArrayInputStream that uses buf as its buffer array.
ByteArrayInputStreamEnvelope - Class in com.sun.squawk.io.mailboxes
A ByteArrayInputStreamEnvelope can be used to pass a byte array, or subsection of a byte array, as a ByteArrayInputStream.
ByteArrayInputStreamEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the subsection of the specified array.
ByteArrayInputStreamEnvelope(byte[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayOutputStream - Class in java.io
This class implements an output stream in which the data is written into a byte array.
ByteArrayOutputStream() - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
ByteBufferDecoder - Class in com.sun.squawk
A byte buffer dencoder can be used to decode a byte array of values encoded with a byte buffer encoder.
ByteBufferDecoder(byte[], int) - Constructor for class com.sun.squawk.ByteBufferDecoder
Creates a ByteBufferDecoder to decode a byte array of values that was encoded by a ByteArryEncoder.
ByteBufferEncoder - Class in com.sun.squawk
A byte buffer encoder can be used to build a byte array of values encoded using a space-saving encoding.
ByteBufferEncoder() - Constructor for class com.sun.squawk.ByteBufferEncoder
 
BYTECODE - Static variable in class com.sun.squawk.Klass
The type for an element of a method.
BYTECODE - Static variable in class com.sun.squawk.vm.AddressType
Denotes that an address contains a bytecode instruction.
BYTECODE - Static variable in class com.sun.squawk.vm.CID
 
BYTECODE_ARRAY - Static variable in class com.sun.squawk.Klass
The type for an array of bytes that is a method.
BYTECODE_ARRAY - Static variable in class com.sun.squawk.vm.CID
 
BYTECODE_COUNT - Static variable in class com.sun.squawk.vm.OPC.Properties
The total number of instructions.
BYTES_PER_WORD - Static variable in class com.sun.squawk.vm.HDR
The size (in bytes) of a pointer.
bytesize - Variable in class com.sun.squawk.security.ECPublicKey
 
bytesToWords() - Method in class com.sun.squawk.Offset
Scales this offset which currently expresses an offset in bytes to express the same offset in words.
bytesTransferred - Variable in exception java.io.InterruptedIOException
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
byteValue() - Method in class java.lang.Byte
Returns the value of this Byte as a byte.
byteValue() - Method in class java.lang.Double
Returns the value of this Double as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Float
Returns the value of this Float as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Integer
Returns the value of this Integer as a byte.

C

calculateAndSetFCS() - Method in class com.sun.spot.peripheral.radio.RadioPacket
Calculate a frame check sequence for this packet -- not normally required for the CC2420 radio.
calculateOopMapSizeInBytes(int) - Static method in class com.sun.squawk.GC
Calculates the size (in bytes) of an oop map that will have a bit for every word in a memory of a given size.
Calendar - Class in java.util
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
Calendar() - Constructor for class java.util.Calendar
Constructs a Calendar with the default time zone.
canReceive() - Method in class com.sun.spot.peripheral.radio.ConnectionID
 
canSend() - Method in class com.sun.spot.peripheral.radio.ConnectionID
 
capacity() - Method in class com.sun.squawk.util.SquawkVector
Returns the current capacity of this vector.
capacity() - Method in class java.lang.StringBuffer
Returns the current capacity of the String buffer.
capacity() - Method in class java.util.Vector
Returns the current capacity of this vector.
capacityIncrement - Variable in class com.sun.squawk.util.SquawkVector
The amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity.
capacityIncrement - Variable in class java.util.Vector
The amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity.
cardinality() - Method in class com.sun.squawk.util.BitSet
Returns the number of bits set to 1 in this BitSet.
CATCH - Static variable in class com.sun.squawk.vm.OPC
Non-floating point instructions.
catchLocation - Variable in class com.sun.squawk.Debugger.ExceptionEvent
 
CC2420Driver - Class in com.sun.spot.peripheral
 
CC2420Driver(ISpiMaster, SpiPcs, ISpotPins) - Constructor for class com.sun.spot.peripheral.CC2420Driver
 
CEIL - Static variable in class com.sun.squawk.vm.MathOpcodes
 
ceil(double) - Static method in class java.lang.Math
 
changeState(byte) - Method in class com.sun.squawk.Klass
Updates the state of this class.
channel - Variable in class com.sun.spot.peripheral.driver.proxy.ProxyDriver
 
Channel - Class in com.sun.squawk.io.mailboxes
A Channel is a private bidirectional link between two MailBoxes.
Channel - Class in com.sun.squawk.vm
The base class for the specialized channels for stream IO, graphic operations and event handling.
Channel(ChannelIO, int) - Constructor for class com.sun.squawk.vm.Channel
Constructor.
CHANNEL_ACCESS_FAILURE - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_MAC
Returned from mcpsDataRequest if transmission fails because the channel is not clear
CHANNEL_GENERIC - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI input channel.
CHANNEL_GUIIN - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI input channel.
CHANNEL_GUIOUT - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI output channel.
CHANNEL_IRQ - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the irq channel.
CHANNEL_LAST_FIXED - Static variable in class com.sun.squawk.vm.ChannelConstants
The last fixed channel number.
<