A B C D E F G H I J L M N O P Q 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.
AbstractRecyclable - Class in josx.util
Represents a recyclable object.
AbstractRecyclable() - Constructor for class josx.util.AbstractRecyclable
 
acos(double) - Static method in class java.lang.Math
Arc cosine function.
action() - Method in class josx.robotics.Activity
Encapsulates the actual activity we want to perform.
action() - Method in interface josx.robotics.Behavior
The code in action() represents the actual action of the robot when this behavior becomes active.
activate() - Method in class josx.platform.rcx.Sensor
Activates the sensor.
Activity - Class in josx.robotics
An activity that operates in coordination with other activities.
Activity() - Constructor for class josx.robotics.Activity
 
ActivityBase - Class in josx.robotics
Useful base class.
ActivityBase() - Constructor for class josx.robotics.ActivityBase
Set this thread to be a daemon thread.
addAddressingHandler(AddressingHandler, byte) - Static method in class josx.rcxcomm.LNP
Register an integrity handler to process incoming addressing packets for a specific port.
addButtonListener(ButtonListener) - Method in class josx.platform.rcx.Button
Adds a listener of button events.
addElement(Object) - Method in class java.util.Vector
 
addIntegrityHandler(IntegrityHandler) - Static method in class josx.rcxcomm.LNP
Register an integrity handler to process incoming broadcasts
addRemoteControlListener(RemoteControlListener) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
adds a remote control listener
AddressingHandler - Interface in josx.rcxcomm
An interface for processing incoming addressing packets on specific ports.
addressingWrite(byte[], int, byte, byte) - Static method in class josx.rcxcomm.LNP
Sends packet of up to 59 bytes to the destination address from the source address.
addSensorListener(SensorListener) - Method in class josx.platform.rcx.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
 
allocate(int) - Method in class josx.util.ArrayRecycler
Attempts to obtain a free RecyclableArray.
allocate() - Method in class josx.util.Recycler
Attempts to obtain a free object.
append(String) - Method in class java.lang.StringBuffer
 
append(Object) - Method in class java.lang.StringBuffer
 
append(boolean) - Method in class java.lang.StringBuffer
 
append(char) - Method in class java.lang.StringBuffer
 
append(int) - Method in class java.lang.StringBuffer
 
append(long) - Method in class java.lang.StringBuffer
 
append(float) - Method in class java.lang.StringBuffer
 
append(double) - Method in class java.lang.StringBuffer
 
Arbitrator - Class in josx.robotics
Arbitrator controls which behavior should currently be active in a behavior control system.
Arbitrator(Behavior[]) - Constructor for class josx.robotics.Arbitrator
Allocates an Arbitrator object and initializes it with an array of Behavior objects.
ArithmeticException - Exception in java.lang
 
ArithmeticException() - Constructor for exception java.lang.ArithmeticException
 
ArrayIndexOutOfBoundsException - Exception in java.lang
 
ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
 
ArrayRecycler - Class in josx.util
An array recycler for Object arrays.
ArrayRecycler() - Constructor for class josx.util.ArrayRecycler
Constructs a recycler.
asin(double) - Static method in class java.lang.Math
Arc sine function.
Assertion - Class in josx.util
Class used in debugging to test assertions.
Assertion() - Constructor for class josx.util.Assertion
 
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.
available() - Method in class josx.rcxcomm.RCXInputStream
Checks if there is any data avaliable on the InputStream

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 interface josx.robotics.Navigator
Moves the RCX robot backward until stop() is called.
backward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot backward until stop() is called.
backward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot backward until stop() is called.
Battery - Class in josx.platform.rcx
Provides access to Battery.
Battery() - Constructor for class josx.platform.rcx.Battery
 
BATTERY - Static variable in interface josx.platform.rcx.Segment
 
beep() - Static method in class josx.platform.rcx.Sound
Beeps once.
beepSequence() - Static method in class josx.platform.rcx.Sound
Downward tones.
Behavior - Interface in josx.robotics
The Behavior interface represents an object embodying a specific behavior belonging to a robot.
BitSet - Class in java.util
Represents a long set of bits.
BitSet(int) - Constructor for class java.util.BitSet
 
BOOLEAN_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
Button - Class in josx.platform.rcx
Abstraction for an RCX button.
BUTTON_MASK_SHIFT - Static variable in class josx.platform.rcx.Poll
 
ButtonListener - Interface in josx.platform.rcx
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.
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.String
Return the character at the given index
charAt(int) - Method in class java.lang.StringBuffer
 
Class - Class in java.lang
Not functional.
Class() - Constructor for class java.lang.Class
 
ClassCastException - Exception in java.lang
 
ClassCastException() - Constructor for exception java.lang.ClassCastException
 
ClassNotFoundException - Exception in java.lang
 
ClassNotFoundException() - Constructor for exception java.lang.ClassNotFoundException
 
clear(int) - Method in class java.util.BitSet
 
clear() - Method in class java.util.Vector
 
clear() - Static method in class josx.platform.rcx.LCD
Clears the display.
clear() - Static method in class josx.platform.rcx.Message
Clear the received message
clearSegment(int) - Static method in class josx.platform.rcx.LCD
Clears an LCD segment.
Cloneable - Interface in java.lang
This interface is not functional.
close() - Method in class java.io.InputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.OutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class josx.rcxcomm.PacketHandler
Close this packet handler and all lower layers.
close() - Method in class josx.rcxcomm.RCXAbstractPort
Closes this RCXPort, stopping the Listener thread.
close() - Method in class josx.rcxcomm.RCXInputStream
Close the stream and stop listening
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.
createInstance() - Method in class josx.util.ArrayRecycler
 
createInstance() - Method in class josx.util.Recycler
This is a factory method that should be overridden to create an Recyclable object instance.
currentThread() - Static method in class java.lang.Thread
 
currentTimeMillis() - Static method in class java.lang.System
Current time expressed in milliseconds.

D

DataInputStream - Class in java.io
 
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
 
DATALOG - Static variable in interface josx.platform.rcx.Segment
 
DataOutputStream - Class in java.io
 
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
 
DEFAULT_BUFFER_SIZE - Static variable in class josx.rcxcomm.RCXInputStream
The default buffer size for the InputStream is 32 bytes
DEFAULT_TIMEOUT - Static variable in class josx.rcxcomm.RCXInputStream
 
delete(int, int) - Method in class java.lang.StringBuffer
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
doGet must be overridden to allow your Servlet to process GET requests
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
 
empty() - Method in class java.util.Queue
is this Queue empty?
empty() - Method in class java.util.Stack
is this stack empty?
EmptyQueueException - Exception in java.util
An exception thrown by some Queue class methods to indicate that the Queue is empty
EmptyQueueException() - Constructor for exception java.util.EmptyQueueException
creates a new exception wit null message string
EmptyStackException - Exception in java.util
An exception thrown by some stack class methods to indicate that the stack is empty
EmptyStackException() - Constructor for exception java.util.EmptyStackException
creates a new exception wit null message string
ensureCapacity(int) - Method in class java.util.Vector
 
equals(Object) - Method in class java.lang.Object
 
equals(Object) - Method in class java.lang.String
Compares the String with an Object
equals(Object) - Method in class java.util.Vector
 
Error - Error in java.lang
 
Error() - Constructor for error java.lang.Error
 
Exception - Exception in java.lang
 
Exception() - Constructor for exception java.lang.Exception
 
Exception(String) - Constructor for exception 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

F7DeliveryHandler - Class in josx.rcxcomm
A packet handler that attempts (but doesn't fully succeed in) reliable delivery for F7 Lego firmware opcode packets.
F7DeliveryHandler(PacketHandler) - Constructor for class josx.rcxcomm.F7DeliveryHandler
 
F7Handler - Class in josx.rcxcomm
Packet handler that uses the Lego Firmware F7 (set Message) opcodes.
F7Handler() - Constructor for class josx.rcxcomm.F7Handler
 
Float - Class in java.lang
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.
flush() - Method in class java.io.DataOutputStream
Flushes this data output stream.
flush() - Method in class java.io.OutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
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 interface josx.robotics.Navigator
Moves the RCX robot forward until stop() is called.
forward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot forward until stop() is called.
forward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot forward until stop() is called.
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(Object) - Method in class java.util.Hashtable
 
get() - Static method in class josx.platform.rcx.Message
Get the last received message
get(int, int) - Static method in class josx.platform.rcx.PersistentMemoryArea
Allocate a persistent array of 'size' bytes.
get(int) - Method in class josx.util.RecyclableArray
 
getAngle() - Method in interface josx.robotics.Navigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in class josx.robotics.RotationNavigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in class josx.robotics.TimingNavigator
Returns the current angle the RCX robot is facing.
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
 
getDelay() - Method in class josx.util.Timer
access how man milliseconds between timedOut() messages.
getError() - Method in class josx.rcxcomm.PacketHandler
Get the last error.
getId() - Method in class josx.platform.rcx.Button
Return the ID of the button.
getId() - Method in class josx.platform.rcx.Motor
Get the ID of the motor.
getId() - Method in class josx.platform.rcx.Sensor
Return the ID of the sensor.
getInputStream() - Method in class java.net.Socket
Returns an input stream for this Socket.
getInputStream() - Method in class java.net.URLConnection
Returns an input stream for this URLConnection.
getInputStream() - Method in class josx.rcxcomm.RCXAbstractPort
Returns an input stream for this RCXPort.
getLength() - Method in class josx.util.RecyclableArray
 
getMessage() - Method in class java.lang.Throwable
 
getNextRecyclable() - Method in class josx.util.AbstractRecyclable
Must return Recyclable most recently set with setNextRecyclable.
getNextRecyclable() - Method in interface josx.util.Recyclable
Must return Recyclable most recently set with setNextRecyclable.
getOutputStream() - Method in class java.net.Socket
Returns an output stream for this Socket.
getOutputStream() - Method in class java.net.URLConnection
Returns an output stream for this URLConnection.
getOutputStream() - Method in class javax.servlet.http.HttpServletResponse
Returns an OutputStream for writing the response
getOutputStream() - Method in class josx.rcxcomm.RCXAbstractPort
Returns an output stream for this RCXPort.
getParameter(String) - Method in class javax.servlet.http.HttpServletRequest
Returns the named parameter value, or null if there is no such parameter.
getParameterLength() - Method in class javax.servlet.http.HttpServletRequest
Returns the real length of the current parameter.
getPower() - Method in class josx.platform.rcx.Motor
Returns the current motor power.
getPriority() - Method in class java.lang.Thread
 
getQueryString() - Method in class javax.servlet.http.HttpServletRequest
Returns the Query String This is the part of a URI after any "?".
getQueryStringLength() - Method in class javax.servlet.http.HttpServletRequest
Returns the real Query String Length.
getRequestURI() - Method in class javax.servlet.http.HttpServletRequest
Returns the Request URI.
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.
getServletPath() - Method in class javax.servlet.http.HttpServletRequest
Returns the Servlet Path.
getServletPathLength() - Method in class javax.servlet.http.HttpServletRequest
Returns the real Servlet Path Length.
getTimeOut() - Method in class josx.rcxcomm.RCXAbstractPort
Getter for property timeOut.
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
 
getX() - Method in interface josx.robotics.Navigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.robotics.RotationNavigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.robotics.TimingNavigator
Returns the current x coordinate of the RCX.
getY() - Method in interface josx.robotics.Navigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.robotics.RotationNavigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.robotics.TimingNavigator
Returns the current y coordinate of the RCX.
gotoAngle(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot to point in a certain direction.
gotoPoint(float, float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot towards the target point and moves the required distance.

H

hashCode() - Method in class java.lang.Object
 
Hashtable - Class in java.util
Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable
 
HttpServlet - Class in javax.servlet.http
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a lejos Web Server.
HttpServlet() - Constructor for class javax.servlet.http.HttpServlet
 
HttpServletRequest - Class in javax.servlet.http
Provides request information for HTTP servlets.
HttpServletRequest() - Constructor for class javax.servlet.http.HttpServletRequest
 
HttpServletResponse - Class in javax.servlet.http
Provides HTTP-specific functionality for sending a response.
HttpServletResponse(OutputStream) - Constructor for class javax.servlet.http.HttpServletResponse
Creates the Servlet Response object

I

IllegalArgumentException - Exception in java.lang
 
IllegalArgumentException() - Constructor for exception java.lang.IllegalArgumentException
 
IllegalMonitorStateException - Exception in java.lang
 
IllegalMonitorStateException() - Constructor for exception java.lang.IllegalMonitorStateException
 
IllegalStateException - Exception in java.lang
 
IllegalStateException() - Constructor for exception 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
 
init() - Method in class javax.servlet.http.HttpServlet
Initialize the HTTP servlet
init() - Static method in class josx.rcxcomm.LLC
Initialize LLC
init() - Method in class josx.util.AbstractRecyclable
Initializes the Recyclable.
init() - Method in interface josx.util.Recyclable
Called when the Recyclable is allocated by a Recycler.
init() - Method in class josx.util.RecyclableArray
 
InputStream - Class in java.io
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 in java.lang
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.
IntegrityHandler - Interface in josx.rcxcomm
An interface for processing incoming broadcasts of LNP integrity packets.
integrityWrite(byte[], int) - Static method in class josx.rcxcomm.LNP
Broadcasts an integrity packet of up to 61 bytes
interrupt() - Method in class java.lang.Thread
Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
 
InterruptedException - Exception in java.lang
 
InterruptedException() - Constructor for exception java.lang.InterruptedException
 
IOException - Exception in java.io
Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for exception java.io.IOException
Constructs an IOException with null as its error detail message.
IOException(String) - Constructor for exception java.io.IOException
Constructs an IOException with the specified detail message.
isAckAvailable() - Method in class josx.rcxcomm.LLCHandler
Check if an Ack is available
isAckAvailable() - Method in class josx.rcxcomm.PacketHandler
Check if an ack is available
isAddressing() - Method in class josx.rcxcomm.LNPHandler
Test if last received packet is addressing (or integrity)
isAddressing() - Method in class josx.rcxcomm.LNPIntegrityHandler
Test if last packet is an adressing (or integrity) packet
isAlive() - Method in class java.lang.Thread
 
isAvailable() - Static method in class josx.platform.rcx.Message
Return true if message is available
isBackward() - Method in class josx.platform.rcx.Motor
Return true if motor is backward.
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
 
isForward() - Method in class josx.platform.rcx.Motor
Return true if motor is forward.
isInterrupted() - Method in class java.lang.Thread
 
isMoving() - Method in class josx.platform.rcx.Motor
 
isPacketAvailable() - Static method in class josx.platform.rcx.Serial
Checks to see if a packet is available.
isPacketAvailable() - Method in class josx.rcxcomm.F7DeliveryHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.F7Handler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LLCHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LLCReliableHandler
Check if a packet is available.
isPacketAvailable() - Method in class josx.rcxcomm.LNPAddressingHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LNPHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.LNPIntegrityHandler
Check if a packet is available
isPacketAvailable() - Method in class josx.rcxcomm.PacketHandler
Check if a packet is available
isPressed() - Method in class josx.platform.rcx.Button
 
isSendError() - Static method in class josx.rcxcomm.LLC
Return the error status of the last send
isSending() - Static method in class josx.platform.rcx.Serial
Return true if a message is being sent.
isSending() - Static method in class josx.rcxcomm.LLC
Indicate whether the last send is still active
isStopped() - Method in class josx.platform.rcx.Motor
Return true if motor is stopped.
iWantToRun() - Method in class josx.robotics.Activity
Call this if you want this activity to run.

J

java.io - package java.io
Input/Output support (see josx.rcxcomm).
java.lang - package java.lang
Core Java classes
java.net - package java.net
 
java.util - package java.util
Utilities
javax.servlet.http - package javax.servlet.http
A Web Server for lejos
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.
josx.rcxcomm - package josx.rcxcomm
RCX communication with the PC
josx.rcxcomm.remotecontrol - package josx.rcxcomm.remotecontrol
 
josx.robotics - package josx.robotics
Robotics classes
josx.util - package josx.util
More utility classes

L

lastIndexOf(Object) - Method in class java.util.Vector
delivers the index of the last occurrence of the object
lastIndexOf(Object, int) - Method in class java.util.Vector
delivers the index of the last occurrence of the object starting from some index
LCD - Class in josx.platform.rcx
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 in josx.platform.rcx
LCD constants.
length() - Method in class java.lang.String
Return the length of the String in characters
length() - Method in class java.lang.StringBuffer
 
ListenerCaller - Interface in josx.platform.rcx
Interface for calling calling lejos listeners.
LLC - Class in josx.rcxcomm
Low-level comms (LLC).
LLCHandler - Class in josx.rcxcomm
Packet handler than implement the LLC packet protocol.
LLCHandler() - Constructor for class josx.rcxcomm.LLCHandler
 
LLCReliableHandler - Class in josx.rcxcomm
A Packet handler that guarantees reliable delivery using checksums, acks, and a single bit sequence number.
LLCReliableHandler(PacketHandler) - Constructor for class josx.rcxcomm.LLCReliableHandler
 
LNP - Class in josx.rcxcomm
An interface for sending and receiving Lego Network Protocol addressing and integrity layer packets.
LNPAddressingHandler - Class in josx.rcxcomm
Packet handler that implements LNP addressing.
LNPAddressingHandler(PacketHandler) - Constructor for class josx.rcxcomm.LNPAddressingHandler
 
LNPHandler - Class in josx.rcxcomm
A Packet handler that implements the outer LNP packet format.
LNPHandler() - Constructor for class josx.rcxcomm.LNPHandler
Creates an LNP packet handler and initializes LLC
LNPIntegrityHandler - Class in josx.rcxcomm
Packet handler that implements simple checksums.
LNPIntegrityHandler(PacketHandler, byte) - Constructor for class josx.rcxcomm.LNPIntegrityHandler
Create a packet handler for broadcast or addressing integrity packets
log(double) - Static method in class java.lang.Math
Natural log function.
lowerHandler - Variable in class josx.rcxcomm.PacketHandler
 

M

MalformedURLException - Exception in java.net
Thrown to indicate that a malformed URL has occurred.
MalformedURLException() - Constructor for exception java.net.MalformedURLException
Constructs a MalformedURLException with no detail message.
MalformedURLException(String) - Constructor for exception java.net.MalformedURLException
Constructs a MalformedURLException with the specified detail message.
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 in java.lang
Mathematical functions.
max(int, int) - Static method in class java.lang.Math
Returns the greater of two integer values.
max(double, double) - Static method in class java.lang.Math
Returns the greater of two double values.
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.
Memory - Class in josx.platform.rcx
Provides access to memory.
Memory() - Constructor for class josx.platform.rcx.Memory
 
Message - Class in josx.platform.rcx
Message API for infra-red (IR) communication that is compatible with the SendMessage command of the LEGO firmware.
message1Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 1 button
message1Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 1 button
message2Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 2 button
message2Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 2 button
message3Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the message 3 button
message3Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the message 3 button
METHOD_JOSX_VISION_RCX_BACKWARD_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_BACKWARD_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_CONTROL_MOTORS - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_FORWARD_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_FORWARD_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_PLAY_TONE - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SCAN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SET_POWER - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_SPIN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_STOP - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TILT_DOWN_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TILT_UP_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_LEFT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_LEFT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_RIGHT_I - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
METHOD_JOSX_VISION_RCX_TURN_RIGHT_V - Static variable in interface josx.rcxcomm.RemoteVisionConstants
 
min(int, int) - Static method in class java.lang.Math
Returns the lesser of two integer values.
min(double, double) - Static method in class java.lang.Math
Returns the lesser of two double values.
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.
MinLCD - Class in josx.platform.rcx
Only the most basic APIs from LCD.
MinSound - Class in josx.platform.rcx
Only the most basic APIs from Sound.
MinuteTimer - Class in josx.platform.rcx
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.
monitor - Static variable in class josx.robotics.ActivityBase
 
Motor - Class in josx.platform.rcx
Abstraction for 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
 
motorDownPressed(Motor) - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
decrement motor power
motorDownPressed(Motor) - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the motor down button
motorUpPressed(Motor) - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
increment motor power
motorUpPressed(Motor) - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the motor up button

N

NaN - Static variable in class java.lang.Math
 
Navigator - Interface in josx.robotics
The Navigator interface contains methods for performing basic navigational movements.
nextInt() - Method in class java.util.Random
 
nextInt(int) - Method in class java.util.Random
Returns a random integer in the range 0...n-1.
NoClassDefFoundError - Error in java.lang
 
NoClassDefFoundError(String) - Constructor for error java.lang.NoClassDefFoundError
 
NORM_PRIORITY - Static variable in class java.lang.Thread
The priority that is assigned to the primordial thread.
NoSuchMethodError - Error in java.lang
 
NoSuchMethodError() - Constructor for error 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 in java.lang
 
NullPointerException() - Constructor for exception java.lang.NullPointerException
 

O

Object - Class in java.lang
All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
 
Opcode - Interface in josx.platform.rcx
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
 
open(byte, byte) - Method in class josx.rcxcomm.LNPAddressingHandler
Set the source and destination for this connection
open(byte, byte) - Method in class josx.rcxcomm.PacketHandler
Set the source and destination for this connection.
openConnection() - Method in class java.net.URL
Create and open a URL connection using http get.
out - Variable in class java.io.DataOutputStream
 
OutOfMemoryError - Error in java.lang
 
OutOfMemoryError() - Constructor for error java.lang.OutOfMemoryError
 
OutputStream - Class in java.io
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.
packetAvailable(byte[], int) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
implements the SerialListener interface
listens for incoming packets on the IR port and notifies the registered listeners.
PacketHandler - Class in josx.rcxcomm
Abstract packet handler.
PacketHandler() - Constructor for class josx.rcxcomm.PacketHandler
 
PacketHandler(PacketHandler) - Constructor for class josx.rcxcomm.PacketHandler
 
packetHandler - Variable in class josx.rcxcomm.RCXAbstractPort
 
passivate() - Method in class josx.platform.rcx.Sensor
Passivates the sensor.
pause(long) - Method in class josx.robotics.Activity
Wait at most 'time' milliseconds.
pause() - Method in class josx.robotics.Activity
Wait until we've either been made runnable or someone else has.
peek() - Method in class java.util.Queue
fetches an object from the start of the Queue
does not remove it!
peek() - Method in class java.util.Stack
fetches an object from the stack
does not remove it!
PersistentMemoryArea - Class in josx.platform.rcx
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 in josx.platform.rcx
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.
pop() - Method in class java.util.Queue
fetches an object from the start of the Queue and removes it
pop() - Method in class java.util.Stack
fetches an object from the top of the stack and removes it
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_MASK - Static variable in class josx.platform.rcx.Poll
 
print(String) - Static method in class josx.platform.rcx.TextLCD
Prints a string on the LCD.
print(char[]) - Static method in class josx.platform.rcx.TextLCD
Print up to the first 5 characters of a char array to the LCD.
printChar(char, int) - Static method in class josx.platform.rcx.TextLCD
Prints a character to a given position.
processAddressingPacket(byte[], int, byte) - Method in interface josx.rcxcomm.AddressingHandler
Process the adressing packet.
processIntegrityPacket(byte[], int) - Method in interface josx.rcxcomm.IntegrityHandler
Process the broadcast integrity packet.
program1Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 1 button
program1Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 1 button
program2Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 2 button
program2Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 2 button
program3Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 3 button
program3Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 3 button
program4Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 4 button
program4Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 4 button
program5Pressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the program 5 button
program5Pressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the program 5 button
ProximitySensor - Class in josx.platform.rcx
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.
push(Object) - Method in class java.util.Queue
pushes an object onto the Queue
push(Object) - Method in class java.util.Stack
pushes an object onto the stack
put(Object, Object) - Method in class java.util.Hashtable
 
put(int, Object) - Method in class josx.util.RecyclableArray
 

Q

Queue - Class in java.util
A FIFO Queue of objects.
Queue() - Constructor for class java.util.Queue
creates a new Queue instance

R

random() - Static method in class java.lang.Math
Random number generator.
Random - Class in java.util
Pseudo-random number generation.
Random(long) - Constructor for class java.util.Random
 
Random() - 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
 
RCXAbstractPort - Class in josx.rcxcomm
RCXAbstractPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU RCXAbstractPort implements input and output stream handling and input buffering.
RCXAbstractPort(PacketHandler) - Constructor for class josx.rcxcomm.RCXAbstractPort
Constructor for the RCXAbstractPort.
RCXF7Port - Class in josx.rcxcomm
RCXF7Port provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort uses Serial comms, not low-level comms.
RCXF7Port() - Constructor for class josx.rcxcomm.RCXF7Port
 
RCXInputStream - Class in josx.rcxcomm
RCXInputStream provides an interface similar to FileInputStream.
RCXInputStream() - Constructor for class josx.rcxcomm.RCXInputStream
Creates new RCXInputStream
RCXLNPAddressingPort - Class in josx.rcxcomm
RCXLNPAddressingPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort supports the Lego Network protocol (LNP) addressing layer.
RCXLNPAddressingPort(byte, byte) - Constructor for class josx.rcxcomm.RCXLNPAddressingPort
 
RCXLNPPort - Class in josx.rcxcomm
RCXLNPPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU This version of RCXPort uses the Legos Network protocol (LNP).
RCXLNPPort() - Constructor for class josx.rcxcomm.RCXLNPPort
 
RCXOutputStream - Class in josx.rcxcomm
Cut down version of RCXPort, which only supports writes.
RCXOutputStream() - Constructor for class josx.rcxcomm.RCXOutputStream
Creates new RCXOutputStream
RCXPort - Class in josx.rcxcomm
RCXPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU Uses Reliable low-level comms for communication.
RCXPort() - Constructor for class josx.rcxcomm.RCXPort
 
read() - Method in class java.io.DataInputStream
Reads the next byte of data from this input stream.
read(byte[]) - Method in class java.io.DataInputStream
 
read(byte[], int, int) - Method in class java.io.DataInputStream
 
read() - Method in class java.io.InputStream
Reads the next byte of data from the input stream.
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.InputStream
Reads up to len bytes of data from the input stream into an array of bytes.
read() - Static method in class josx.rcxcomm.LLC
read a single byte, if available
read() - Method in class josx.rcxcomm.RCXInputStream
Read a single byte from the InputStream.
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) - Static method in class josx.platform.rcx.Memory
 
readByte(int) - Method in class josx.platform.rcx.PersistentMemoryArea
Read the byte at index 'i'
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.Sensor
Reads the raw value of the sensor.
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.Sensor
Reads the canonical value of the sensor.
receive() - Static method in class josx.rcxcomm.LLC
wait a little while for a byte to become available
receiveAck(byte[]) - Method in class josx.rcxcomm.LLCHandler
Receive an ack.
receiveAck(byte[]) - Method in class josx.rcxcomm.PacketHandler
 
receivePacket(byte[]) - Method in class josx.rcxcomm.F7DeliveryHandler
Receive a packet, and send an ack.
receivePacket(byte[]) - Method in class josx.rcxcomm.F7Handler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LLCHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LLCReliableHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPAddressingHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.LNPIntegrityHandler
Receive a packet.
receivePacket(byte[]) - Method in class josx.rcxcomm.PacketHandler
Receive a packet.
Recyclable - Interface in josx.util
Represents a recyclable object.
RecyclableArray - Class in josx.util
A recyclable array.
recycle(Recyclable) - Method in class josx.util.Recycler
Reclaims a Recyclable previously allocated with the allocate method.
Recycler - Class in josx.util
An abstract object recycler.
Recycler() - Constructor for class josx.util.Recycler
Constructs a recycler.
refresh() - Static method in class josx.platform.rcx.LCD
Refreshes LCD.
refresh() - Static method in class josx.platform.rcx.MinLCD
Refreshes LCD.
release() - Method in class josx.util.AbstractRecyclable
Called by users when this Recyclable is no longer needed.
release() - Method in interface josx.util.Recyclable
Called when this Recyclable is no longer needed.
release() - Method in class josx.util.RecyclableArray
 
RemoteControlAdapter - Class in josx.rcxcomm.remotecontrol
This class is an adapter for the remote control listener.
RemoteControlAdapter() - Constructor for class josx.rcxcomm.remotecontrol.RemoteControlAdapter
creates a new instance of RemoteControlAdapter
RemoteControlListener - Interface in josx.rcxcomm.remotecontrol
This is an interface for remote control message handlers.
RemoteControlSensor - Class in josx.rcxcomm.remotecontrol
This class is a sensor for remote control messages.
RemoteControlSensor() - Constructor for class josx.rcxcomm.remotecontrol.RemoteControlSensor
creates a new instance of RemoteControlSensor
RemoteVisionConstants - Interface in josx.rcxcomm
 
removeAllElements() - Method in class java.util.Vector
 
removeElement(Object) - Method in class java.util.Vector
 
removeElementAt(int) - Method in class java.util.Vector
 
removeRemoteControlListener(RemoteControlListener) - Method in class josx.rcxcomm.remotecontrol.RemoteControlSensor
removes a remote control 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.
reset() - Method in class josx.rcxcomm.LLCReliableHandler
Reset sequence numbers.
reset() - Method in class josx.rcxcomm.PacketHandler
Reset sequence numbers for this handler
reset() - Method in class josx.rcxcomm.RCXAbstractPort
Resets sequence numbers for this port
resetRunnable() - Method in class josx.robotics.Activity
Reset the runnable activity.
resetSerial() - Static method in class josx.platform.rcx.Serial
Resets serial communications.
reverseDirection() - Method in class josx.platform.rcx.Motor
Reverses direction of the motor.
ROM - Class in josx.platform.rcx
Provides access to ROM routines.
ROM() - Constructor for class josx.platform.rcx.ROM
 
rotate(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotate(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).
rotate(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotateTo(int) - Method in class josx.platform.rcx.Servo
Set the motor rotating to the specified position.
RotationNavigator - Class in josx.robotics
The RotationNavigator class contains methods for performing basic navigational movements.
RotationNavigator(float, float, float, Motor, Motor, Sensor, Sensor) - Constructor for class josx.robotics.RotationNavigator
Allocates a RotationNavigator object and initializes if with the proper motors and sensors.
RotationNavigator(float, float, float) - Constructor for class josx.robotics.RotationNavigator
Overloaded RotationNavigator constructor that assumes the following:
Left motor = Motor.A Right motor = Motor.C
Left rotation sensor = Sensor.S1 Right rotation sensor = Sensor.S3
round(float) - Static method in class java.lang.Math
Returns the closest int to the argument.
run() - Method in class java.lang.Thread
 
RUN - Static variable in class josx.platform.rcx.Button
The Run button.
run() - Method in class josx.rcxcomm.LNP
Background thread to listen for incoming packets and call the appropriate listeners.
run() - Method in class josx.robotics.Activity
Thread entry point.
RUN_MASK - Static variable in class josx.platform.rcx.Poll
 
Runtime - Class in java.lang
Minimalist version of the standard Java Runtime class.
RuntimeException - Exception in java.lang
 
RuntimeException() - Constructor for exception java.lang.RuntimeException
 

S

S1 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 1 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 in josx.platform.rcx
LCD segment constants.
send(byte) - Static method in class josx.platform.rcx.Message
Send the byte using the SetMessage opcode
sendBytes(byte[], int) - Static method in class josx.rcxcomm.LLC
Send a number of bytes and wait for completion of transmission
sendPacket(byte[], int, int) - Static method in class josx.platform.rcx.Serial
Sends a packet to the IR tower or another RCX.
sendPacket(byte[], int) - Method in class josx.rcxcomm.F7DeliveryHandler
Send a packet, checking for returned ack.
sendPacket(byte[], int) - Method in class josx.rcxcomm.F7Handler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LLCHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LLCReliableHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPAddressingHandler
Send a packet, adding the source and destination addresses
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.LNPIntegrityHandler
Send a packet.
sendPacket(byte[], int) - Method in class josx.rcxcomm.PacketHandler
Send a packet.
Sensor - Class in josx.platform.rcx
Abstraction for a sensor (considerably changed since alpha5).
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
 
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
 
SensorConstants - Interface in josx.platform.rcx
Constants for Sensor methods.
SensorListener - Interface in josx.platform.rcx
Listener of sensor events.
SENSORS - Static variable in class josx.platform.rcx.Sensor
Array containing all three sensors [0..2].
Serial - Class in josx.platform.rcx
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 in java.io
This interface is not functional.
SerialListener - Interface in josx.platform.rcx
Listener of incomming serial data.
Servo - Class in josx.platform.rcx
Implmentation of a servo using a Motor and a Rotation Sensor.
Servo(Sensor, Motor, int) - Constructor for class josx.platform.rcx.Servo
Constructor.
Servo(Sensor, Motor) - Constructor for class josx.platform.rcx.Servo
Constructor.
set(int) - Method in class java.util.BitSet
 
setBit(int, int, int) - Static method in class josx.platform.rcx.Memory
 
setContentType(String) - Method in class javax.servlet.http.HttpServletResponse
Set the Content Type.
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.
setDelay(int) - Method in class josx.util.Timer
Change the delay between timedOut messages.
setElementAt(Object, int) - Method in class java.util.Vector
 
setListen(boolean) - Method in class josx.rcxcomm.PacketHandler
Set or unset the listen flag to keep a PC serial tower alive
setMomentumDelay(short) - Method in class josx.robotics.TimingNavigator
A variable that adds extra time to each rotation.
setNextRecyclable(Recyclable) - Method in class josx.util.AbstractRecyclable
Stores a Recyclable object.
setNextRecyclable(Recyclable) - Method in interface josx.util.Recyclable
Stores a Recyclable object.
setNumber(int, int, int) - Static method in class josx.platform.rcx.LCD
Sets a number to be displayed in the LCD.
setNumber(int, int, int) - Static method in class josx.platform.rcx.MinLCD
Sets a number to be displayed in the LCD.
setOp(byte) - Method in class josx.rcxcomm.LNPIntegrityHandler
Set the opcode for the next write
setPower(int) - Method in class josx.platform.rcx.Motor
Sets motor power to a value between 0 and 7.
setPreviousValue(int) - Method in class josx.platform.rcx.Sensor
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.
setRangeLong() - Static method in class josx.rcxcomm.LLC
Sets long range transmision.
setRangeShort() - Static method in class josx.platform.rcx.Serial
Sets short range transmision.
setRangeShort() - Static method in class josx.rcxcomm.LLC
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.
setTimeOut(int) - Method in class josx.rcxcomm.RCXAbstractPort
Setter for property timeOut.
setTimeOut(int) - Method in class josx.rcxcomm.RCXInputStream
Setter for timeout
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.
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
 
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
 
Socket - Class in java.net
An RCX version of Socket that connects to TCP/IP ports via a proxy called SocketProxy running on the PC.
Socket(String, int) - Constructor for class java.net.Socket
Connects to a Socket via the proxy on the PC.
Sound - Class in josx.platform.rcx
RCX sound routines.
soundPressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the sound button
soundPressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the sound button
sqrt(double) - Static method in class java.lang.Math
Square root - thanks to Paulo Costa for donating the code.
Stack - Class in java.util
A LIFO stack of objects.
Stack() - Constructor for class java.util.Stack
creates a new Stack instance
StackOverflowError - Error in java.lang
 
StackOverflowError() - Constructor for error java.lang.StackOverflowError
 
STANDING - Static variable in interface josx.platform.rcx.Segment
 
start() - Method in class java.lang.Thread
 
start() - Method in class josx.robotics.Arbitrator
This method starts the arbitration of Behaviors.
start() - Method in class josx.util.Timer
Starts the timer, telling it to send timeOut() methods to the TimerListener.
startListening(byte) - Static method in class josx.rcxcomm.LNP
Start listening for incoming broadcasts and addressing packets.
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.
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.
stop() - Method in class josx.platform.rcx.Motor
Causes motor to stop, pretty much instantaneously.
stop() - Method in interface josx.robotics.Navigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.robotics.RotationNavigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.robotics.TimingNavigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.util.Timer
Stops the timer. timedOut() messages are not sent.
StopException - Exception in josx.robotics
This exception indicates that an activity should stop.
StopException() - Constructor for exception josx.robotics.StopException
 
stopPressed() - Method in class josx.rcxcomm.remotecontrol.RemoteControlAdapter
handler for the stop button
stopPressed() - Method in interface josx.rcxcomm.remotecontrol.RemoteControlListener
handler for the stopp button
String - Class in java.lang
An immutable string of characters.
String(char[], int, int) - Constructor for class java.lang.String
Create a String from a character array.
StringBuffer - Class in java.lang
An expandable string of characters.
StringBuffer() - Constructor for class java.lang.StringBuffer
 
StringBuffer(String) - Constructor for class java.lang.StringBuffer
 
StringBuffer(int) - Constructor for class java.lang.StringBuffer
 
StringUtils - Class in java.lang
Utilities for non-standard String maniplulation.
suppress() - Method in interface josx.robotics.Behavior
The code in suppress() should stop the current behavior.
System - Class in java.lang
System utilities.
systemSound(boolean, int) - Static method in class josx.platform.rcx.Sound
Play a system sound.

T

takeControl() - Method in interface josx.robotics.Behavior
Returns a boolean to indicate if this behavior should seize control of the robot.
tan(double) - Static method in class java.lang.Math
Tangent function.
test(String, boolean) - Static method in class josx.util.Assertion
 
testEQ(String, int, int) - Static method in class josx.util.Assertion
If the actual value is not equal to the expected value, throw an Error.
TextLCD - Class in josx.platform.rcx
Display text on the LCD screen.
Thread - Class in java.lang
A thread of execution (or task).
Thread() - Constructor for class java.lang.Thread
 
Thread(String) - Constructor for class java.lang.Thread
 
ThreadDeath - Error in java.lang
This is a special Error, which isn't reported by the VM if uncaught.
ThreadDeath() - Constructor for error java.lang.ThreadDeath
 
Throwable - Class in java.lang
All exceptions and errors extend this class.
Throwable() - Constructor for class java.lang.Throwable
 
Throwable(String) - Constructor for class java.lang.Throwable
 
timedOut() - Method in interface josx.util.TimerListener
Called every time the Timer fires.
Timer - Class in josx.util
Timer object, with some similar functionality to java.Swing.Timer.
Timer(int, TimerListener) - Constructor for class josx.util.Timer
Create a Timer object.
TimerListener - Interface in josx.util
Listener used with Timer.
TimingNavigator - Class in josx.robotics
The Navigator class contains methods for performing basic navigational movements.
TimingNavigator(Motor, Motor, float, float) - Constructor for class josx.robotics.TimingNavigator
Allocates a Navigator object and initializes if with the left and right wheels.
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(int) - Static method in class java.lang.Integer
Returns a new String object representing the specified integer.
toString() - Method in class java.lang.Integer
Returns a String object representing this Integer's value.
toString() - Method in class java.lang.Object
Returns the empty string.
toString() - Method in class java.lang.String
Returns itself.
toString() - Method in class java.lang.StringBuffer
 
totalMemory() - Method in class java.lang.Runtime
Return the size of the heap in bytes.
travel(int) - Method in interface josx.robotics.Navigator
Moves the RCX robot a specific distance.
travel(int) - Method in class josx.robotics.RotationNavigator
Moves the RCX robot a specific distance.
travel(int) - Method in class josx.robotics.TimingNavigator
Moves the RCX robot a specific distance.
trimToSize() - Method in class java.util.Vector
 
twoBeeps() - Static method in class josx.platform.rcx.Sound
Beeps twice.

U

UPLOAD - Static variable in interface josx.platform.rcx.Segment
 
URL - Class in java.net
An RCX version of URL that uses the RCX version of Socket.
URL(String) - Constructor for class java.net.URL
Create a URL from the supplied string.
URLConnection - Class in java.net
An RCX version of URLConnection that uses the RCX version of Socket.
URLConnection(String, int, String) - Constructor for class java.net.URLConnection
Connects to a Socket via the proxy on the PC.

V

valueOf(Object) - Static method in class java.lang.String
Converts an Object to a String
Vector - Class in java.util
A dynamic array.
Vector(int, int) - Constructor for class java.util.Vector
 
Vector(int) - Constructor for class java.util.Vector
 
Vector() - Constructor for class java.util.Vector
 
VIEW - Static variable in class josx.platform.rcx.Button
The View 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(int) - Method in class java.io.DataOutputStream
Writes the specified byte (the low eight bits of the argument b) to the underlying 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(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(int) - Method in class josx.rcxcomm.RCXOutputStream
Write a byte to the OutputStream.
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) - Static method in class josx.platform.rcx.Memory
 
writeByte(int, byte) - Method in class josx.platform.rcx.PersistentMemoryArea
Write a byte at index 'i'
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 Q R S T U V W Y