SunSPOT API V3.0

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
A0 index for array returned by getScalarInputs()
A0 - Static variable in class com.sun.spot.sensorboard.EDemoController
Analog to Digital convertor input pin, matches silkscreening on the hardware
A1 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
A1 index for array returned by getScalarInputs()
A1 - Static variable in class com.sun.spot.sensorboard.EDemoController
Analog to Digital convertor input pin, matches silkscreening on the hardware
A2 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
A2 index for array returned by getScalarInputs()
A2 - Static variable in class com.sun.spot.sensorboard.EDemoController
Analog to Digital convertor input pin, matches silkscreening on the hardware
A3 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
A3 index for array returned by getScalarInputs()
A3 - Static variable in class com.sun.spot.sensorboard.EDemoController
Analog to Digital convertor input pin, matches silkscreening on the hardware
A4 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
A4 index for array returned by getScalarInputs()
A4 - Static variable in class com.sun.spot.sensorboard.EDemoController
Analog-to-Digital convertor input pin, matches silkscreening on the hardware
A5 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
A5 index for array returned by getScalarInputs()
A5 - Static variable in class com.sun.spot.sensorboard.EDemoController
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.
ABORT_REQUEST - Static variable in interface com.sun.spot.peripheral.ota.ISpotAdminConstants
 
ABORT_REQUEST - Static variable in interface com.sun.spot.peripheral.ota.ISpotBootloaderConstants
 
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
abs(float) - Static method in class java.lang.Math
Returns the absolute value of a float value.
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.
ABSOLUTE - Static variable in interface com.sun.spot.sensorboard.peripheral.IAccelerometer3D
 
AbstractAT91_PIO - Class in com.sun.spot.peripheral
AbstractAT91_PIO
AbstractAT91_PIO(int) - Constructor for class com.sun.spot.peripheral.AbstractAT91_PIO
 
ACBG - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACCEL_FULLSCALE - Static variable in class com.sun.spot.sensorboard.EDemoController
Internal pin used to operate the accelerometer.
ACCEL_SELFTEST - Static variable in class com.sun.spot.sensorboard.EDemoController
Internal pin used to operate the accelerometer.
ACCEL_X - Static variable in class com.sun.spot.sensorboard.EDemoController
Descriptor for X Axis accelerometer reading, this is an internal connection.
ACCEL_Y - Static variable in class com.sun.spot.sensorboard.EDemoController
Descriptor for Y Axis accelerometer reading, this is an internal connection.
ACCEL_Z - Static variable in class com.sun.spot.sensorboard.EDemoController
Descriptor for Z Axis accelerometer reading, this is an internal connection.
ACCELEROMETER_GAINS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the calibrated gains for this accelerometer
ACCELEROMETER_REST_OFFSETS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the measured rest offsets for this accelerometer
ACCELEROMETER_ZERO_OFFSETS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the calibrated zero offsets for this accelerometer
accelerometerScaleChanged(int) - Method in class com.sun.spot.sensorboard.EDemoController
Called by accelerometer when it changes its scale.
accept() - Method in class com.sun.squawk.io.mailboxes.ServerChannel
Wait for a client to open a connection, then create an anonymous local Channel 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(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc cosine of an angle, in the range of 0 through pi.
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
 
ACTIVE_ROUTE_TIMEOUT - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
activeCount() - Static method in class java.lang.Thread
Returns the current number of active threads in the VM.
activityFlag - Variable in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingEntry
is the route currently being used by someone
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(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(IPeripheral) - Method in class com.sun.squawk.peripheral.PeripheralRegistry
 
addBroadcastConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
Register a broadcast connection
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiogramProtocolManager
 
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
 
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.RadiogramProtocolManager
 
addCommand(String, IOTACommand) - Method in interface com.sun.spot.peripheral.ota.IOTACommandRepository
Add or replace an IOTACommand.
addConnection(boolean, ConnectionID) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
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
 
addIAccelerometer3DThresholdListener(IAccelerometer3DThresholdListener) - Method in interface com.sun.spot.sensorboard.peripheral.IAccelerometer3D
Adds the specified scalar input threshold listener to receive callbacks from this input device.
addIAccelerometer3DThresholdListener(IAccelerometer3DThresholdListener) - Method in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Adds the specified accelerometer threshold listener to receive callbacks from this accelerometer.
addIInputPinListener(IInputPinListener) - Method in class com.sun.spot.sensorboard.io.BinaryScalar
Adds the specified input pin listener to receive callbacks from this input pin.
addIInputPinListener(IInputPinListener) - Method in interface com.sun.spot.sensorboard.io.IInputPin
Adds the specified input pin listener to receive callbacks from this input pin.
addIInputPinListener(IInputPinListener) - Method in class com.sun.spot.sensorboard.io.InputPin
Adds the specified input pin listener to receive callbacks from this input pin.
addIInputPinListener(IInputPinListener) - Method in class com.sun.spot.sensorboard.io.InvertingInputPin
Adds the specified input pin listener to receive callbacks from this input pin.
addIInputPinListener(IInputPinListener) - Method in class com.sun.spot.sensorboard.io.IOPin
Adds the specified input pin listener to receive callbacks from this input pin.
addILightSensorThresholdListener(ILightSensorThresholdListener) - Method in interface com.sun.spot.sensorboard.peripheral.ILightSensor
Adds the specified light sensor threshold listener to receive callbacks from this light sensor.
addILightSensorThresholdListener(ILightSensorThresholdListener) - Method in class com.sun.spot.sensorboard.peripheral.LightSensor
Adds the specified light sensor threshold listener to receive callbacks from this light sensor.
addInputConnection(long, byte) - Method in interface com.sun.spot.peripheral.radio.IRadioProtocolManager
Register a point-to-point connection on which packets can be received
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
 
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
addIScalarInputThresholdListener(IScalarInputThresholdListener) - Method in interface com.sun.spot.sensorboard.io.IScalarInput
Adds the specified scalar input threshold listener to receive callbacks from this input device.
addIScalarInputThresholdListener(IScalarInputThresholdListener) - Method in class com.sun.spot.sensorboard.io.ScalarInput
Adds the specified scalar input threshold listener to receive callbacks from this input device.
addISwitchListener(ISwitchListener) - Method in interface com.sun.spot.sensorboard.peripheral.ISwitch
Adds the specified switch listener to receive callbacks from this switch.
addISwitchListener(ISwitchListener) - Method in class com.sun.spot.sensorboard.peripheral.Switch
Adds the specified switch listener to receive callbacks from this switch.
addITemperatureInputThresholdListener(ITemperatureInputThresholdListener) - Method in interface com.sun.spot.sensorboard.peripheral.ITemperatureInput
Adds the specified temperature sensor threshold listener to receive callbacks from this temperature sensor.
addITemperatureInputThresholdListener(ITemperatureInputThresholdListener) - Method in class com.sun.spot.sensorboard.peripheral.TemperatureInput
Adds the specified temperature sensor threshold listener to receive callbacks from this temperature sensor.
addLast(INorFlashSectorState) - Method in interface com.sun.squawk.flash.INorFlashSectorStateList
 
addLast(INorFlashSectorState) - Method in class com.sun.squawk.flash.NorFlashSectorStateList
 
addLifecycleListener(Isolate.LifecycleListener, int) - Method in class com.sun.squawk.Isolate
Add a listener to be run when this isolate terminates, hibernates, or unhibernates, depending on evenSet.
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.IRadioProtocolManager
Register a point-to-point connection on which packets can be sent
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
 
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
addRecord(byte[], int, int) - Method in class javax.microedition.rms.RecordStore
Adds a new record to the record store.
addRecordListener(RecordListener) - Method in class javax.microedition.rms.RecordStore
Adds the specified RecordListener.
Address - Class in com.sun.squawk
The Address class is used to abstract machine addresses.
address - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
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.
addRoute(long, long, int, int, int) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry using the parameters, then call doTableAddition()
addRoute(long, RREQ) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry based on a received route request, then call doTableAddition()
addRoute(long, RREP) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry based on a received route reply, then call doTableAddition()
addRREQ(RREQ, RouteEventClient, Object) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.request.RequestTable
add a route request to the request table
addServerConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
Register a server connection
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiogramProtocolManager
 
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
 
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.RadiogramProtocolManager
 
adjustLock(IResourceHandle, ResourceSharingScheme) - Method in interface com.sun.spot.resourcesharing.IResourceRegistry
Attempt to change the ResourceSharingScheme associated with the handle.
adjustLock(int, String, ResourceSharingScheme, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ProxyResourceRegistryMaster
 
adjustLock(IResourceHandle, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ResourceRegistryChild
 
adjustLock(int, String, ResourceSharingScheme, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ResourceRegistryMaster
 
AdjustLockCommand - Class in com.sun.spot.resourcesharing
 
AdjustLockCommand(int, String, ResourceSharingScheme, ResourceSharingScheme) - Constructor for class com.sun.spot.resourcesharing.AdjustLockCommand
 
ADMIN_FLASH_OPERATION_FLOW_CONTROL_QUANTUM - Static variable in interface com.sun.spot.peripheral.ota.ISpotAdminConstants
 
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.
ADT7411(ISPI, boolean) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411
Constructor that maybe initialises the device.
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
 
ALL_AXES - Static variable in interface com.sun.spot.sensorboard.peripheral.IAccelerometer3D
 
allocateAndWriteBlock(byte[], int, int, INorFlashMemoryHeapScanner) - Method in interface com.sun.squawk.flash.INorFlashMemoryHeap
 
allocateAndWriteBlock(byte[], int, int, INorFlashMemoryHeapScanner) - Method in class com.sun.squawk.flash.NorFlashMemoryHeap
 
ALLOWED_HELLO_LOSS - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
allowUserGC(boolean) - Static method in class com.sun.squawk.VM
Enable or disable Runtime.gc()
ALWAYS - Static variable in class com.sun.spot.peripheral.radio.routing.RoutingPolicy
The node routes all packets and disables deepSleep
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.
andRegister(int, int) - Method in class com.sun.spot.sensorboard.EDemoBoard
Perform an AND assignment to one of the registers in the Atmega88 controller.
andRegister(int, int) - Method in class com.sun.spot.sensorboard.EDemoController
Perform an AND assignment to one of the registers in the Atmega88 controller.
AODV_PROTOCOL_NUMBER - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
AODVManager - Class in com.sun.spot.peripheral.radio.mhrp.aodv
 
AODVMessage - Class in com.sun.spot.peripheral.radio.mhrp.aodv.messages
 
AODVMessage() - Constructor for class com.sun.spot.peripheral.radio.mhrp.aodv.messages.AODVMessage
 
APP_VIRTUAL_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
append(char) - Method in class java.lang.StringBuffer
Appends the string representation of the char argument to this string buffer.
append(double) - Method in class java.lang.StringBuffer
Appends a double to the end of this buffer.
append(float) - Method in class java.lang.StringBuffer
Appends a float to the end of this 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(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(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 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.
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
 
areThresholdEventsEnabled(IScalarInput) - Method in interface com.sun.spot.sensorboard.capabilities.IADCController
Return whether threshold events are enabled or disabled.
areThresholdEventsEnabled(IScalarInput) - Method in class com.sun.spot.sensorboard.EDemoController
Return whether threshold events are enabled or disabled.
areThresholdEventsEnabled(int) - Method in class com.sun.spot.sensorboard.hardware.ADT7411
Return whether threshold events are enabled or disabled.
areThresholdEventsEnabled() - Method in interface com.sun.spot.sensorboard.io.IScalarInput
Return whether threshold events are enabled or not.
areThresholdEventsEnabled() - Method in class com.sun.spot.sensorboard.io.ScalarInput
Return whether threshold events are enabled or not.
areThresholdEventsEnabled(int) - Method in interface com.sun.spot.sensorboard.peripheral.IAccelerometer3D
Return whether threshold events are enabled or not.
areThresholdEventsEnabled(int) - Method in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Return whether threshold events are enabled or not.
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.
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.
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.
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
Truncates an int to 6 bits
asByteArray() - Method in class com.sun.spot.peripheral.ConfigPage
Create a byte[] representation of the config page
asDottedHex() - Method in class com.sun.spot.util.IEEEAddress
Generate a dotted hex string from an IEEE address
asin(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
asLong() - Method in class com.sun.spot.util.IEEEAddress
 
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
 
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.
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.
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.
AT91_PIO_SERVER - Static variable in class com.sun.spot.peripheral.proxy.ProxyAT91_PIO
 
atan(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
atan2(double, double) - Static method in class com.sun.squawk.util.MathUtils
Converts rectangular coordinates (x, y) to polar (r, theta).
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.
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.
AUGUST - Static variable in class java.util.Calendar
Value of the MONTH field indicating the eighth month of the year.
AUTOMATIC - Static variable in class com.sun.spot.peripheral.radio.RadioPolicy
 
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.radiogram.Radiogram
 
available() - Method in class com.sun.spot.io.j2me.radiostream.RadioInputStream
Return the number of bytes available to be read from the stream without blocking.
available() - Method in class com.sun.spot.peripheral.AbstractAT91_PIO
 
available() - Method in class com.sun.spot.peripheral.BoundedInputStream
 
available() - Method in interface com.sun.spot.peripheral.IAT91_PIO
Return the mask of available pins.
available() - Method in class com.sun.spot.peripheral.proxy.ProxyAT91_PIO
 
available() - Method in class com.sun.spot.peripheral.radio.RadioInputStream
Deprecated. Return the number of bytes available to be read from the stream without blocking.
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.
AVAILABLE_SERIAL_CHARS - Static variable in class com.sun.squawk.vm.ChannelConstants
 
AVR_GET_STATUS - Static variable in class com.sun.squawk.vm.ChannelConstants
 
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

baseAddress - Variable in class com.sun.spot.peripheral.AbstractAT91_PIO
 
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.
BaseStation() - Constructor for class com.sun.spot.peripheral.basestation.BaseStation
 
BATTERY_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
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(IScalarInput) - Constructor for class com.sun.spot.sensorboard.io.BinaryScalar
Constructor.
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(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(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(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(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(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.
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.
BLACKLIST_TIMEOUT - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
BLBSET - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
BLINK_CMD - Static variable in interface com.sun.spot.peripheral.ota.ISpotAdminConstants
 
BLOCK_FOOTER - Static variable in class com.sun.squawk.flash.NorFlashMemoryHeap
 
BLOCK_HEADER_SIZE - Static variable in class com.sun.squawk.flash.NorFlashMemoryHeap
 
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 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.
BoardDeviceSPI(int, PeripheralChipSelect, int) - Constructor for class com.sun.spot.peripheral.external.BoardDeviceSPI
Create a BoardDeviceSPI using the supplied device address.
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.
BooleanReplyEnvelope - Class in com.sun.spot.interisolate
 
BooleanReplyEnvelope(int, 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.ISpotAdminConstants
 
BOOTLOADER_CMD_HEADER - Static variable in interface com.sun.spot.peripheral.ota.ISpotAdminConstants
 
BOOTLOADER_CMD_HEADER - Static variable in interface com.sun.spot.peripheral.ota.ISpotBootloaderConstants
 
BOOTLOADER_CMD_PREFIX - Static variable in interface com.sun.spot.peripheral.ota.ISpotBootloaderConstants
 
BOOTLOADER_SYNC - Static variable in interface com.sun.spot.peripheral.ota.ISpotBootloaderConstants
 
BootloaderListener - Class in com.sun.spot.util
Simple class to listen to the serial input over the USB connection and pass control to the bootloader.
BootloaderListener() - Constructor for class com.sun.spot.util.BootloaderListener
 
BootloaderListener(IBootloaderListenerCallback) - Constructor for class com.sun.spot.util.BootloaderListener
 
BOOTSTRAP_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTSTRAP_SECTOR - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BORF - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
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.
bridgeBroadcasts() - Method in interface com.sun.spot.peripheral.radio.routing.interfaces.IRoutingPolicyManager
return true if we pass broadcasts without decrementing hop count
bridgeBroadcasts() - Method in class com.sun.spot.peripheral.radio.routing.RoutingPolicyManager
 
BROADCAST - Static variable in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
 
BROADCAST_HEADER_LENGTH - Static variable in class com.sun.spot.peripheral.radio.LowPanHeader
Size of a Broadcast Header
BROADCAST_PACKET - Static variable in class com.sun.spot.peripheral.radio.LowPanPacket
Indicates this LowPanPacket will use a RadioPacket of the type 'Broadcast'
BroadcastConnectionState - Class in com.sun.spot.peripheral.radio
 
BroadcastConnectionState(ConnectionID) - Constructor for class com.sun.spot.peripheral.radio.BroadcastConnectionState
 
broadcastsFragmented - Variable in class com.sun.spot.peripheral.radio.LowPanStats
number of mesh broadcasts that required fragmentation (we don't fragment local broadcasts)
broadcastsQueueFull - Variable in class com.sun.spot.peripheral.radio.LowPanStats
number of packets intentionally dropped because we sent them
broadcastsReceived - Variable in class com.sun.spot.peripheral.radio.LowPanStats
broadcasts received
broadcastsSent - Variable in class com.sun.spot.peripheral.radio.LowPanStats
number of broadcasts sent
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 - Static variable in class com.sun.squawk.flash.NorFlashSectorState
 
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) - Constructor for class com.sun.squawk.io.BufferedReader
Create a buffering character-input stream that uses a default-sized input buffer.
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.
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.
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 - 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.
ByteArrayEnvelope - Class in com.sun.squawk.io.mailboxes
A ByteArrayEnvelope can be used to pass a byte array, or subsection of a byte array through a Channel.
ByteArrayEnvelope(byte[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the subsection of 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[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayInputStreamEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the subsection of the specified array.
ByteArrayInputStreamWithSetBytes - Class in com.sun.squawk.util
An extention of ByteArrayInputStream that allows the byte array buffer to be modified, using the ByteArrayInputStreamWithSetBytes.setBytes(byte[], int, int) method.
ByteArrayInputStreamWithSetBytes(byte[]) - Constructor for class com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
 
ByteArrayInputStreamWithSetBytes(byte[], int, int) - Constructor for class com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
 
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.
ByteArrayOutputStreamWithGetBytes - Class in com.sun.squawk.util
An extention of ByteArrayOutputStream that allows the byte array buffer to be read directly, using the ByteArrayOutputStreamWithGetBytes.getBytes() method.
ByteArrayOutputStreamWithGetBytes() - Constructor for class com.sun.squawk.util.ByteArrayOutputStreamWithGetBytes
 
ByteArrayOutputStreamWithGetBytes(int) - Constructor for class com.sun.squawk.util.ByteArrayOutputStreamWithGetBytes
 
bytes - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
bytes - Variable in class com.sun.squawk.peripheral.SimulatedNorFlashSector
 
bytesIn - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
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.
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.
cancel() - Method in class com.sun.spot.util.BootloaderListener
Cleanup after ourself and stop running.
cancel() - Method in class java.util.Timer
Terminates this timer, discarding any currently scheduled tasks.
cancel() - Method in class java.util.TimerTask
Cancels this timer task.
cancelRedirect() - Method in interface com.sun.spot.io.j2me.remoteprinting.IRemotePrintManager
Cancel current redirection of streams
cancelRedirect() - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
 
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.
CC2420Driver - Class in com.sun.spot.peripheral
 
CC2420Driver(ISpiMaster, SpiPcs, ISpotPins) - Constructor for class com.sun.spot.peripheral.CC2420Driver
 
ceil(double) - Static method in class java.lang.Math
Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
CELSIUS - Static variable in interface com.sun.spot.sensorboard.peripheral.ITemperatureInput
 
Channel - Class in com.sun.squawk.io.mailboxes
A Channel is a private bidirectional message passing mechanism, typically between Isolates.
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