Index of all Fields and Methods Packages Classes   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

R

random(). Static method in class java.lang.Math
Generates a random number between 0.0 and 1.0.
Random(). Constructor for class java.util.Random
Creates a new random number generator.
Random(long). Constructor for class java.util.Random
Creates a new random number generator using a single long seed.
RandomAccessFile(File, String). Constructor for class java.io.RandomAccessFile
Creates a RandomAccessFile from a specified File object and mode ("r" or "rw").
RandomAccessFile(String, String). Constructor for class java.io.RandomAccessFile
Creates a RandomAccessFile with the specified system dependent file name and the specified mode.
RANDOMPIXELORDER. Static variable in interface java.awt.image.ImageConsumer
The pixels will be delivered in a random order.
read(). Method in class java.io.BufferedInputStream
Reads a byte of data.
read(). Method in class java.io.ByteArrayInputStream
Reads a byte of data.
read(). Method in class java.io.FileInputStream
Reads a byte of data.
read(). Method in class java.io.FilterInputStream
Reads a byte.
read(). Method in class java.io.InputStream
Reads a byte of data.
read(). Method in class java.io.LineNumberInputStream
Reads a byte of data.
read(). Method in class java.io.PipedInputStream
Reads a byte of data.
read(). Method in class java.io.PushbackInputStream
Reads a byte of data.
read(). Method in class java.io.RandomAccessFile
Reads a byte of data.
read(). Method in class java.io.SequenceInputStream
Reads a stream, and upon reaching an EOF, flips to the next stream.
read(). Method in class java.io.StringBufferInputStream
Reads a byte of data.
read(byte[]). Method in class java.io.DataInputStream
Reads data into an array of bytes.
read(byte[]). Method in class java.io.FileInputStream
Reads data into an array of bytes.
read(byte[]). Method in class java.io.FilterInputStream
Reads into an array of bytes.
read(byte[]). Method in class java.io.InputStream
Reads into an array of bytes.
read(byte[]). Method in class java.io.RandomAccessFile
Reads data into an array of bytes.
read(byte[], int, int). Method in class java.io.BufferedInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.ByteArrayInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.DataInputStream
Reads data into an array of bytes.
read(byte[], int, int). Method in class java.io.FileInputStream
Reads data into an array of bytes.
read(byte[], int, int). Method in class java.io.FilterInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.InputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.LineNumberInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.PipedInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.PushbackInputStream
Reads into an array of bytes.
read(byte[], int, int). Method in class java.io.RandomAccessFile
Reads a sub array as a sequence of bytes.
read(byte[], int, int). Method in class java.io.SequenceInputStream
Reads data into an array of bytes, and upon reaching an EOF, flips to the next stream.
read(byte[], int, int). Method in class java.io.StringBufferInputStream
Reads into an array of bytes.
readBoolean(). Method in interface java.io.DataInput
Reads in a boolean.
readBoolean(). Method in class java.io.DataInputStream
Reads a boolean.
readBoolean(). Method in class java.io.RandomAccessFile
Reads a boolean.
readByte(). Method in interface java.io.DataInput
Reads an 8 bit byte.
readByte(). Method in class java.io.DataInputStream
Reads an 8 bit byte.
readByte(). Method in class java.io.RandomAccessFile
Reads a byte.
readChar(). Method in interface java.io.DataInput
Reads a 16 bit char.
readChar(). Method in class java.io.DataInputStream
Reads a 16 bit char.
readChar(). Method in class java.io.RandomAccessFile
Reads a 16 bit char.
readDouble(). Method in interface java.io.DataInput
Reads a 64 bit double.
readDouble(). Method in class java.io.DataInputStream
Reads a 64 bit double.
readDouble(). Method in class java.io.RandomAccessFile
Reads a 64 bit double.
readFloat(). Method in interface java.io.DataInput
Reads a 32 bit float.
readFloat(). Method in class java.io.DataInputStream
Reads a 32 bit float.
readFloat(). Method in class java.io.RandomAccessFile
Reads a 32 bit float.
readFully(byte[]). Method in interface java.io.DataInput
Reads bytes, blocking until all bytes are read.
readFully(byte[]). Method in class java.io.DataInputStream
Reads bytes, blocking until all bytes are read.
readFully(byte[]). Method in class java.io.RandomAccessFile
Reads bytes, blocking until all bytes are read.
readFully(byte[], int, int). Method in interface java.io.DataInput
Reads bytes, blocking until all bytes are read.
readFully(byte[], int, int). Method in class java.io.DataInputStream
Reads bytes, blocking until all bytes are read.
readFully(byte[], int, int). Method in class java.io.RandomAccessFile
Reads bytes, blocking until all bytes are read.
readInt(). Method in interface java.io.DataInput
Reads a 32 bit int.
readInt(). Method in class java.io.DataInputStream
Reads a 32 bit int.
readInt(). Method in class java.io.RandomAccessFile
Reads a 32 bit int.
readLine(). Method in interface java.io.DataInput
readLine(). Method in class java.io.DataInputStream
Reads in a line that has been terminated by a \n, \r, \r\n or EOF.
readLine(). Method in class java.io.RandomAccessFile
Reads a line terminated by a '\n' or EOF.
readLong(). Method in interface java.io.DataInput
Reads a 64 bit long.
readLong(). Method in class java.io.DataInputStream
Reads a 64 bit long.
readLong(). Method in class java.io.RandomAccessFile
Reads a 64 bit long.
readShort(). Method in interface java.io.DataInput
Reads a 16 bit short.
readShort(). Method in class java.io.DataInputStream
Reads a 16 bit short.
readShort(). Method in class java.io.RandomAccessFile
Reads 16 bit short.
readUnsignedByte(). Method in interface java.io.DataInput
Reads an unsigned 8 bit byte.
readUnsignedByte(). Method in class java.io.DataInputStream
Reads an unsigned 8 bit byte.
readUnsignedByte(). Method in class java.io.RandomAccessFile
Reads an unsigned 8 bit byte.
readUnsignedShort(). Method in interface java.io.DataInput
Reads an unsigned 16 bit short.
readUnsignedShort(). Method in class java.io.DataInputStream
Reads 16 bit short.
readUnsignedShort(). Method in class java.io.RandomAccessFile
Reads 16 bit short.
readUTF(). Method in interface java.io.DataInput
readUTF(). Method in class java.io.DataInputStream
Reads a UTF format String.
readUTF(). Method in class java.io.RandomAccessFile
Reads a UTF formatted String.
readUTF(DataInput). Static method in class java.io.DataInputStream
Reads a UTF format String from the given input stream.
receive(DatagramPacket). Method in class java.net.DatagramSocket
Receives datagram packet.
Rectangle(). Constructor for class java.awt.Rectangle
Constructs a new rectangle.
Rectangle(Dimension). Constructor for class java.awt.Rectangle
Constructs a rectangle and initializes it to the specified width and height.
Rectangle(int, int). Constructor for class java.awt.Rectangle
Constructs a rectangle and initializes it with the specified width and height parameters.
Rectangle(int, int, int, int). Constructor for class java.awt.Rectangle
Constructs and initializes a rectangle with the specified parameters.
Rectangle(Point). Constructor for class java.awt.Rectangle
Constructs a rectangle and initializes it to the specified point.
Rectangle(Point, Dimension). Constructor for class java.awt.Rectangle
Constructs a rectangle and initializes it to a specified point and dimension.
red. Static variable in class java.awt.Color
The color red.
regionMatches(boolean, int, String, int, int). Method in class java.lang.String
Determines whether a region of this String matches the specified region of the specified String.
regionMatches(int, String, int, int). Method in class java.lang.String
Determines whether a region of this String matches the specified region of the specified String.
rehash(). Method in class java.util.Hashtable
Rehashes the content of the table into a bigger table.
RELATIVE. Static variable in class java.awt.GridBagConstraints
REMAINDER. Static variable in class java.awt.GridBagConstraints
RemoteDebugger(String, DebuggerCallback, boolean). Constructor for class sun.tools.debug.RemoteDebugger
Create a remote debugger, and connect it to a new client interpreter.

RemoteDebugger(String, String, DebuggerCallback, boolean). Constructor for class sun.tools.debug.RemoteDebugger
Create a remote debugger, connecting it with a running Java interpreter.

To connect to a running interpreter, it must be started with the "-debug" option, whereupon it will print out the password for that debugging session.

RemoteInt(int). Constructor for class sun.tools.debug.RemoteInt
remove(Component). Method in class java.awt.Container
Removes the specified component from this container.
remove(int). Method in class java.awt.Menu
Deletes the item from this menu at the specified index.
remove(int). Method in class java.awt.MenuBar
Removes the menu located at the specified index from the menu bar.
remove(MenuComponent). Method in class java.awt.Frame
Removes the specified menu bar from this Frame.
remove(MenuComponent). Method in class java.awt.Menu
Deletes the specified item from this menu.
remove(MenuComponent). Method in class java.awt.MenuBar
Removes the specified menu from the menu bar.
remove(MenuComponent). Method in interface java.awt.MenuContainer
remove(Object). Method in class java.util.Dictionary
Removes the element corresponding to the key.
remove(Object). Method in class java.util.Hashtable
Removes the element corresponding to the key.
removeAll(). Method in class java.awt.Container
Removes all the components from this container.
removeAllElements(). Method in class java.util.Vector
Removes all elements of the vector.
removeConsumer(ImageConsumer). Method in class java.awt.image.FilteredImageSource
Removes an ImageConsumer from the list of consumers interested in data for this image.
removeConsumer(ImageConsumer). Method in interface java.awt.image.ImageProducer
This method removes the given ImageConsumer object from the list of consumers currently registered to receive image data.
removeConsumer(ImageConsumer). Method in class java.awt.image.MemoryImageSource
Remove an ImageConsumer from the list of consumers interested in data for this image.
removeElement(Object). Method in class java.util.Vector
Removes the element from the vector.
removeElementAt(int). Method in class java.util.Vector
Deletes the element at the specified index.
removeLayoutComponent(Component). Method in class java.awt.BorderLayout
Removes the specified component from the layout.
removeLayoutComponent(Component). Method in class java.awt.CardLayout
Removes the specified component from the layout.
removeLayoutComponent(Component). Method in class java.awt.FlowLayout
Removes the specified component from the layout.
removeLayoutComponent(Component). Method in class java.awt.GridBagLayout
Removes the specified component from the layout.
removeLayoutComponent(Component). Method in class java.awt.GridLayout
Removes the specified component from the layout.
removeLayoutComponent(Component). Method in interface java.awt.LayoutManager
Removes the specified component from the layout.
removeNotify(). Method in class java.awt.Component
Notifies the Component to destroy the peer.
removeNotify(). Method in class java.awt.Container
Notifies the container to remove its peer.
removeNotify(). Method in class java.awt.List
Removes the peer for this list.
removeNotify(). Method in class java.awt.Menu
Removes the menu's peer.
removeNotify(). Method in class java.awt.MenuBar
Removes the menu bar's peer.
removeNotify(). Method in class java.awt.MenuComponent
Removes the menu component's peer.
removeNotify(). Method in class java.awt.TextComponent
Removes the TextComponent's peer.
renameTo(File). Method in class java.io.File
Renames a file and returns a boolean indicating whether or not this method was successful.
repaint(). Method in class java.awt.Component
Repaints the component.
repaint(int, int, int, int). Method in class java.awt.Component
Repaints part of the component.
repaint(long). Method in class java.awt.Component
Repaints the component.
repaint(long, int, int, int, int). Method in class java.awt.Component
Repaints part of the component.
repaint(long, int, int, int, int). Method in interface java.awt.peer.ComponentPeer
replace(char, char). Method in class java.lang.String
Converts this String by replacing all occurences of oldChar with newChar.
replaceItem(String, int). Method in class java.awt.List
Replaces the item at the given index.
replaceText(String, int, int). Method in class java.awt.TextArea
Replaces text from the indicated start to end position with the new text specified.
replaceText(String, int, int). Method in interface java.awt.peer.TextAreaPeer
requestFocus(). Method in class java.awt.Component
Requests the input focus.
requestFocus(). Method in interface java.awt.peer.ComponentPeer
requestTopDownLeftRightResend(ImageConsumer). Method in class java.awt.image.FilteredImageSource
Requests that a given ImageConsumer have the image data delivered one more time in top-down, left-right order.
requestTopDownLeftRightResend(ImageConsumer). Method in interface java.awt.image.ImageProducer
This method is used by an ImageConsumer to request that the ImageProducer attempt to resend the image data one more time in TOPDOWNLEFTRIGHT order so that higher quality conversion algorithms which depend on receiving pixels in order can be used to produce a better output version of the image.
requestTopDownLeftRightResend(ImageConsumer). Method in class java.awt.image.MemoryImageSource
Requests that a given ImageConsumer have the image data delivered one more time in top-down, left-right order.
resendTopDownLeftRight(ImageProducer). Method in class java.awt.image.ImageFilter
Responds to a request for a TopDownLeftRight (TDLR) ordered resend of the pixel data from an ImageConsumer.
reset(). Method in class java.io.BufferedInputStream
Repositions the stream to the last marked position.
reset(). Method in class java.io.ByteArrayInputStream
Resets the buffer to the beginning.
reset(). Method in class java.io.ByteArrayOutputStream
Resets the buffer so that you can use it again without throwing away the already allocated buffer.
reset(). Method in class java.io.FilterInputStream
Repositions the stream to the last marked position.
reset(). Method in class java.io.InputStream
Repositions the stream to the last marked position.
reset(). Method in class java.io.LineNumberInputStream
Repositions the stream to the last marked position.
reset(). Method in class java.io.StringBufferInputStream
Resets the buffer to the beginning.
resetCurrentFrameIndex(). Method in class sun.tools.debug.RemoteThread
Reset the current stackframe
resetSyntax(). Method in class java.io.StreamTokenizer
Resets the syntax table so that all characters are special.
reshape(int, int, int, int). Method in class java.awt.Component
Reshapes the Component to the specified bounding box.
reshape(int, int, int, int). Method in interface java.awt.peer.ComponentPeer
reshape(int, int, int, int). Method in class java.awt.Rectangle
Reshapes the rectangle.
resize(Dimension). Method in class java.applet.Applet
Requests thatthe applet be resized.
resize(Dimension). Method in class java.awt.Component
Resizes the Component to the specified dimension.
resize(int, int). Method in class java.applet.Applet
Requests that the applet be resized.
resize(int, int). Method in class java.awt.Component
Resizes the Component to the specified width and height.
resize(int, int). Method in class java.awt.Rectangle
Resizes the rectangle.
resolveClass(Class). Method in class java.lang.ClassLoader
Resolves classes referenced by this Class.
resume(). Method in class sun.tools.debug.RemoteThread
Resume execution of this thread.
resume(). Method in class java.lang.Thread
Resumes this Thread execution.
resume(). Method in class java.lang.ThreadGroup
Resumes all the Threads in this Thread group and all of its sub groups.
RGBImageFilter(). Constructor for class java.awt.image.RGBImageFilter
RGBtoHSB(int, int, int, float[]). Static method in class java.awt.Color
Returns the HSB values corresponding to the color defined by the red, green, and blue components.
RIGHT. Static variable in class java.awt.Event
The right arrow key.
RIGHT. Static variable in class java.awt.FlowLayout
The right alignment variable.
right. Variable in class java.awt.Insets
The inset from the right.
RIGHT. Static variable in class java.awt.Label
The right alignment.
rint(double). Static method in class java.lang.Math
Converts a double value into an integral value in double format.
round(double). Static method in class java.lang.Math
Rounds off a double value by first adding 0.5 to it and then returning the largest integer that is less than or equal to this new value.
round(float). Static method in class java.lang.Math
Rounds off a float value by first adding 0.5 to it and then returning the largest integer that is less than or equal to this new value.
rowHeights. Variable in class java.awt.GridBagLayout
rowWeights. Variable in class java.awt.GridBagLayout
run(). Method in interface java.lang.Runnable
The method that is executed when a Runnable object is activated.
run(). Method in class java.lang.Thread
The actual body of this Thread.
run(int, String[]). Method in class sun.tools.debug.RemoteDebugger
Load and run a runnable Java class, with any optional parameters.
runFinalization(). Method in class java.lang.Runtime
Runs the finalization methods of any objects pending finalization.
runFinalization(). Static method in class java.lang.System
Runs the finalization methods of any objects pending finalization.
RuntimeException(). Constructor for class java.lang.RuntimeException
Constructs a RuntimeException with no detail message.
RuntimeException(String). Constructor for class java.lang.RuntimeException
Constructs a RuntimeException with the specified detail message.