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

R

random() - Static method in class java.lang.Math
Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.
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.
RandomAccess - Interface in java.util
Marker interface used by List implementations to indicate that they support fast (generally constant time) random access.
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(byte[]) - Method in class java.io.DataInputStream
Reads some number of bytes from the contained input stream and stores them into the buffer array b.
read(byte[], int, int) - Method in class java.io.DataInputStream
Reads up to len bytes of data from the contained input stream into an array of bytes.
read() - Method in class java.io.FilterInputStream
Reads the next byte of data from this input stream.
read(byte[]) - Method in class java.io.FilterInputStream
Reads up to byte.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int) - Method in class java.io.FilterInputStream
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() - Method in class java.io.InputStreamReader
Reads a single character.
read(char[], int, int) - Method in class java.io.InputStreamReader
Reads characters into a portion of an array.
read() - Method in class java.io.Reader
Reads a single character.
read(char[]) - Method in class java.io.Reader
Reads characters into an array.
read(char[], int, int) - Method in class java.io.Reader
Reads characters into a portion of an array.
Readable - Interface in java.lang
This interface is only defined for hierarchy compatibility.
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 two input bytes and returns a 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
Creates a new character-stream reader whose critical sections will synchronize on the reader itself.
Reader(Object) - Constructor for class java.io.Reader
Creates 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 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(DataInput) - Static method in class java.io.DataInputStream
Reads from the stream in a representation of a Unicode character string encoded in modified UTF-8 format; this string of characters is then returned as a String.
readUTF() - Method in class java.io.DataInputStream
See the general contract of the readUTF method of DataInput.
ready() - Method in class java.io.InputStreamReader
Tells whether this stream is ready to be read.
ready() - Method in class java.io.Reader
Tells whether this stream is ready to be read.
Reference<T> - Class in java.lang.ref
Abstract base class for reference objects.
Reference() - Constructor for class java.lang.ref.Reference
 
ReferenceQueue<T> - Class in java.lang.ref
Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.
ReferenceQueue() - Constructor for class java.lang.ref.ReferenceQueue
Constructs a new reference-object queue.
ReflectiveOperationException - Exception in java.lang
Common superclass of exceptions thrown by reflective operations in core reflection.
ReflectiveOperationException() - Constructor for exception java.lang.ReflectiveOperationException
Constructs a new exception with null as its detail message.
ReflectiveOperationException(String) - Constructor for exception java.lang.ReflectiveOperationException
Constructs a new exception with the specified detail message.
ReflectiveOperationException(String, Throwable) - Constructor for exception java.lang.ReflectiveOperationException
Constructs a new exception with the specified detail message and cause.
ReflectiveOperationException(Throwable) - Constructor for exception java.lang.ReflectiveOperationException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
Tests if two string regions are equal.
regionMatches(int, String, int, int) - Method in class java.lang.String
Tests if two string regions are equal.
rehash() - Method in class java.util.Hashtable
Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently.
remove() - Method in class java.lang.ref.ReferenceQueue
Removes the next reference object in this queue, blocking until one becomes available.
remove(long) - Method in class java.lang.ref.ReferenceQueue
Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.
remove(Object) - Method in class java.util.AbstractCollection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove(int) - Method in class java.util.AbstractList
Removes the element at the specified position in this list (optional operation).
remove(Object) - Method in class java.util.AbstractMap
Removes the mapping for a key from this map if it is present (optional operation).
remove(int) - Method in class java.util.ArrayList
Removes the element at the specified position in this list.
remove(Object) - Method in class java.util.ArrayList
Removes the first occurrence of the specified element from this list, if it is present.
remove(Object) - Method in interface java.util.Collection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove(Object) - Method in class java.util.Dictionary
Removes the key (and its corresponding value) from this dictionary.
remove(Object) - Method in class java.util.HashMap
Removes the mapping for the specified key from this map if present.
remove(Object) - Method in class java.util.Hashtable
Removes the key (and its corresponding value) from this hashtable.
remove() - Method in interface java.util.Iterator
Removes from the underlying collection the last element returned by this iterator (optional operation).
remove(int) - Method in interface java.util.List
Removes the element at the specified position in this list (optional operation).
remove(Object) - Method in interface java.util.List
Removes the first occurrence of the specified element from this list, if it is present (optional operation).
remove() - Method in interface java.util.ListIterator
Removes from the list the last element that was returned by ListIterator.next() or ListIterator.previous() (optional operation).
remove(Object) - Method in interface java.util.Map
Removes the mapping for a key from this map if it is present (optional operation).
remove(Object) - Method in interface java.util.Set
Removes the specified element from this set if it is present (optional operation).
remove(int) - Method in class java.util.Vector
Removes the element at the specified position in this Vector.
remove(Object) - Method in class java.util.Vector
Removes the first occurrence of the specified element in this Vector If the Vector does not contain the element, it is unchanged.
remove(Object) - Method in class java.util.WeakHashMap
Removes the mapping for a key from this weak hash map if it is present.
removeAll(Collection<?>) - Method in class java.util.AbstractCollection
Removes all of this collection's elements that are also contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in class java.util.AbstractSet
Removes from this set all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in class java.util.ArrayList
Removes from this list all of its elements that are contained in the specified collection.
removeAll(Collection<?>) - Method in interface java.util.Collection
Removes all of this collection's elements that are also contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in interface java.util.List
Removes from this list all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in interface java.util.Set
Removes from this set all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in class java.util.Vector
Removes from this Vector all of its elements that are contained in the specified Collection.
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 (lowest-indexed) occurrence of the argument from this vector.
removeElementAt(int) - Method in class java.util.Vector
Deletes the component at the specified index.
removeRange(int, int) - Method in class java.util.AbstractList
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
removeRange(int, int) - Method in class java.util.ArrayList
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
removeRange(int, int) - Method in class java.util.Vector
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
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.
replace(CharSequence, CharSequence) - Method in class java.lang.String
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.
replace(int, int, String) - Method in class java.lang.StringBuffer
Replaces the characters in a substring of this sequence with characters in the specified String.
replace(int, int, String) - Method in class java.lang.StringBuilder
Replaces the characters in a substring of this sequence with characters in the specified String.
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.FilterInputStream
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.Reader
Resets the stream.
retainAll(Collection<?>) - Method in class java.util.AbstractCollection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
retainAll(Collection<?>) - Method in class java.util.ArrayList
Retains only the elements in this list that are contained in the specified collection.
retainAll(Collection<?>) - Method in interface java.util.Collection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
retainAll(Collection<?>) - Method in interface java.util.List
Retains only the elements in this list that are contained in the specified collection (optional operation).
retainAll(Collection<?>) - Method in interface java.util.Set
Retains only the elements in this set that are contained in the specified collection (optional operation).
retainAll(Collection<?>) - Method in class java.util.Vector
Retains only the elements in this Vector that are contained in the specified Collection.
Retention - Annotation Type in java.lang.annotation
Indicates how long annotations with the annotated type are to be retained.
RetentionPolicy - Enum in java.lang.annotation
Annotation retention policy.
reverse() - Method in class java.lang.StringBuffer
Causes this character sequence to be replaced by the reverse of the sequence.
reverse() - Method in class java.lang.StringBuilder
Causes this character sequence to be replaced by the reverse of the sequence.
rint(double) - Static method in class java.lang.Math
Returns the double value that is closest in value to the argument and is equal to a mathematical integer.
rotateLeft(int, int) - Static method in class java.lang.Integer
Returns the value obtained by rotating the two's complement binary representation of the specified int value left by the specified number of bits.
rotateLeft(long, int) - Static method in class java.lang.Long
Returns the value obtained by rotating the two's complement binary representation of the specified long value left by the specified number of bits.
rotateRight(int, int) - Static method in class java.lang.Integer
Returns the value obtained by rotating the two's complement binary representation of the specified int value right by the specified number of bits.
rotateRight(long, int) - Static method in class java.lang.Long
Returns the value obtained by rotating the two's complement binary representation of the specified long value right by the specified number of bits.
round(double) - Static method in class java.lang.Math
Returns the closest long to the argument, with ties rounding up.
round(float) - Static method in class java.lang.Math
Returns the closest int to the argument, with ties rounding up.
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.
run() - Method in class java.util.TimerTask
The action to be performed by this timer task.
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 new runtime exception with null as its detail message.
RuntimeException(String) - Constructor for exception java.lang.RuntimeException
Constructs a new runtime exception with the specified detail message.
RuntimeException(String, Throwable) - Constructor for exception java.lang.RuntimeException
Constructs a new runtime exception with the specified detail message and cause.
RuntimeException(Throwable) - Constructor for exception java.lang.RuntimeException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
RuntimePermission - Class in java.lang
This class is for runtime permissions.
RuntimePermission(String) - Constructor for class java.lang.RuntimePermission
Creates a new RuntimePermission with the specified name.
RuntimePermission(String, String) - Constructor for class java.lang.RuntimePermission
Creates a new RuntimePermission object with the specified name.
A B C D E F G H I J K L M N O P R S T U V W Y Z