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

A

A - Static variable in class josx.platform.rcx.Motor
Motor A.
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
abs(int) - Static method in class java.lang.Math
Returns the absolute value of an integer value.
acos(double) - Static method in class java.lang.Math
Arc cosine function.
activate() - Method in class josx.platform.rcx.ReducedSensor
Activates the sensor.
activate() - Method in class josx.platform.rcx.Sensor
Activates the sensor.
activate() - Method in class ukcrobots.core.Sensor
Activates the sensor.
activate() - Method in class ukcrobots.simplecore.Sensor
Activates the sensor.
add(Object) - Method in class ukcrobots.util.ArrayList
Store a new object at index size().
addButtonListener(ButtonListener) - Method in class josx.platform.rcx.Button
Adds a listener of button events.
addElement(Object) - Method in class java.util.Vector
 
addSensorListener(SensorListener) - Method in class josx.platform.rcx.Sensor
Adds a sensor listener.
addSensorListener(SensorListener) - Method in class ukcrobots.core.Sensor
Adds a sensor listener.
addSerialListener(SerialListener) - Static method in class josx.platform.rcx.Serial
Adds a listener of receive events.
ALL - Static variable in interface josx.platform.rcx.Segment
 
ALL_BUTTONS - Static variable in class josx.platform.rcx.Poll
 
ALL_SENSORS - Static variable in class josx.platform.rcx.Poll
 
AlreadyCreatedException - exception ukcrobots.simplecore.AlreadyCreatedException.
An exception to be thrown if an attempt is made to create two Motor objects on the same port.
AlreadyCreatedException() - Constructor for class ukcrobots.simplecore.AlreadyCreatedException
 
append(boolean) - Method in class java.lang.StringBuffer
 
append(char) - Method in class java.lang.StringBuffer
 
append(double) - Method in class java.lang.StringBuffer
 
append(float) - Method in class java.lang.StringBuffer
 
append(int) - Method in class java.lang.StringBuffer
 
append(long) - Method in class java.lang.StringBuffer
 
append(Object) - Method in class java.lang.StringBuffer
 
append(String) - Method in class java.lang.StringBuffer
 
ArithmeticException - exception java.lang.ArithmeticException.
 
ArithmeticException() - Constructor for class java.lang.ArithmeticException
 
ArrayIndexOutOfBoundsException - exception java.lang.ArrayIndexOutOfBoundsException.
 
ArrayIndexOutOfBoundsException() - Constructor for class java.lang.ArrayIndexOutOfBoundsException
 
ArrayList - class ukcrobots.util.ArrayList.
A dynamic array-backed list.
ArrayList() - Constructor for class ukcrobots.util.ArrayList
Create an array list of default capacity.
ArrayList(int) - Constructor for class ukcrobots.util.ArrayList
Create an array list of required capacity.
asin(double) - Static method in class java.lang.Math
Arc sine function.
atan(double) - Static method in class java.lang.Math
Arc tangent function.
atan2(double, double) - Static method in class java.lang.Math
Arc tangent function valid to the four quadrants y and x can have any value without sigificant precision loss atan2(0,0) returns 0.
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.

B

B - Static variable in class josx.platform.rcx.Motor
Motor B.
backward() - Method in class josx.platform.rcx.Motor
Causes motor to rotate backwards.
backward() - Method in class ukcrobots.core.Motor
Causes the device to rotate backwards.
backward() - Method in class ukcrobots.simplecore.Motor
Causes the device to rotate backwards.
Battery - class josx.platform.rcx.Battery.
Provides access to Battery.
BATTERY - Static variable in interface josx.platform.rcx.Segment
 
Battery() - Constructor for class josx.platform.rcx.Battery
 
beep() - Static method in class josx.platform.rcx.Sound
Beeps once.
beepSequence() - Static method in class josx.platform.rcx.Sound
Downward tones.
BitSet - class java.util.BitSet.
Represents a long set of bits.
BitSet(int) - Constructor for class java.util.BitSet
 
BOOLEAN_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
BooleanSensorListener - class ukcrobots.core.BooleanSensorListener.
An abstract class for listeners on Boolean sensors, such as touch sensors.
BooleanSensorListener() - Constructor for class ukcrobots.core.BooleanSensorListener
 
Button - class josx.platform.rcx.Button.
Abstraction for an RCX button.
Button - class ukcrobots.simplecore.Button.
Model a button on the RCX.
BUTTON_MASK_SHIFT - Static variable in class josx.platform.rcx.Poll
 
ButtonListener - interface josx.platform.rcx.ButtonListener.
Abstraction for receiver of button events.
buttonPressed(Button) - Method in interface josx.platform.rcx.ButtonListener
 
buttonReleased(Button) - Method in interface josx.platform.rcx.ButtonListener
 
BUTTONS - Static variable in class josx.platform.rcx.Button
Array containing VIEW, PRGM and RUN, in that order.
BUTTONS - Static variable in class ukcrobots.simplecore.Button
Array containing VIEW, PRGM and RUN, in that order.
buzz() - Static method in class josx.platform.rcx.Sound
Low buzz.

C

C - Static variable in class josx.platform.rcx.Motor
Motor C.
call(short) - Static method in class josx.platform.rcx.ROM
 
call(short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
callListeners() - Method in class josx.platform.rcx.Button
 
callListeners() - Method in interface josx.platform.rcx.ListenerCaller
 
callListeners() - Method in class josx.platform.rcx.Sensor
 
CANONICAL_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
capacity() - Method in class java.util.Vector
 
capacityIncrement - Variable in class java.util.Vector
 
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.
charAt(int) - Method in class java.lang.StringBuffer
 
charAt(int) - Method in class java.lang.String
Return the character at the given index
Class - class java.lang.Class.
Not functional.
Class() - Constructor for class java.lang.Class
 
ClassCastException - exception java.lang.ClassCastException.
 
ClassCastException() - Constructor for class java.lang.ClassCastException
 
ClassNotFoundException - exception java.lang.ClassNotFoundException.
 
ClassNotFoundException() - Constructor for class java.lang.ClassNotFoundException
 
clear() - Method in class java.util.Vector
 
clear() - Static method in class josx.platform.rcx.LCD
Clears the display.
clear(int) - Method in class java.util.BitSet
 
clearSegment(int) - Static method in class josx.platform.rcx.LCD
Clears an LCD segment.
Cloneable - interface java.lang.Cloneable.
This interface is not functional.
close() - Method in class java.io.OutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class java.io.InputStream
Closes this input stream and releases any system resources associated with the stream.
controlMotor(char, int, int) - Static method in class josx.platform.rcx.Motor
Deprecated. I've decided to remove this method. If you really need it, check its implementation in classes/josx/platform/rcx/Motor.java.
cos(double) - Static method in class java.lang.Math
Cosine function using a Chebyshev-Pade approximation.
currentThread() - Static method in class java.lang.Thread
 
currentTimeMillis() - Static method in class java.lang.System
Current time expressed in milliseconds.

D

DataInputStream - class java.io.DataInputStream.
 
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
 
DATALOG - Static variable in interface josx.platform.rcx.Segment
 
DataOutputStream - class java.io.DataOutputStream.
 
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
 
delete(int, int) - Method in class java.lang.StringBuffer
 
DEVICE_MODE_BACKWARD - Static variable in class ukcrobots.simplecore.Motor
 
DEVICE_MODE_FLOATING - Static variable in class ukcrobots.simplecore.Motor
 
DEVICE_MODE_FORWARD - Static variable in class ukcrobots.simplecore.Motor
 
DEVICE_MODE_STOPPED - Static variable in class ukcrobots.simplecore.Motor
 
Display - class ukcrobots.core.Display.
A class for display on the RCX's display.
Display() - Constructor for class ukcrobots.core.Display
Initialise the Display.
DOWNLOAD - Static variable in interface josx.platform.rcx.Segment
 

E

E - Static variable in class java.lang.Math
 
elementAt(int) - Method in class java.util.Vector
 
elementCount - Variable in class java.util.Vector
 
elementData - Variable in class java.util.Vector
 
ensureCapacity(int) - Method in class java.util.Vector
 
ensureCapacity(int) - Method in class ukcrobots.util.ArrayList
Ensure that the list is of the given capacity.
equals(Object) - Method in class java.lang.String
Compares the String with an Object
equals(Object) - Method in class java.lang.Object
 
equals(Object) - Method in class java.util.Vector
 
Error - error java.lang.Error.
 
Error() - Constructor for class java.lang.Error
 
Exception - exception java.lang.Exception.
 
Exception() - Constructor for class java.lang.Exception
 
exit(int) - Static method in class java.lang.System
Terminate the application.
exp(double) - Static method in class java.lang.Math
Exponential function.

F

Float - class java.lang.Float.
Minimal Float implementation that supports floatToIntBits and intBitsToFloat
floatToIntBits(float) - Static method in class java.lang.Float
Returns the bit represention of a single-float value.
floor(double) - Static method in class java.lang.Math
Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
flt() - Method in class josx.platform.rcx.Motor
Causes motor to float.
flt() - Method in class ukcrobots.core.Motor
Causes the device to float.
flt() - Method in class ukcrobots.simplecore.Motor
Causes the motor to float.
flush() - Method in class java.io.OutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class java.io.DataOutputStream
Flushes this data output stream.
forName(String) - Static method in class java.lang.Class
 
forward() - Method in class josx.platform.rcx.Motor
Causes motor to rotate forward.
forward() - Method in class ukcrobots.core.Motor
Causes the device to rotate forward.
forward() - Method in class ukcrobots.simplecore.Motor
Causes the device to rotate forward.
freeMemory() - Method in class java.lang.Runtime
Return the amount of free memory.on the heap

G

get(int) - Method in class java.util.BitSet
 
get(int) - Method in class ukcrobots.util.ArrayList
Return the object at the given index.
get(int, int) - Static method in class josx.platform.rcx.PersistentMemoryArea
Allocate a persistent array of 'size' bytes.
get(Object) - Method in class java.util.Hashtable
 
getAuxDataAddr() - Static method in class josx.platform.rcx.Memory
Make the address available to external packages.
getButton(int) - Static method in class ukcrobots.simplecore.Button
 
getCharacters(String) - Static method in class java.lang.StringUtils
Return the character array corresponding to the String without copying it.
getChars() - Method in class java.lang.StringBuffer
Retrieves the contents of the StringBuffer in the form of an array of characters.
getClass() - Method in class java.lang.Object
Returns null.
getDataAddress(Object) - Static method in class josx.platform.rcx.Memory
 
getDevice() - Method in class ukcrobots.core.Sensor
Obtain access to the attached InputDevice in order to provide enhanced functionality via a sub class.
getDevice() - Method in class ukcrobots.simplecore.Sensor
Obtain access to the attached InputDevice in order to provide enhanced functionality via a sub class.
getId() - Method in class josx.platform.rcx.Motor
Get the ID of the motor.
getId() - Method in class josx.platform.rcx.Button
Return the ID of the button.
getId() - Method in class josx.platform.rcx.Sensor
Return the ID of the sensor.
getMessage() - Method in class java.lang.Throwable
 
getMode() - Method in class ukcrobots.simplecore.Motor
Return one of the following values: DEVICE_MODE_STOPPED - the device is stopped DEVICE_MODE_FORWARD - the device is running forward DEVICE_MODE_BACKWARD - the device is running backward DEVICE_MODE_FLOATING - the device is floating
getPower() - Method in class josx.platform.rcx.Motor
Returns the current motor power.
getPower() - Method in class ukcrobots.core.Motor
Returns the current device power.
getPower() - Method in class ukcrobots.simplecore.Motor
Returns the motor's current power level.
getPriority() - Method in class java.lang.Thread
 
getRuntime() - Static method in class java.lang.Runtime
Get the single instance of us.
getRuntime() - Static method in class java.lang.System
Get the singleton instance of Runtime.
getVoltage() - Static method in class josx.platform.rcx.Battery
 
getVoltageInternal() - Static method in class josx.platform.rcx.Battery
 
getVoltageMilliVolt() - Static method in class josx.platform.rcx.Battery
 

H

hashCode() - Method in class java.lang.Object
 
Hashtable - class java.util.Hashtable.
Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable
 

I

IllegalArgumentException - exception java.lang.IllegalArgumentException.
 
IllegalArgumentException() - Constructor for class java.lang.IllegalArgumentException
 
IllegalMonitorStateException - exception java.lang.IllegalMonitorStateException.
 
IllegalMonitorStateException() - Constructor for class java.lang.IllegalMonitorStateException
 
IllegalStateException - exception java.lang.IllegalStateException.
 
IllegalStateException() - Constructor for class java.lang.IllegalStateException
 
in - Variable in class java.io.DataInputStream
 
indexOf(Object) - Method in class java.util.Vector
 
indexOf(Object, int) - Method in class java.util.Vector
 
IndexOutOfBoundsException - exception ukcrobots.util.IndexOutOfBoundsException.
Thrown when an illegal index has been used in accessing an ArrayList.
IndexOutOfBoundsException() - Constructor for class ukcrobots.util.IndexOutOfBoundsException
 
InputStream - class java.io.InputStream.
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStream() - Constructor for class java.io.InputStream
 
insertElementAt(Object, int) - Method in class java.util.Vector
 
intBitsToFloat(int) - Static method in class java.lang.Float
Returns the single-float corresponding to a given bit represention.
Integer - class java.lang.Integer.
Minimal Integer implementation that supports converting an int to a String.
Integer(int) - Constructor for class java.lang.Integer
Constructs a newly allocated Integer object that represents the primitive int argument.
interrupt() - Method in class java.lang.Thread
Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
 
InterruptedException - exception java.lang.InterruptedException.
 
InterruptedException() - Constructor for class java.lang.InterruptedException
 
IOException - exception java.io.IOException.
Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for class java.io.IOException
Constructs an IOException with null as its error detail message.
IOException(String) - Constructor for class java.io.IOException
Constructs an IOException with the specified detail message.
isActive() - Method in class ukcrobots.simplecore.Button
A Button is always active.
isAlive() - Method in class java.lang.Thread
 
isBackward() - Method in class josx.platform.rcx.Motor
Return true if motor is backward.
isBackward() - Method in class ukcrobots.simplecore.Motor
 
isDaemon() - Method in class java.lang.Thread
Set the daemon flag.
isEmpty() - Method in class java.util.Vector
 
isFloating() - Method in class josx.platform.rcx.Motor
 
isFloating() - Method in class ukcrobots.core.Motor
 
isFloating() - Method in class ukcrobots.simplecore.Motor
 
isForward() - Method in class josx.platform.rcx.Motor
Return true if motor is forward.
isForward() - Method in class ukcrobots.simplecore.Motor
 
isInterrupted() - Method in class java.lang.Thread
 
isMoving() - Method in class josx.platform.rcx.Motor
 
isMoving() - Method in class ukcrobots.core.Motor
 
isMoving() - Method in class ukcrobots.simplecore.Motor
 
isPacketAvailable() - Static method in class josx.platform.rcx.Serial
Checks to see if a packet is available.
isPressed() - Method in class josx.platform.rcx.Button
 
isPressed() - Method in class ukcrobots.core.TouchSensor
Interprets the value of the sensor as a boolean value
isPressed() - Method in class ukcrobots.simplecore.TouchSensor
Interprets the value of the sensor as a boolean value
isPressed() - Method in class ukcrobots.simplecore.Button
 
isSending() - Static method in class josx.platform.rcx.Serial
Return true if a message is being sent.
isStopped() - Method in class josx.platform.rcx.Motor
Return true if motor is stopped.
isStopped() - Method in class ukcrobots.simplecore.Motor
 

J

java.io - package java.io
Input/Output support (see josx.rcxcomm).
java.lang - package java.lang
Core Java classes
java.util - package java.util
Utilities
join() - Method in class java.lang.Thread
Join not yet implemented
join(long) - Method in class java.lang.Thread
 
josx.platform.rcx - package josx.platform.rcx
Access to RCX sensors, motors, etc.

L

LCD - class josx.platform.rcx.LCD.
LCD routines.
LCD_DECIMAL_0 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_1 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_2 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_3 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_PROGRAM - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_SIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_UNSIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LCDConstants - interface josx.platform.rcx.LCDConstants.
LCD constants.
length() - Method in class java.lang.StringBuffer
 
length() - Method in class java.lang.String
Return the length of the String in characters
letTimePass(long) - Method in class ukcrobots.util.Sleeper
Sleep for a non-guaranteed time up to time milliseconds.
LightSensor - class ukcrobots.core.LightSensor.
Model a light sensor.
LightSensor - class ukcrobots.simplecore.LightSensor.
Model a light sensor.
LightSensor(int) - Constructor for class ukcrobots.core.LightSensor
Create a light sensor.
LightSensor(int) - Constructor for class ukcrobots.simplecore.LightSensor
Create a light sensor attached to a device.
ListenerCaller - interface josx.platform.rcx.ListenerCaller.
Interface for calling calling lejos listeners.
log(double) - Static method in class java.lang.Math
Natural log function.

M

mark(int) - Method in class java.io.InputStream
Marks the current position in this input stream.
markSupported() - Method in class java.io.InputStream
Tests if this input stream supports the mark and reset methods.
Math - class java.lang.Math.
Mathematical functions.
MAX_PRIORITY - Static variable in class java.lang.Thread
The maximum priority that a thread can have.
MAX_VALUE - Static variable in class java.lang.Integer
The largest value of type int.
max(double, double) - Static method in class java.lang.Math
Returns the greater of two double values.
max(int, int) - Static method in class java.lang.Math
Returns the greater of two integer values.
Memory - class josx.platform.rcx.Memory.
Provides access to memory.
Memory() - Constructor for class josx.platform.rcx.Memory
 
MIN_PRIORITY - Static variable in class java.lang.Thread
The minimum priority that a thread can have.
MIN_VALUE - Static variable in class java.lang.Integer
The smallest value of type int.
min(double, double) - Static method in class java.lang.Math
Returns the lesser of two double values.
min(int, int) - Static method in class java.lang.Math
Returns the lesser of two integer values.
MinLCD - class josx.platform.rcx.MinLCD.
Only the most basic APIs from LCD.
MinSound - class josx.platform.rcx.MinSound.
Only the most basic APIs from Sound.
MinuteTimer - class josx.platform.rcx.MinuteTimer.
Provides access to Battery.
MinuteTimer() - Constructor for class josx.platform.rcx.MinuteTimer
 
MONITOR - Static variable in class josx.platform.rcx.Memory
Should be used for all native memory accesses.
Motor - class josx.platform.rcx.Motor.
Abstraction for a motor.
Motor - class ukcrobots.core.Motor.
A delegating wrapper around the OutputDevice class.
Motor - class ukcrobots.simplecore.Motor.
Model a motor.
MOTOR_A_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_VIEW - Static variable in interface josx.platform.rcx.Segment
 
Motor(char) - Constructor for class ukcrobots.core.Motor
Create a motor.
Motor(char) - Constructor for class ukcrobots.simplecore.Motor
Create a motor.

N

NaN - Static variable in class java.lang.Math
 
nextDouble() - Method in class java.util.Random
Random number generator.
nextInt() - Method in class java.util.Random
 
nextInt(int) - Method in class java.util.Random
Return A positive value in the range 0 ...
NoClassDefFoundError - error java.lang.NoClassDefFoundError.
 
NoClassDefFoundError(String) - Constructor for class java.lang.NoClassDefFoundError
 
NORM_PRIORITY - Static variable in class java.lang.Thread
The priority that is assigned to the primordial thread.
NoSuchDeviceException - exception ukcrobots.core.NoSuchDeviceException.
An exception to be thrown if a device identity is incorrectly specified.
NoSuchDeviceException() - Constructor for class ukcrobots.core.NoSuchDeviceException
 
NoSuchMethodError - error java.lang.NoSuchMethodError.
 
NoSuchMethodError() - Constructor for class java.lang.NoSuchMethodError
 
notify() - Method in class java.lang.Object
Wake up one thread blocked on a wait().
notifyAll() - Method in class java.lang.Object
Wake up all threads blocked on a wait().
NullPointerException - exception java.lang.NullPointerException.
 
NullPointerException() - Constructor for class java.lang.NullPointerException
 
NUM_BUTTONS - Static variable in class ukcrobots.simplecore.Button
 

O

Object - class java.lang.Object.
All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
 
Opcode - interface josx.platform.rcx.Opcode.
Opcode constants.
OPCODE_ABSOLUTE_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ABSOLUTE_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CALL_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_SOUND_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_REMOTE_COMMAND - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SEND_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_LOOP_COUNTER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_WAIT - Static variable in interface josx.platform.rcx.Opcode
 
out - Variable in class java.io.DataOutputStream
 
OutOfMemoryError - error java.lang.OutOfMemoryError.
 
OutOfMemoryError() - Constructor for class java.lang.OutOfMemoryError
 
OutputStream - class java.io.OutputStream.
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStream() - Constructor for class java.io.OutputStream
 

P

packetAvailable(byte[], int) - Method in interface josx.platform.rcx.SerialListener
Called when a packet is received through the IR.
passivate() - Method in class josx.platform.rcx.ReducedSensor
Passivates the sensor.
passivate() - Method in class josx.platform.rcx.Sensor
Passivates the sensor.
passivate() - Method in class ukcrobots.core.Sensor
Passivates the sensor.
passivate() - Method in class ukcrobots.simplecore.Sensor
Passivates the sensor.
PersistentMemoryArea - class josx.platform.rcx.PersistentMemoryArea.
A memory area for persistent storage.
PI - Static variable in class java.lang.Math
 
playTone(int, int) - Static method in class josx.platform.rcx.MinSound
Deprecated.  
playTone(int, int) - Static method in class josx.platform.rcx.Sound
Plays a tone, given its frequency and duration.
Poll - class josx.platform.rcx.Poll.
Provides blocking access to events from the RCX.
Poll() - Constructor for class josx.platform.rcx.Poll
Constructor.
poll(int, int) - Method in class josx.platform.rcx.Poll
Wait for the sensor/button values to change then return.
pow(double, double) - Static method in class java.lang.Math
Power function.
PRGM - Static variable in class josx.platform.rcx.Button
The Prgm button.
PRGM - Static variable in class ukcrobots.simplecore.Button
 
PRGM_MASK - Static variable in class josx.platform.rcx.Poll
 
print(char[]) - Static method in class josx.platform.rcx.TextLCD
Print up to the first 5 characters of a char array to the LCD.
print(String) - Static method in class josx.platform.rcx.TextLCD
Prints a string on the LCD.
printChar(char, int) - Static method in class josx.platform.rcx.TextLCD
Prints a character to a given position.
ProximitySensor - class josx.platform.rcx.ProximitySensor.
A 'sensor' to detect object proximity.
ProximitySensor(Sensor) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
ProximitySensor(Sensor, int) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
put(Object, Object) - Method in class java.util.Hashtable
 

R

Random - class java.util.Random.
Pseudo-random number generation.
random() - Static method in class java.lang.Math
Random number generator.
Random() - Constructor for class java.util.Random
Use the current system time as the default seed.
Random(long) - Constructor for class java.util.Random
 
RANGE_LONG - Static variable in interface josx.platform.rcx.Segment
 
RANGE_SHORT - Static variable in interface josx.platform.rcx.Segment
 
RAW_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
read() - Method in class java.io.DataInputStream
Reads the next byte of data from this input stream.
read() - Method in class java.io.InputStream
Reads the next byte of data from the input stream.
read(byte[]) - Method in class java.io.DataInputStream
 
read(byte[]) - Method in class java.io.InputStream
Reads some number of bytes from the input stream and stores them into the buffer array b.
read(byte[], int, int) - Method in class java.io.DataInputStream
 
read(byte[], int, int) - Method in class java.io.InputStream
Reads up to len bytes of data from the input stream into an array of bytes.
readBoolean() - Method in class java.io.DataInputStream
 
readBooleanValue() - Method in class josx.platform.rcx.Sensor
Reads the boolean value of the sensor.
readButtons() - Static method in class josx.platform.rcx.Button
Low-level API that reads status of buttons.
readByte() - Method in class java.io.DataInputStream
 
readByte(int) - Method in class josx.platform.rcx.PersistentMemoryArea
Read the byte at index 'i'
readByte(int) - Static method in class josx.platform.rcx.Memory
 
readChar() - Method in class java.io.DataInputStream
 
readFloat() - Method in class java.io.DataInputStream
 
readInt() - Method in class java.io.DataInputStream
 
readPacket(byte[]) - Static method in class josx.platform.rcx.Serial
Reads a packet received by the RCX, if one is available.
readRawValue() - Method in class josx.platform.rcx.ReducedSensor
Reads the raw value of the sensor.
readRawValue() - Method in class josx.platform.rcx.Sensor
Reads the raw value of the sensor.
readSensorValue(int, int) - Static method in class josx.platform.rcx.ReducedSensor
Low-level API for reading sensor values.
readSensorValue(int, int) - Static method in class josx.platform.rcx.Sensor
Low-level API for reading sensor values.
readShort() - Method in class java.io.DataInputStream
 
readShort(int) - Static method in class josx.platform.rcx.Memory
 
readValue() - Method in class josx.platform.rcx.ReducedSensor
Reads the canonical value of the sensor.
readValue() - Method in class josx.platform.rcx.Sensor
Reads the canonical value of the sensor.
readValue() - Method in class ukcrobots.core.Sensor
Reads the canonical value of the sensor.
readValue() - Method in class ukcrobots.simplecore.Sensor
Reads the canonical value of the sensor.
readValueAsInt() - Method in class ukcrobots.simplecore.Sensor
Implementation of Listenable.
ReducedSensor - class josx.platform.rcx.ReducedSensor.
Abstraction for a sensor (considerably changed since alpha5).
refresh() - Static method in class josx.platform.rcx.MinLCD
Refreshes LCD.
refresh() - Static method in class josx.platform.rcx.LCD
Refreshes LCD.
remove(int) - Method in class ukcrobots.util.ArrayList
Remove the object at the given index.
removeAllElements() - Method in class java.util.Vector
 
removeElement(Object) - Method in class java.util.Vector
 
removeElementAt(int) - Method in class java.util.Vector
 
removeSensorListener(SensorListener) - Method in class ukcrobots.core.Sensor
Remove the attached listener.
reset() - Method in class java.io.InputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Static method in class josx.platform.rcx.MinuteTimer
Resets two-byte timer in the RCX.
resetSerial() - Static method in class josx.platform.rcx.Serial
Resets serial communications.
reverse() - Method in class ukcrobots.core.Motor
Reverses direction of the device.
reverse() - Method in class ukcrobots.simplecore.Motor
Reverses direction of the device.
reverseDirection() - Method in class josx.platform.rcx.Motor
Reverses direction of the motor.
ROM - class josx.platform.rcx.ROM.
Provides access to ROM routines.
ROM() - Constructor for class josx.platform.rcx.ROM
 
rotateTo(int) - Method in class josx.platform.rcx.Servo
Set the motor rotating to the specified position.
RotationSensor - class ukcrobots.core.RotationSensor.
Model a rotation sensor.
RotationSensor - class ukcrobots.simplecore.RotationSensor.
Model a rotation sensor.
RotationSensor(int) - Constructor for class ukcrobots.core.RotationSensor
Create a rotation sensor.
RotationSensor(int) - Constructor for class ukcrobots.simplecore.RotationSensor
Create a rotation sensor.
round(float) - Static method in class java.lang.Math
Returns the closest int to the argument.
RUN - Static variable in class josx.platform.rcx.Button
The Run button.
RUN - Static variable in class ukcrobots.simplecore.Button
 
RUN_MASK - Static variable in class josx.platform.rcx.Poll
 
run() - Method in class java.lang.Thread
 
Runtime - class java.lang.Runtime.
Minimalist version of the standard Java Runtime class.
RuntimeException - exception java.lang.RuntimeException.
 
RuntimeException() - Constructor for class java.lang.RuntimeException
 

S

S1 - Static variable in class josx.platform.rcx.ReducedSensor
Sensor labeled 1 on RCX.
S1 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 1 on RCX.
S2 - Static variable in class josx.platform.rcx.ReducedSensor
Sensor labeled 2 on RCX.
S2 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 2 on RCX.
S3 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 3 on RCX.
Segment - interface josx.platform.rcx.Segment.
LCD segment constants.
sendPacket(byte[], int, int) - Static method in class josx.platform.rcx.Serial
Sends a packet to the IR tower or another RCX.
Sensor - class josx.platform.rcx.Sensor.
Abstraction for a sensor (considerably changed since alpha5).
Sensor - class ukcrobots.core.Sensor.
A delegating wrapper around the InputDevice class.
Sensor - class ukcrobots.simplecore.Sensor.
A delegating wrapper around the InputDevice class.
SENSOR_1_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_1_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_MODE_ANGLE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_BOOL - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGC - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGF - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_EDGE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PCT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PULSE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_LIGHT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_ROT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TEMP - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TOUCH - Static variable in interface josx.platform.rcx.SensorConstants
 
Sensor(int, int, int) - Constructor for class ukcrobots.core.Sensor
Sets the sensor's mode and type.
Sensor(int, int, int) - Constructor for class ukcrobots.simplecore.Sensor
Sets the sensor's mode and type.
SENSOR1_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR2_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR3_MASK - Static variable in class josx.platform.rcx.Poll
 
SensorChangeListener - class ukcrobots.core.SensorChangeListener.
A general listener only interested in the fact that a sensor's state has changed, not in the values that indicate the change.
SensorChangeListener() - Constructor for class ukcrobots.core.SensorChangeListener
 
SensorConstants - interface josx.platform.rcx.SensorConstants.
Constants for Sensor methods.
SensorListener - interface josx.platform.rcx.SensorListener.
Listener of sensor events.
SensorListener - interface ukcrobots.core.SensorListener.
An interface for event listeners interested in receiving the previous and current sensor values.
SENSORS - Static variable in class josx.platform.rcx.Sensor
Array containing all three sensors [0..2].
Serial - class josx.platform.rcx.Serial.
Low-level API for infra-red (IR) communication between an RCX and the IR tower or between two RCXs.
SERIAL_MASK - Static variable in class josx.platform.rcx.Poll
 
SERIAL_SHIFT - Static variable in class josx.platform.rcx.Poll
 
Serializable - interface java.io.Serializable.
This interface is not functional.
SerialListener - interface josx.platform.rcx.SerialListener.
Listener of incomming serial data.
Servo - class josx.platform.rcx.Servo.
Implmentation of a servo using a Motor and a Rotation Sensor.
Servo(Sensor, Motor) - Constructor for class josx.platform.rcx.Servo
Constructor.
Servo(Sensor, Motor, int) - Constructor for class josx.platform.rcx.Servo
Constructor.
set(int) - Method in class java.util.BitSet
 
set(int, Object) - Method in class ukcrobots.util.ArrayList
Replace the item at the given index with element.
setBit(int, int, int) - Static method in class josx.platform.rcx.Memory
 
setDaemon(boolean) - Method in class java.lang.Thread
 
setDataBuffer(byte[]) - Static method in class josx.platform.rcx.Serial
Sets the buffer that will be used to save data transferred with opcode 0x45.
setElementAt(Object, int) - Method in class java.util.Vector
 
setNumber(int, int, int) - Static method in class josx.platform.rcx.MinLCD
Sets a number to be displayed in the LCD.
setNumber(int, int, int) - Static method in class josx.platform.rcx.LCD
Sets a number to be displayed in the LCD.
setPower(int) - Method in class josx.platform.rcx.Motor
Sets motor power to a value between 0 and 7.
setPower(int) - Method in class ukcrobots.core.Motor
Sets the device power to a value between 0 and 7.
setPower(int) - Method in class ukcrobots.simplecore.Motor
Sets power to a value between 0 and 7.
setPreviousValue(int) - Method in class josx.platform.rcx.ReducedSensor
Resets the canonical sensor value.
setPreviousValue(int) - Method in class josx.platform.rcx.Sensor
Resets the canonical sensor value.
setPreviousValue(int) - Method in class ukcrobots.core.RotationSensor
Resets the canonical sensor value.
setPreviousValue(int) - Method in class ukcrobots.simplecore.RotationSensor
Resets the canonical sensor value.
setPriority(int) - Method in class java.lang.Thread
Set the priority of this thread.
setRangeLong() - Static method in class josx.platform.rcx.Serial
Sets long range transmision.
setRangeShort() - Static method in class josx.platform.rcx.Serial
Sets short range transmision.
setSegment(int) - Static method in class josx.platform.rcx.LCD
Sets an LCD segment.
setSize(int) - Method in class java.util.Vector
 
setThrottle(int) - Method in class josx.platform.rcx.Poll
Set a throttle on the regularity with which inputs are polled.
setTypeAndMode(int, int) - Method in class josx.platform.rcx.ReducedSensor
Sets the sensor's mode and type.
setTypeAndMode(int, int) - Method in class josx.platform.rcx.Sensor
Sets the sensor's mode and type.
showNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an unsigned number on the LCD.
showNumber(int) - Method in class ukcrobots.core.Display
Show a number on the RCX's display.
showProgramNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an digit in the Program section of the LCD.
sin(double) - Static method in class java.lang.Math
Sine function using a Chebyshev-Pade approximation.
size() - Method in class java.io.DataOutputStream
Returns the current value of the counter written, the number of bytes written to this data output stream so far.
size() - Method in class java.util.Vector
 
size() - Method in class ukcrobots.util.ArrayList
 
skip(long) - Method in class java.io.InputStream
Skips over and discards n bytes of data from this input stream.
sleep(long) - Static method in class java.lang.Thread
 
sleep(long) - Static method in class ukcrobots.util.Sleeper
Sleep for a non-guaranteed time up to time milliseconds.
Sleeper - class ukcrobots.util.Sleeper.
A utility class to provide both static and non-static sleep methods without having to worry about an InterruptedException.
Sleeper() - Constructor for class ukcrobots.util.Sleeper
Create a Sleeper.
Sound - class josx.platform.rcx.Sound.
RCX sound routines.
sqrt(double) - Static method in class java.lang.Math
Square root - thanks to Paulo Costa for donating the code.
StackOverflowError - error java.lang.StackOverflowError.
 
StackOverflowError() - Constructor for class java.lang.StackOverflowError
 
STANDING - Static variable in interface josx.platform.rcx.Segment
 
start() - Method in class java.lang.Thread
 
stateChanged() - Method in class ukcrobots.core.SensorChangeListener
Notify the listener that the sensor's state has changed.
stateChanged(boolean, boolean) - Method in class ukcrobots.core.BooleanSensorListener
Notify on a change of device state.
stateChanged(int, int) - Method in interface ukcrobots.core.SensorListener
Called when the canonical value of a sensor changes.
stateChanged(int, int) - Method in class ukcrobots.core.SensorChangeListener
This method discards the underlying integer values from the sensor as they are not required.
stateChanged(int, int) - Method in class ukcrobots.core.BooleanSensorListener
This method maps underlying integer values from the sensor as boolean values and invokes the boolean version of stateChanged.
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.Servo
Called by the sensor listener thread when the value of the rotation sensor changes.
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.ProximitySensor
Called from a thread private to sensor that runs at MAX_PRIORITY If newValue > oldValue by more than the threshhold, notify anything wait()ing on the sensor.
stateChanged(Sensor, int, int) - Method in interface josx.platform.rcx.SensorListener
Called when the canonical value of the sensor changes.
stop() - Method in class josx.platform.rcx.Motor
Causes motor to stop, pretty much instantaneously.
stop() - Method in class ukcrobots.core.Motor
Causes the device to stop, pretty much instantaneously.
stop() - Method in class ukcrobots.simplecore.Motor
Causes the motor to stop, pretty much instantaneously.
String - class java.lang.String.
An immutable string of characters.
String(char[], int, int) - Constructor for class java.lang.String
Create a String from a character array.
StringBuffer - class java.lang.StringBuffer.
An expandable string of characters.
StringBuffer() - Constructor for class java.lang.StringBuffer
 
StringBuffer(int) - Constructor for class java.lang.StringBuffer
 
StringBuffer(String) - Constructor for class java.lang.StringBuffer
 
StringUtils - class java.lang.StringUtils.
Utilities for non-standard String maniplulation.
System - class java.lang.System.
System utilities.
systemSound(boolean, int) - Static method in class josx.platform.rcx.Sound
Play a system sound.

T

tan(double) - Static method in class java.lang.Math
Tangent function.
TextLCD - class josx.platform.rcx.TextLCD.
Display text on the LCD screen.
Thread - class java.lang.Thread.
A thread of execution (or task).
Thread() - Constructor for class java.lang.Thread
 
Thread(String) - Constructor for class java.lang.Thread
 
ThreadDeath - error java.lang.ThreadDeath.
This is a special Error, which isn't reported by the VM if uncaught.
ThreadDeath() - Constructor for class java.lang.ThreadDeath
 
Throwable - class java.lang.Throwable.
All exceptions and errors extend this class.
Throwable() - Constructor for class java.lang.Throwable
 
toArray() - Method in class java.util.Vector
 
toCharArray() - Method in class java.lang.String
Converts the String into an array of characters
toDegrees(double) - Static method in class java.lang.Math
Converts radians to degrees.
toRadians(double) - Static method in class java.lang.Math
Converts degrees to radians.
toString() - Method in class java.lang.Integer
Returns a String object representing this Integer's value.
toString() - Method in class java.lang.StringBuffer
 
toString() - Method in class java.lang.String
Returns itself.
toString() - Method in class java.lang.Object
Returns the empty string.
toString(int) - Static method in class java.lang.Integer
Returns a new String object representing the specified integer.
totalMemory() - Method in class java.lang.Runtime
Return the size of the heap in bytes.
TouchSensor - class ukcrobots.core.TouchSensor.
Model a touch sensor as a device returning boolean values.
TouchSensor - class ukcrobots.simplecore.TouchSensor.
Model a touch sensor as a device returning boolean values.
TouchSensor(int) - Constructor for class ukcrobots.core.TouchSensor
Create a touch sensor.
TouchSensor(int) - Constructor for class ukcrobots.simplecore.TouchSensor
 
trimToSize() - Method in class java.util.Vector
 
twoBeeps() - Static method in class josx.platform.rcx.Sound
Beeps twice.

U

ukcrobots.core - package ukcrobots.core
Contains classes and interface for using a sample of input and output devices attached to an RCX.
ukcrobots.simplecore - package ukcrobots.simplecore
Contains classes for using a sample of input devices attached to an RCX.
ukcrobots.util - package ukcrobots.util
Contains utility classes that supplement those in java.util.
UPLOAD - Static variable in interface josx.platform.rcx.Segment
 

V

valueOf(Object) - Static method in class java.lang.String
Converts an Object to a String
Vector - class java.util.Vector.
A dynamic array.
Vector() - Constructor for class java.util.Vector
 
Vector(int) - Constructor for class java.util.Vector
 
Vector(int, int) - Constructor for class java.util.Vector
 
VIEW - Static variable in class josx.platform.rcx.Button
The View button.
VIEW - Static variable in class ukcrobots.simplecore.Button
 
VIEW_MASK - Static variable in class josx.platform.rcx.Poll
 

W

wait() - Method in class java.lang.Object
This is the same as calling wait(0).
wait(long) - Method in class java.lang.Object
Wait until notified.
waitForPressAndRelease() - Method in class josx.platform.rcx.Button
Wait until the button is released.
waitTillNear(long) - Method in class josx.platform.rcx.ProximitySensor
Block the current thread until a near object is detected.
waitTillSent() - Static method in class josx.platform.rcx.Serial
Wait until a message has been sent.
WALKING - Static variable in interface josx.platform.rcx.Segment
 
write(byte[]) - Method in class java.io.OutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class java.io.OutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte[], int, int) - Method in class java.io.DataOutputStream
Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
write(int) - Method in class java.io.OutputStream
Writes the specified byte to this output stream.
write(int) - Method in class java.io.DataOutputStream
Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
writeBoolean(boolean) - Method in class java.io.DataOutputStream
Writes a boolean to the underlying output stream as a 1-byte value.
writeByte(int) - Method in class java.io.DataOutputStream
Writes out a byte to the underlying output stream as a 1-byte value.
writeByte(int, byte) - Method in class josx.platform.rcx.PersistentMemoryArea
Write a byte at index 'i'
writeByte(int, byte) - Static method in class josx.platform.rcx.Memory
 
writeChar(int) - Method in class java.io.DataOutputStream
Writes a char to the underlying output stream as a 2-byte value, high byte first.
writeFloat(float) - Method in class java.io.DataOutputStream
Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the underlying output stream as a 4-byte quantity, high byte first.
writeInt(int) - Method in class java.io.DataOutputStream
Writes an int to the underlying output stream as four bytes, high byte first.
writeShort(int) - Method in class java.io.DataOutputStream
Writes a short to the underlying output stream as two bytes, high byte first.
writeShort(int, short) - Static method in class josx.platform.rcx.Memory
 
written - Variable in class java.io.DataOutputStream
 

Y

yield() - Static method in class java.lang.Thread
 

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