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

R

Random - Class in java.util
An instance of this class is used to generate a stream of pseudorandom numbers.
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: public Random(long seed) { setSeed(seed); } Used by method next to hold the state of the pseudorandom number generator.
read() - Method in class java.io.ByteArrayInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class java.io.ByteArrayInputStream
Reads up to len bytes of data into an array of bytes from this input stream.
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
See the general contract of the read method of DataInput.
read(byte[], int, int) - Method in class java.io.DataInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
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(char[], int, int) - Method in class java.io.InputStreamReader
Read characters into a portion of an array.
read() - Method in class java.io.Reader
Read a single character.
read(char[]) - Method in class java.io.Reader
Read characters into an array.
read(char[], int, int) - Method in class java.io.Reader
Read characters into a portion of an array.
READ - Static variable in class javax.microedition.io.Connector
Access mode READ.
READ_WRITE - Static variable in class javax.microedition.io.Connector
Access mode READ/WRITE
readBoolean() - Method in interface java.io.DataInput
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
readBoolean() - Method in class java.io.DataInputStream
See the general contract of the readBoolean method of DataInput.
readByte() - Method in interface java.io.DataInput
Reads and returns one input byte.
readByte() - Method in class java.io.DataInputStream
See the general contract of the readByte method of DataInput.
readChar() - Method in interface java.io.DataInput
Reads an input char and returns the char value.
readChar() - Method in class java.io.DataInputStream
See the general contract of the readChar method of DataInput.
readDouble() - Method in interface java.io.DataInput
Reads eight input bytes and returns a double value.
readDouble() - Method in class java.io.DataInputStream
See the general contract of the readDouble method of DataInput.
Reader - Class in java.io
Abstract class for reading character streams.
Reader() - Constructor for class java.io.Reader
Create a new character-stream reader whose critical sections will synchronize on the reader itself.
Reader(Object) - Constructor for class java.io.Reader
Create a new character-stream reader whose critical sections will synchronize on the given object.
readFloat() - Method in interface java.io.DataInput
Reads four input bytes and returns a float value.
readFloat() - Method in class java.io.DataInputStream
See the general contract of the readFloat method of DataInput.
readFully(byte[]) - Method in interface java.io.DataInput
Reads some bytes from an input stream and stores them into the buffer array b.
readFully(byte[], int, int) - Method in interface java.io.DataInput
Reads len bytes from an input stream.
readFully(byte[]) - Method in class java.io.DataInputStream
See the general contract of the readFully method of DataInput.
readFully(byte[], int, int) - Method in class java.io.DataInputStream
See the general contract of the readFully method of DataInput.
readInt() - Method in interface java.io.DataInput
Reads four input bytes and returns an int value.
readInt() - Method in class java.io.DataInputStream
See the general contract of the readInt method of DataInput.
readLong() - Method in interface java.io.DataInput
Reads eight input bytes and returns a long value.
readLong() - Method in class java.io.DataInputStream
See the general contract of the readLong method of DataInput.
readShort() - Method in interface java.io.DataInput
Reads two input bytes and returns a short value.
readShort() - Method in class java.io.DataInputStream
See the general contract of the readShort method of DataInput.
readUnsignedByte() - Method in interface java.io.DataInput
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
readUnsignedByte() - Method in class java.io.DataInputStream
See the general contract of the readUnsignedByte method of DataInput.
readUnsignedShort() - Method in interface java.io.DataInput
Reads two input bytes, zero-extends it to type int, and returns an int value in the range 0 through 65535.
readUnsignedShort() - Method in class java.io.DataInputStream
See the general contract of the readUnsignedShort method of DataInput.
readUTF() - Method in interface java.io.DataInput
Reads in a string that has been encoded using a modified UTF-8 format.
readUTF() - Method in class java.io.DataInputStream
See the general contract of the readUTF method of DataInput.
readUTF(DataInput) - Static method in class java.io.DataInputStream
Reads from the stream in a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
ready() - Method in class java.io.InputStreamReader
Tell whether this stream is ready to be read.
ready() - Method in class java.io.Reader
Tell whether this stream is ready to be read.
receive(Datagram) - Method in interface javax.microedition.io.DatagramConnection
Receive a datagram.
Reference - Class in java.lang.ref
Abstract base class for reference objects.
Reference() - Constructor for class java.lang.ref.Reference
 
regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
Tests if two string regions are equal.
rehash() - Method in class java.util.Hashtable
Rehashes the contents of the hashtable into a hashtable with a larger capacity.
remove(Object) - Method in class java.util.Hashtable
Removes the key (and its corresponding value) from this hashtable.
removeAllElements() - Method in class java.util.Vector
Removes all components from this vector and sets its size to zero.
removeElement(Object) - Method in class java.util.Vector
Removes the first occurrence of the argument from this vector.
removeElementAt(int) - Method in class java.util.Vector
Deletes the component at the specified index.
replace(char, char) - Method in class java.lang.String
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
reset() - Method in class java.io.ByteArrayInputStream
Resets the buffer to the marked position.
reset() - Method in class java.io.ByteArrayOutputStream
Resets the count field of this byte array output stream to zero, so that all currently accumulated output in the output stream is discarded.
reset() - Method in class java.io.DataInputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
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() - Method in class java.io.InputStreamReader
Reset the stream.
reset() - Method in class java.io.Reader
Reset the stream.
reset() - Method in interface javax.microedition.io.Datagram
Zero the read/write pointer as well as the offset and length state variables.
reverse() - Method in class java.lang.StringBuffer
The character sequence contained in this string buffer is replaced by the reverse of the sequence.
run() - Method in interface java.lang.Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
run() - Method in class java.lang.Thread
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
Runnable - Interface in java.lang
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
Runtime - Class in java.lang
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
RuntimeException - Exception in java.lang
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
RuntimeException() - Constructor for exception java.lang.RuntimeException
Constructs a RuntimeException with no detail message.
RuntimeException(String) - Constructor for exception java.lang.RuntimeException
Constructs a RuntimeException with the specified detail message.

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