- abs(int) - Static method in class java.lang.Math
-
Returns the absolute value of an int
value.
- abs(long) - Static method in class java.lang.Math
-
Returns the absolute value of a long
value.
- abs(float) - Static method in class java.lang.Math
-
Returns the absolute value of a float
value.
- abs(double) - Static method in class java.lang.Math
-
Returns the absolute value of a double
value.
- AbstractCollection<E> - Class in java.util
-
This class provides a skeletal implementation of the Collection
interface, to minimize the effort required to implement this interface.
- AbstractCollection() - Constructor for class java.util.AbstractCollection
-
Sole constructor.
- AbstractList<E> - Class in java.util
-
This class provides a skeletal implementation of the
List
interface to minimize the effort required to implement this interface
backed by a "random access" data store (such as an array).
- AbstractList() - Constructor for class java.util.AbstractList
-
Sole constructor.
- AbstractMap<K,V> - Class in java.util
-
This class provides a skeletal implementation of the Map
interface, to minimize the effort required to implement this interface.
- AbstractMap() - Constructor for class java.util.AbstractMap
-
Sole constructor.
- AbstractQueue<E> - Class in java.util
-
This class provides skeletal implementations of some
Queue
operations.
- AbstractQueue() - Constructor for class java.util.AbstractQueue
-
Constructor for use by subclasses.
- AbstractSequentialList<E> - Class in java.util
-
This class provides a skeletal implementation of the List
interface to minimize the effort required to implement this interface
backed by a "sequential access" data store (such as a linked list).
- AbstractSequentialList() - Constructor for class java.util.AbstractSequentialList
-
Sole constructor.
- AbstractSet<E> - Class in java.util
-
This class provides a skeletal implementation of the Set
interface to minimize the effort required to implement this
interface.
- AbstractSet() - Constructor for class java.util.AbstractSet
-
Sole constructor.
- accept(T) - Method in interface java.nio.file.DirectoryStream.Filter
-
Decides if the given directory entry should be accepted or filtered.
- AccessControlException - Exception in java.security
-
This exception is thrown by the AccessController to indicate
that a requested access (to a critical system resource such as the
file system or the network) is denied.
- AccessControlException(String) - Constructor for exception java.security.AccessControlException
-
Constructs an AccessControlException
with the
specified, detailed message.
- AccessControlException(String, Permission) - Constructor for exception java.security.AccessControlException
-
Constructs an AccessControlException
with the
specified, detailed message, and the requested permission that caused
the exception.
- AccessController - Class in java.security
-
The AccessController class is used for access control operations
and decisions.
- acos(double) - Static method in class java.lang.Math
-
Returns the arc cosine of a value; the returned angle is in the
range 0.0 through pi.
- activeCount() - Static method in class java.lang.Thread
-
Returns the number of active threads.
- add(Permission) - Method in class java.security.PermissionCollection
-
Adds a permission object to the current collection of permission objects.
- add(E) - Method in class java.util.AbstractCollection
-
Ensures that this collection contains the specified element (optional
operation).
- add(E) - Method in class java.util.AbstractList
-
Appends the specified element to the end of this list (optional
operation).
- add(int, E) - Method in class java.util.AbstractList
-
Inserts the specified element at the specified position in this list
(optional operation).
- add(E) - Method in class java.util.AbstractQueue
-
Inserts the specified element into this queue if it is possible to do so
immediately without violating capacity restrictions, returning
true upon success and throwing an IllegalStateException
if no space is currently available.
- add(int, E) - Method in class java.util.AbstractSequentialList
-
Inserts the specified element at the specified position in this list
(optional operation).
- add(E) - Method in class java.util.ArrayDeque
-
Inserts the specified element at the end of this deque.
- add(E) - Method in class java.util.ArrayList
-
Appends the specified element to the end of this list.
- add(int, E) - Method in class java.util.ArrayList
-
Inserts the specified element at the specified position in this
list.
- add(int, int) - Method in class java.util.Calendar
-
Adds or subtracts the specified amount of time to the given calendar field,
based on the calendar's rules.
- add(E) - Method in interface java.util.Collection
-
Ensures that this collection contains the specified element (optional
operation).
- add(E) - Method in interface java.util.Deque
-
Inserts the specified element into the queue represented by this deque
(in other words, at the tail of this deque) if it is possible to do so
immediately without violating capacity restrictions, returning
true
upon success and throwing an
IllegalStateException
if no space is currently available.
- add(E) - Method in class java.util.HashSet
-
Adds the specified element to this set if it is not already present.
- add(E) - Method in class java.util.LinkedList
-
Appends the specified element to the end of this list.
- add(int, E) - Method in class java.util.LinkedList
-
Inserts the specified element at the specified position in this list.
- add(E) - Method in interface java.util.List
-
Appends the specified element to the end of this list (optional
operation).
- add(int, E) - Method in interface java.util.List
-
Inserts the specified element at the specified position in this list
(optional operation).
- add(E) - Method in interface java.util.ListIterator
-
Inserts the specified element into the list (optional operation).
- add(E) - Method in interface java.util.Queue
-
Inserts the specified element into this queue if it is possible to do so
immediately without violating capacity restrictions, returning
true
upon success and throwing an IllegalStateException
if no space is currently available.
- add(E) - Method in interface java.util.Set
-
Adds the specified element to this set if it is not already present
(optional operation).
- add(E) - Method in class java.util.Vector
-
Appends the specified element to the end of this Vector.
- add(int, E) - Method in class java.util.Vector
-
Inserts the specified element at the specified position in this Vector.
- addAll(Collection<? extends E>) - Method in class java.util.AbstractCollection
-
Adds all of the elements in the specified collection to this collection
(optional operation).
- addAll(int, Collection<? extends E>) - Method in class java.util.AbstractList
-
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation).
- addAll(Collection<? extends E>) - Method in class java.util.AbstractQueue
-
Adds all of the elements in the specified collection to this
queue.
- addAll(int, Collection<? extends E>) - Method in class java.util.AbstractSequentialList
-
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation).
- addAll(Collection<? extends E>) - Method in class java.util.ArrayList
-
Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the
specified collection's Iterator.
- addAll(int, Collection<? extends E>) - Method in class java.util.ArrayList
-
Inserts all of the elements in the specified collection into this
list, starting at the specified position.
- addAll(Collection<? extends E>) - Method in interface java.util.Collection
-
Adds all of the elements in the specified collection to this collection
(optional operation).
- addAll(Collection<? super T>, T...) - Static method in class java.util.Collections
-
Adds all of the specified elements to the specified collection.
- addAll(Collection<? extends E>) - Method in class java.util.LinkedList
-
Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
collection's iterator.
- addAll(int, Collection<? extends E>) - Method in class java.util.LinkedList
-
Inserts all of the elements in the specified collection into this
list, starting at the specified position.
- addAll(Collection<? extends E>) - Method in interface java.util.List
-
Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
collection's iterator (optional operation).
- addAll(int, Collection<? extends E>) - Method in interface java.util.List
-
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation).
- addAll(Collection<? extends E>) - Method in interface java.util.Set
-
Adds all of the elements in the specified collection to this set if
they're not already present (optional operation).
- addAll(Collection<? extends E>) - Method in class java.util.Vector
-
Appends all of the elements in the specified Collection to the end of
this Vector, in the order that they are returned by the specified
Collection's Iterator.
- addAll(int, Collection<? extends E>) - Method in class java.util.Vector
-
Inserts all of the elements in the specified Collection into this
Vector at the specified position.
- addElement(E) - Method in class java.util.Vector
-
Adds the specified component to the end of this vector,
increasing its size by one.
- addFirst(E) - Method in class java.util.ArrayDeque
-
Inserts the specified element at the front of this deque.
- addFirst(E) - Method in interface java.util.Deque
-
Inserts the specified element at the front of this deque if it is
possible to do so immediately without violating capacity restrictions,
throwing an IllegalStateException
if no space is currently
available.
- addFirst(E) - Method in class java.util.LinkedList
-
Inserts the specified element at the beginning of this list.
- addHandler(Handler) - Method in class java.util.logging.Logger
-
Add a log Handler to receive logging messages.
- addLast(E) - Method in class java.util.ArrayDeque
-
Inserts the specified element at the end of this deque.
- addLast(E) - Method in interface java.util.Deque
-
Inserts the specified element at the end of this deque if it is
possible to do so immediately without violating capacity restrictions,
throwing an IllegalStateException
if no space is currently
available.
- addLast(E) - Method in class java.util.LinkedList
-
Appends the specified element to the end of this list.
- addLogger(Logger) - Method in class java.util.logging.LogManager
-
Add a named logger.
- addSuppressed(Throwable) - Method in class java.lang.Throwable
-
Appends the specified exception to the exceptions that were
suppressed in order to deliver this exception.
- after(Object) - Method in class java.util.Calendar
-
Returns whether this Calendar
represents a time
after the time represented by the specified
Object
.
- ALL - Static variable in class java.util.logging.Level
-
ALL indicates that all messages should be logged.
- allocateDirect(int) - Static method in class java.nio.ByteBuffer
-
Allocates a new direct byte buffer.
- AM - Static variable in class java.util.Calendar
-
Value of the
Calendar.AM_PM
field indicating the
period of the day from midnight to just before noon.
- AM_PM - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating
whether the HOUR
is before or after noon.
- Annotation - Interface in java.lang.annotation
-
The common interface extended by all annotation types.
- annotationType() - Method in interface java.lang.annotation.Annotation
-
Returns the annotation type of this annotation.
- append(CharSequence) - Method in class java.io.PrintStream
-
Appends the specified character sequence to this output stream.
- append(CharSequence, int, int) - Method in class java.io.PrintStream
-
Appends a subsequence of the specified character sequence to this output
stream.
- append(char) - Method in class java.io.PrintStream
-
Appends the specified character to this output stream.
- append(CharSequence) - Method in class java.io.Writer
-
Appends the specified character sequence to this writer.
- append(CharSequence, int, int) - Method in class java.io.Writer
-
Appends a subsequence of the specified character sequence to this writer.
- append(char) - Method in class java.io.Writer
-
Appends the specified character to this writer.
- append(CharSequence) - Method in interface java.lang.Appendable
-
Appends the specified character sequence to this Appendable.
- append(CharSequence, int, int) - Method in interface java.lang.Appendable
-
Appends a subsequence of the specified character sequence to this
Appendable.
- append(char) - Method in interface java.lang.Appendable
-
Appends the specified character to this Appendable.
- append(Object) - Method in class java.lang.StringBuffer
-
- append(String) - Method in class java.lang.StringBuffer
-
- append(StringBuffer) - Method in class java.lang.StringBuffer
-
Appends the specified StringBuffer
to this sequence.
- append(CharSequence) - Method in class java.lang.StringBuffer
-
Appends the specified CharSequence
to this
sequence.
- append(CharSequence, int, int) - Method in class java.lang.StringBuffer
-
- append(char[]) - Method in class java.lang.StringBuffer
-
- append(char[], int, int) - 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
-
- append(Object) - Method in class java.lang.StringBuilder
-
- append(String) - Method in class java.lang.StringBuilder
-
- append(StringBuffer) - Method in class java.lang.StringBuilder
-
Appends the specified StringBuffer
to this sequence.
- append(CharSequence) - Method in class java.lang.StringBuilder
-
- append(CharSequence, int, int) - Method in class java.lang.StringBuilder
-
- append(char[]) - Method in class java.lang.StringBuilder
-
- append(char[], int, int) - Method in class java.lang.StringBuilder
-
- append(boolean) - Method in class java.lang.StringBuilder
-
- append(char) - Method in class java.lang.StringBuilder
-
- append(int) - Method in class java.lang.StringBuilder
-
- append(long) - Method in class java.lang.StringBuilder
-
- append(float) - Method in class java.lang.StringBuilder
-
- append(double) - Method in class java.lang.StringBuilder
-
- Appendable - Interface in java.lang
-
An object to which char sequences and values can be appended.
- APRIL - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
fourth month of the year in the Gregorian and Julian calendars.
- areFieldsSet - Variable in class java.util.Calendar
-
True if fields[]
are in sync with the currently set time.
- ArithmeticException - Exception in java.lang
-
Thrown when an exceptional arithmetic condition has occurred.
- ArithmeticException() - Constructor for exception java.lang.ArithmeticException
-
Constructs an ArithmeticException
with no detail
message.
- ArithmeticException(String) - Constructor for exception java.lang.ArithmeticException
-
Constructs an ArithmeticException
with the specified
detail message.
- array() - Method in class java.nio.ByteBuffer
-
Returns the byte array that backs this
buffer (optional operation).
- array() - Method in class java.nio.FloatBuffer
-
Returns the float array that backs this
buffer (optional operation).
- array() - Method in class java.nio.IntBuffer
-
Returns the int array that backs this
buffer (optional operation).
- array() - Method in class java.nio.ShortBuffer
-
Returns the short array that backs this
buffer (optional operation).
- arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
-
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
- ArrayDeque<E> - Class in java.util
-
Resizable-array implementation of the
Deque
interface.
- ArrayDeque() - Constructor for class java.util.ArrayDeque
-
Constructs an empty array deque with an initial capacity
sufficient to hold 16 elements.
- ArrayDeque(int) - Constructor for class java.util.ArrayDeque
-
Constructs an empty array deque with an initial capacity
sufficient to hold the specified number of elements.
- ArrayDeque(Collection<? extends E>) - Constructor for class java.util.ArrayDeque
-
Constructs a deque containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.
- ArrayIndexOutOfBoundsException - Exception in java.lang
-
Thrown to indicate that an array has been accessed with an
illegal index.
- ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
-
Constructs an ArrayIndexOutOfBoundsException
with no
detail message.
- ArrayIndexOutOfBoundsException(int) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
-
Constructs a new ArrayIndexOutOfBoundsException
class with an argument indicating the illegal index.
- ArrayIndexOutOfBoundsException(String) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
-
Constructs an ArrayIndexOutOfBoundsException
class
with the specified detail message.
- ArrayList<E> - Class in java.util
-
Resizable-array implementation of the List interface.
- ArrayList(int) - Constructor for class java.util.ArrayList
-
Constructs an empty list with the specified initial capacity.
- ArrayList() - Constructor for class java.util.ArrayList
-
Constructs an empty list with an initial capacity of ten.
- ArrayList(Collection<? extends E>) - Constructor for class java.util.ArrayList
-
Constructs a list containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.
- arrayOffset() - Method in class java.nio.ByteBuffer
-
Returns the offset within this buffer's backing array of the first
element of the buffer (optional operation).
- arrayOffset() - Method in class java.nio.FloatBuffer
-
Returns the offset within this buffer's backing array of the first
element of the buffer (optional operation).
- arrayOffset() - Method in class java.nio.IntBuffer
-
Returns the offset within this buffer's backing array of the first
element of the buffer (optional operation).
- arrayOffset() - Method in class java.nio.ShortBuffer
-
Returns the offset within this buffer's backing array of the first
element of the buffer (optional operation).
- Arrays - Class in java.util
-
This class contains various methods for manipulating arrays (such as
sorting and searching).
- ArrayStoreException - Exception in java.lang
-
Thrown to indicate that an attempt has been made to store the
wrong type of object into an array of objects.
- ArrayStoreException() - Constructor for exception java.lang.ArrayStoreException
-
Constructs an ArrayStoreException
with no detail message.
- ArrayStoreException(String) - Constructor for exception java.lang.ArrayStoreException
-
Constructs an ArrayStoreException
with the specified
detail message.
- asFloatBuffer() - Method in class java.nio.ByteBuffer
-
Creates a view of this byte buffer as a float buffer.
- asin(double) - Static method in class java.lang.Math
-
Returns the arc sine of a value; the returned angle is in the
range -pi/2 through pi/2.
- asIntBuffer() - Method in class java.nio.ByteBuffer
-
Creates a view of this byte buffer as an int buffer.
- asList(T...) - Static method in class java.util.Arrays
-
Returns a fixed-size list backed by the specified array.
- AssertionError - Error in java.lang
-
Thrown to indicate that an assertion has failed.
- AssertionError() - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with no detail message.
- AssertionError(Object) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified object, which is converted to a string as
defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(boolean) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified boolean
, which is converted to
a string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(char) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified char
, which is converted to a
string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(int) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified int
, which is converted to a
string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(long) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified long
, which is converted to a
string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(float) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified float
, which is converted to a
string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- AssertionError(double) - Constructor for error java.lang.AssertionError
-
Constructs an AssertionError with its detail message derived
from the specified double
, which is converted to a
string as defined in section 15.18.1.1 of
The Java™ Language Specification.
- asShortBuffer() - Method in class java.nio.ByteBuffer
-
Creates a view of this byte buffer as a short buffer.
- asSubclass(Class<U>) - Method in class java.lang.Class
-
Casts this Class
object to represent a subclass of the class
represented by the specified class object.
- AsynchronousCloseException - Exception in java.nio.channels
-
Checked exception received by a thread when another thread closes the
channel or the part of the channel upon which it is blocked in an I/O
operation.
- AsynchronousCloseException() - Constructor for exception java.nio.channels.AsynchronousCloseException
-
Constructs an instance of this class.
- atan(double) - Static method in class java.lang.Math
-
Returns the arc tangent of a value; the returned angle is in the
range -pi/2 through pi/2.
- atan2(double, double) - Static method in class java.lang.Math
-
Returns the angle theta from the conversion of rectangular
coordinates (x
, y
) to polar
coordinates (r, theta).
- AtomicMoveNotSupportedException - Exception in java.nio.file
-
Checked exception thrown when a file cannot be moved as an atomic file system
operation.
- AtomicMoveNotSupportedException(String, String, String) - Constructor for exception java.nio.file.AtomicMoveNotSupportedException
-
Constructs an instance of this class.
- AUGUST - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
eighth month of the year in the Gregorian and Julian calendars.
- AutoCloseable - Interface in java.lang
-
An object that may hold resources (such as file or socket handles)
until it is closed.
- available() - Method in class java.io.ByteArrayInputStream
-
Returns the number of remaining bytes that can be read (or skipped over)
from this input stream.
- available() - Method in class java.io.DataInputStream
-
Returns an estimate of 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 java.io.InputStream
-
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
- BasicFileAttributes - Interface in java.nio.file.attribute
-
Basic attributes associated with a file in a file system.
- BasicPermission - Class in java.security
-
The BasicPermission class extends the Permission class, and
can be used as the base class for permissions that want to
follow the same naming convention as BasicPermission.
- BasicPermission(String) - Constructor for class java.security.BasicPermission
-
Creates a new BasicPermission with the specified name.
- BasicPermission(String, String) - Constructor for class java.security.BasicPermission
-
Creates a new BasicPermission object with the specified name.
- before(Object) - Method in class java.util.Calendar
-
Returns whether this Calendar
represents a time
before the time represented by the specified
Object
.
- BIG_ENDIAN - Static variable in class java.nio.ByteOrder
-
Constant denoting big-endian byte order.
- binarySearch(long[], long) - Static method in class java.util.Arrays
-
Searches the specified array of longs for the specified value using the
binary search algorithm.
- binarySearch(long[], int, int, long) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of longs for the specified value using the
binary search algorithm.
- binarySearch(int[], int) - Static method in class java.util.Arrays
-
Searches the specified array of ints for the specified value using the
binary search algorithm.
- binarySearch(int[], int, int, int) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of ints for the specified value using the
binary search algorithm.
- binarySearch(short[], short) - Static method in class java.util.Arrays
-
Searches the specified array of shorts for the specified value using
the binary search algorithm.
- binarySearch(short[], int, int, short) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of shorts for the specified value using
the binary search algorithm.
- binarySearch(char[], char) - Static method in class java.util.Arrays
-
Searches the specified array of chars for the specified value using the
binary search algorithm.
- binarySearch(char[], int, int, char) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of chars for the specified value using the
binary search algorithm.
- binarySearch(byte[], byte) - Static method in class java.util.Arrays
-
Searches the specified array of bytes for the specified value using the
binary search algorithm.
- binarySearch(byte[], int, int, byte) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of bytes for the specified value using the
binary search algorithm.
- binarySearch(double[], double) - Static method in class java.util.Arrays
-
Searches the specified array of doubles for the specified value using
the binary search algorithm.
- binarySearch(double[], int, int, double) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of doubles for the specified value using
the binary search algorithm.
- binarySearch(float[], float) - Static method in class java.util.Arrays
-
Searches the specified array of floats for the specified value using
the binary search algorithm.
- binarySearch(float[], int, int, float) - Static method in class java.util.Arrays
-
Searches a range of
the specified array of floats for the specified value using
the binary search algorithm.
- binarySearch(Object[], Object) - Static method in class java.util.Arrays
-
Searches the specified array for the specified object using the binary
search algorithm.
- binarySearch(Object[], int, int, Object) - Static method in class java.util.Arrays
-
Searches a range of
the specified array for the specified object using the binary
search algorithm.
- binarySearch(T[], T, Comparator<? super T>) - Static method in class java.util.Arrays
-
Searches the specified array for the specified object using the binary
search algorithm.
- binarySearch(T[], int, int, T, Comparator<? super T>) - Static method in class java.util.Arrays
-
Searches a range of
the specified array for the specified object using the binary
search algorithm.
- binarySearch(List<? extends Comparable<? super T>>, T) - Static method in class java.util.Collections
-
Searches the specified list for the specified object using the binary
search algorithm.
- binarySearch(List<? extends T>, T, Comparator<? super T>) - Static method in class java.util.Collections
-
Searches the specified list for the specified object using the binary
search algorithm.
- BindException - Exception in java.net
-
Signals that an error occurred while attempting to bind a
socket to a local address and port.
- BindException(String) - Constructor for exception java.net.BindException
-
Constructs a new BindException with the specified detail
message as to why the bind error occurred.
- BindException() - Constructor for exception java.net.BindException
-
Construct a new BindException with no detailed message.
- bitCount(int) - Static method in class java.lang.Integer
-
Returns the number of one-bits in the two's complement binary
representation of the specified int
value.
- bitCount(long) - Static method in class java.lang.Long
-
Returns the number of one-bits in the two's complement binary
representation of the specified long
value.
- Boolean - Class in java.lang
-
The Boolean class wraps a value of the primitive type
boolean
in an object.
- Boolean(boolean) - Constructor for class java.lang.Boolean
-
Allocates a Boolean
object representing the
value
argument.
- Boolean(String) - Constructor for class java.lang.Boolean
-
Allocates a Boolean
object representing the value
true
if the string argument is not null
and is equal, ignoring case, to the string "true"
.
- booleanValue() - Method in class java.lang.Boolean
-
Returns the value of this Boolean
object as a boolean
primitive.
- buf - Variable in class java.io.ByteArrayInputStream
-
An array of bytes that was provided
by the creator of the stream.
- buf - Variable in class java.io.ByteArrayOutputStream
-
The buffer where data is stored.
- Buffer - Class in java.nio
-
A container for data of a specific primitive type.
- BufferedReader - Class in java.io
-
Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
- BufferedReader(Reader, int) - Constructor for class java.io.BufferedReader
-
Creates a buffering character-input stream that uses an input buffer of
the specified size.
- BufferedReader(Reader) - Constructor for class java.io.BufferedReader
-
Creates a buffering character-input stream that uses a default-sized
input buffer.
- BufferedWriter - Class in java.io
-
Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
- BufferedWriter(Writer) - Constructor for class java.io.BufferedWriter
-
Creates a buffered character-output stream that uses a default-sized
output buffer.
- BufferedWriter(Writer, int) - Constructor for class java.io.BufferedWriter
-
Creates a new buffered character-output stream that uses an output
buffer of the given size.
- BufferOverflowException - Exception in java.nio
-
Unchecked exception thrown when a relative put operation reaches
the target buffer's limit.
- BufferOverflowException() - Constructor for exception java.nio.BufferOverflowException
-
Constructs an instance of this class.
- BufferUnderflowException - Exception in java.nio
-
Unchecked exception thrown when a relative get operation reaches
the source buffer's limit.
- BufferUnderflowException() - Constructor for exception java.nio.BufferUnderflowException
-
Constructs an instance of this class.
- Byte - Class in java.lang
-
The Byte
class wraps a value of primitive type byte
in an object.
- Byte(byte) - Constructor for class java.lang.Byte
-
Constructs a newly allocated Byte
object that
represents the specified byte
value.
- Byte(String) - Constructor for class java.lang.Byte
-
Constructs a newly allocated Byte
object that
represents the byte
value indicated by the
String
parameter.
- ByteArrayInputStream - Class in java.io
-
A ByteArrayInputStream
contains
an internal buffer that contains bytes that
may be read from the stream.
- ByteArrayInputStream(byte[]) - Constructor for class java.io.ByteArrayInputStream
-
Creates a ByteArrayInputStream
so that it uses buf
as its
buffer array.
- ByteArrayInputStream(byte[], int, int) - Constructor for class java.io.ByteArrayInputStream
-
Creates ByteArrayInputStream
that uses buf
as its
buffer array.
- ByteArrayOutputStream - Class in java.io
-
This class implements an output stream in which the data is
written into a byte array.
- ByteArrayOutputStream() - Constructor for class java.io.ByteArrayOutputStream
-
Creates a new byte array output stream.
- ByteArrayOutputStream(int) - Constructor for class java.io.ByteArrayOutputStream
-
Creates a new byte array output stream, with a buffer capacity of
the specified size, in bytes.
- ByteBuffer - Class in java.nio
-
A byte buffer.
- ByteChannel - Interface in java.nio.channels
-
A channel that can read and write bytes.
- ByteOrder - Class in java.nio
-
A typesafe enumeration for byte orders.
- bytesTransferred - Variable in exception java.io.InterruptedIOException
-
Reports how many bytes had been transferred as part of the I/O
operation before it was interrupted.
- byteValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a
byte
.
- byteValue() - Method in class java.lang.Double
-
Returns the value of this Double
as a byte
after a narrowing primitive conversion.
- byteValue() - Method in class java.lang.Float
-
Returns the value of this Float
as a byte
after
a narrowing primitive conversion.
- byteValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a byte
after a narrowing primitive conversion.
- byteValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a byte
after
a narrowing primitive conversion.
- byteValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a byte
,
which may involve rounding or truncation.
- byteValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a byte
after
a narrowing primitive conversion.
- Calendar - Class in java.util
-
The
Calendar
class is an abstract class that provides methods
for converting between a specific instant in time and a set of
calendar fields
such as
YEAR
,
MONTH
,
DAY_OF_MONTH
,
HOUR
, and so on, and for
manipulating the calendar fields, such as getting the date of the next
week.
- Calendar() - Constructor for class java.util.Calendar
-
Constructs a Calendar with the default time zone
and locale.
- cancel() - Method in class java.util.Timer
-
Terminates this timer, discarding any currently scheduled tasks.
- cancel() - Method in class java.util.TimerTask
-
Cancels this timer task.
- capacity() - Method in class java.lang.StringBuffer
-
- capacity() - Method in class java.nio.Buffer
-
Returns this buffer's capacity.
- capacity() - Method in class java.util.Vector
-
Returns the current capacity of this vector.
- capacityIncrement - Variable in class java.util.Vector
-
The amount by which the capacity of the vector is automatically
incremented when its size becomes greater than its capacity.
- cast(Object) - Method in class java.lang.Class
-
Casts an object to the class or interface represented
by this Class
object.
- ceil(double) - Static method in class java.lang.Math
-
Returns the smallest (closest to negative infinity)
double
value that is greater than or equal to the
argument and is equal to a mathematical integer.
- Channel - Interface in java.nio.channels
-
A nexus for I/O operations.
- Channels - Class in java.nio.channels
-
Utility methods for channels and streams.
- Character - Class in java.lang
-
The Character
class wraps a value of the primitive
type char
in an object.
- Character(char) - Constructor for class java.lang.Character
-
Constructs a newly allocated Character
object that
represents the specified char
value.
- charAt(int) - Method in interface java.lang.CharSequence
-
Returns the char
value at the specified index.
- charAt(int) - Method in class java.lang.String
-
Returns the char
value at the
specified index.
- charAt(int) - Method in class java.lang.StringBuffer
-
- CharSequence - Interface in java.lang
-
A CharSequence is a readable sequence of char
values.
- charValue() - Method in class java.lang.Character
-
Returns the value of this Character
object.
- checkAccept(String, int) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not permitted to accept a socket connection from
the specified host and port number.
- checkAccess(Thread) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to modify the thread argument.
- checkAccess() - Method in class java.lang.Thread
-
Determines if the currently running thread has permission to
modify this thread.
- checkAccess() - Method in class java.util.logging.LogManager
-
Check that the current context is trusted to modify the logging
configuration.
- checkConnect(String, int) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to open a socket connection to the
specified host and port number.
- checkDelete(String) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to delete the specified file.
- checkError() - Method in class java.io.PrintStream
-
Flushes the stream and checks its error state.
- checkExit(int) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to cause the Java Virtual Machine to
halt with the specified status code.
- checkListen(int) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to wait for a connection request on
the specified local port number.
- checkPermission(Permission) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the requested
access, specified by the given permission, is not permitted based
on the security policy currently in effect.
- checkPermission(Permission) - Static method in class java.security.AccessController
-
Determines whether the access request indicated by the
specified permission should be allowed or denied, based on
the security policy.
- checkPropertyAccess(String) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to access the system property with
the specified key
name.
- checkRead(String) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to read the file specified by the
string argument.
- checkWrite(String) - Method in class java.lang.SecurityManager
-
Throws a SecurityException
if the
calling thread is not allowed to write to the file specified by
the string argument.
- Class<T> - Class in java.lang
-
Instances of the class Class
represent classes and
interfaces in a running Java application.
- ClassCastException - Exception in java.lang
-
Thrown to indicate that the code has attempted to cast an object
to a subclass of which it is not an instance.
- ClassCastException() - Constructor for exception java.lang.ClassCastException
-
Constructs a ClassCastException
with no detail message.
- ClassCastException(String) - Constructor for exception java.lang.ClassCastException
-
Constructs a ClassCastException
with the specified
detail message.
- ClassFormatError - Error in java.lang
-
Thrown when the Java Virtual Machine attempts to read a class
file and determines that the file is malformed or otherwise cannot
be interpreted as a class file.
- ClassFormatError() - Constructor for error java.lang.ClassFormatError
-
Constructs a ClassFormatError
with no detail message.
- ClassFormatError(String) - Constructor for error java.lang.ClassFormatError
-
Constructs a ClassFormatError
with the specified
detail message.
- ClassNotFoundException - Exception in java.lang
-
Thrown when an application tries to load in a class through its
string name using:
The forName
method in class Class
.
- ClassNotFoundException() - Constructor for exception java.lang.ClassNotFoundException
-
Constructs a ClassNotFoundException
with no detail message.
- ClassNotFoundException(String) - Constructor for exception java.lang.ClassNotFoundException
-
Constructs a ClassNotFoundException
with the
specified detail message.
- ClassNotFoundException(String, Throwable) - Constructor for exception java.lang.ClassNotFoundException
-
Constructs a ClassNotFoundException
with the
specified detail message and optional exception that was
raised while loading the class.
- clear() - Method in class java.lang.ref.Reference
-
Clears this reference object.
- clear() - Method in class java.nio.Buffer
-
Clears this buffer.
- clear() - Method in class java.util.AbstractCollection
-
Removes all of the elements from this collection (optional operation).
- clear() - Method in class java.util.AbstractList
-
Removes all of the elements from this list (optional operation).
- clear() - Method in class java.util.AbstractMap
-
Removes all of the mappings from this map (optional operation).
- clear() - Method in class java.util.AbstractQueue
-
Removes all of the elements from this queue.
- clear() - Method in class java.util.ArrayDeque
-
Removes all of the elements from this deque.
- clear() - Method in class java.util.ArrayList
-
Removes all of the elements from this list.
- clear() - Method in class java.util.Calendar
-
Sets all the calendar field values and the time value
(millisecond offset from the
Epoch) of
this
Calendar
undefined.
- clear(int) - Method in class java.util.Calendar
-
Sets the given calendar field value and the time value
(millisecond offset from the
Epoch) of
this
Calendar
undefined.
- clear() - Method in interface java.util.Collection
-
Removes all of the elements from this collection (optional operation).
- clear() - Method in class java.util.HashMap
-
Removes all of the mappings from this map.
- clear() - Method in class java.util.HashSet
-
Removes all of the elements from this set.
- clear() - Method in class java.util.Hashtable
-
Clears this hashtable so that it contains no keys.
- clear() - Method in class java.util.LinkedHashMap
-
Removes all of the mappings from this map.
- clear() - Method in class java.util.LinkedList
-
Removes all of the elements from this list.
- clear() - Method in interface java.util.List
-
Removes all of the elements from this list (optional operation).
- clear() - Method in interface java.util.Map
-
Removes all of the mappings from this map (optional operation).
- clear() - Method in interface java.util.Set
-
Removes all of the elements from this set (optional operation).
- clear() - Method in class java.util.Vector
-
Removes all of the elements from this Vector.
- clear() - Method in class java.util.WeakHashMap
-
Removes all of the mappings from this map.
- clearError() - Method in class java.io.PrintStream
-
Clears the internal error state of this stream.
- clone() - Method in class java.lang.Enum
-
Throws CloneNotSupportedException.
- clone() - Method in class java.lang.Object
-
Creates and returns a copy of this object.
- clone() - Method in class java.util.AbstractMap
-
Returns a shallow copy of this AbstractMap instance: the keys
and values themselves are not cloned.
- clone() - Method in class java.util.ArrayDeque
-
Returns a copy of this deque.
- clone() - Method in class java.util.ArrayList
-
Returns a shallow copy of this ArrayList instance.
- clone() - Method in class java.util.Calendar
-
Creates and returns a copy of this object.
- clone() - Method in class java.util.Date
-
Return a copy of this object.
- clone() - Method in class java.util.HashMap
-
Returns a shallow copy of this HashMap instance: the keys and
values themselves are not cloned.
- clone() - Method in class java.util.HashSet
-
Returns a shallow copy of this HashSet instance: the elements
themselves are not cloned.
- clone() - Method in class java.util.Hashtable
-
Creates a shallow copy of this hashtable.
- clone() - Method in class java.util.LinkedList
-
Returns a shallow copy of this LinkedList
.
- clone() - Method in class java.util.TimeZone
-
Creates a copy of this TimeZone
.
- clone() - Method in class java.util.Vector
-
Returns a clone of this vector.
- Cloneable - Interface in java.lang
-
A class implements the
Cloneable
interface to
indicate to the
Object.clone()
method that it
is legal for that method to make a
field-for-field copy of instances of that class.
- CloneNotSupportedException - Exception in java.lang
-
Thrown to indicate that the clone
method in class
Object
has been called to clone an object, but that
the object's class does not implement the Cloneable
interface.
- CloneNotSupportedException() - Constructor for exception java.lang.CloneNotSupportedException
-
Constructs a CloneNotSupportedException
with no
detail message.
- CloneNotSupportedException(String) - Constructor for exception java.lang.CloneNotSupportedException
-
Constructs a CloneNotSupportedException
with the
specified detail message.
- close() - Method in class java.io.BufferedReader
-
- close() - Method in class java.io.BufferedWriter
-
- close() - Method in class java.io.ByteArrayInputStream
-
Closing a ByteArrayInputStream has no effect.
- close() - Method in class java.io.ByteArrayOutputStream
-
Closing a ByteArrayOutputStream has no effect.
- close() - Method in interface java.io.Closeable
-
Closes this stream and releases any system resources associated
with it.
- close() - Method in class java.io.DataInputStream
-
Closes this input stream and releases any system resources
associated with the stream.
- close() - Method in class java.io.DataOutputStream
-
Closes this output stream and releases any system resources
associated with the stream.
- 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.InputStreamReader
-
- close() - Method in class java.io.OutputStream
-
Closes this output stream and releases any system resources
associated with this stream.
- close() - Method in class java.io.OutputStreamWriter
-
- close() - Method in class java.io.PrintStream
-
Closes the stream.
- close() - Method in class java.io.Reader
-
Closes the stream and releases any system resources associated with
it.
- close() - Method in class java.io.Writer
-
Closes the stream, flushing it first.
- close() - Method in interface java.lang.AutoCloseable
-
Closes this resource, relinquishing any underlying resources.
- close() - Method in interface java.nio.channels.Channel
-
Closes this channel.
- close() - Method in class java.nio.channels.FileChannel
-
- close() - Method in class java.nio.file.FileSystem
-
Closes this file system.
- close() - Method in class java.util.Formatter
-
Closes this formatter.
- close() - Method in class java.util.logging.ConsoleHandler
-
Override StreamHandler.close to do a flush but not
to close the output stream.
- close() - Method in class java.util.logging.Handler
-
Close the Handler and free all associated resources.
- close() - Method in class java.util.logging.StreamHandler
-
Close the current output stream.
- Closeable - Interface in java.io
-
A Closeable
is a source or destination of data that can be closed.
- ClosedByInterruptException - Exception in java.nio.channels
-
Checked exception received by a thread when another thread interrupts it
while it is blocked in an I/O operation upon a channel.
- ClosedByInterruptException() - Constructor for exception java.nio.channels.ClosedByInterruptException
-
Constructs an instance of this class.
- ClosedChannelException - Exception in java.nio.channels
-
Checked exception thrown when an attempt is made to invoke or complete an
I/O operation upon channel that is closed, or at least closed to that
operation.
- ClosedChannelException() - Constructor for exception java.nio.channels.ClosedChannelException
-
Constructs an instance of this class.
- ClosedFileSystemException - Exception in java.nio.file
-
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed.
- ClosedFileSystemException() - Constructor for exception java.nio.file.ClosedFileSystemException
-
Constructs an instance of this class.
- Collection<E> - Interface in java.util
-
The root interface in the collection hierarchy.
- Collections - Class in java.util
-
This class consists exclusively of static methods that operate on or return
collections.
- Comparable<T> - Interface in java.lang
-
This interface imposes a total ordering on the objects of each class that
implements it.
- Comparator<T> - Interface in java.util
-
A comparison function, which imposes a total ordering on some
collection of objects.
- compare(double, double) - Static method in class java.lang.Double
-
Compares the two specified double
values.
- compare(float, float) - Static method in class java.lang.Float
-
Compares the two specified float
values.
- compare(T, T) - Method in interface java.util.Comparator
-
Compares its two arguments for order.
- compare(T, T, Comparator<? super T>) - Static method in class java.util.Objects
-
Returns 0 if the arguments are identical and c.compare(a, b)
otherwise.
- compareTo(Boolean) - Method in class java.lang.Boolean
-
Compares this Boolean
instance with another.
- compareTo(Byte) - Method in class java.lang.Byte
-
Compares two Byte
objects numerically.
- compareTo(Character) - Method in class java.lang.Character
-
Compares two Character
objects numerically.
- compareTo(T) - Method in interface java.lang.Comparable
-
Compares this object with the specified object for order.
- compareTo(Double) - Method in class java.lang.Double
-
Compares two Double
objects numerically.
- compareTo(E) - Method in class java.lang.Enum
-
Compares this enum with the specified object for order.
- compareTo(Float) - Method in class java.lang.Float
-
Compares two Float
objects numerically.
- compareTo(Integer) - Method in class java.lang.Integer
-
Compares two Integer
objects numerically.
- compareTo(Long) - Method in class java.lang.Long
-
Compares two Long
objects numerically.
- compareTo(Short) - Method in class java.lang.Short
-
Compares two Short
objects numerically.
- compareTo(String) - Method in class java.lang.String
-
Compares two strings lexicographically.
- compareTo(ByteBuffer) - Method in class java.nio.ByteBuffer
-
Compares this buffer to another.
- compareTo(FileTime) - Method in class java.nio.file.attribute.FileTime
-
Compares the value of two FileTime
objects for order.
- compareTo(Path) - Method in interface java.nio.file.Path
-
Compares two abstract paths lexicographically.
- compareTo(FloatBuffer) - Method in class java.nio.FloatBuffer
-
Compares this buffer to another.
- compareTo(IntBuffer) - Method in class java.nio.IntBuffer
-
Compares this buffer to another.
- compareTo(ShortBuffer) - Method in class java.nio.ShortBuffer
-
Compares this buffer to another.
- compareTo(Calendar) - Method in class java.util.Calendar
-
Compares the time values (millisecond offsets from the
Epoch) represented by two
Calendar
objects.
- compareTo(Date) - Method in class java.util.Date
-
Compares two Dates for ordering.
- compareToIgnoreCase(String) - Method in class java.lang.String
-
Compares two strings lexicographically, ignoring case
differences.
- complete() - Method in class java.util.Calendar
-
Fills in any unset fields in the calendar fields.
- computeFields() - Method in class java.util.Calendar
-
- computeTime() - Method in class java.util.Calendar
-
- concat(String) - Method in class java.lang.String
-
Concatenates the specified string to the end of this string.
- ConcurrentModificationException - Exception in java.util
-
This exception may be thrown by methods that have detected concurrent
modification of an object when such modification is not permissible.
- ConcurrentModificationException() - Constructor for exception java.util.ConcurrentModificationException
-
Constructs a ConcurrentModificationException with no
detail message.
- ConcurrentModificationException(String) - Constructor for exception java.util.ConcurrentModificationException
-
Constructs a ConcurrentModificationException
with the
specified detail message.
- CONFIG - Static variable in class java.util.logging.Level
-
CONFIG is a message level for static configuration messages.
- ConnectException - Exception in java.net
-
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
- ConnectException(String) - Constructor for exception java.net.ConnectException
-
Constructs a new ConnectException with the specified detail
message as to why the connect error occurred.
- ConnectException() - Constructor for exception java.net.ConnectException
-
Construct a new ConnectException with no detailed message.
- ConsoleHandler - Class in java.util.logging
-
This Handler publishes log records to System.err.
- ConsoleHandler() - Constructor for class java.util.logging.ConsoleHandler
-
Create a ConsoleHandler for System.err.
- contains(CharSequence) - Method in class java.lang.String
-
Returns true if and only if this string contains the specified
sequence of char values.
- contains(Object) - Method in class java.util.AbstractCollection
-
Returns true if this collection contains the specified element.
- contains(Object) - Method in class java.util.ArrayDeque
-
Returns true
if this deque contains the specified element.
- contains(Object) - Method in class java.util.ArrayList
-
Returns true if this list contains the specified element.
- contains(Object) - Method in interface java.util.Collection
-
Returns true if this collection contains the specified element.
- contains(Object) - Method in interface java.util.Deque
-
Returns true
if this deque contains the specified element.
- contains(Object) - Method in class java.util.HashSet
-
Returns true if this set contains the specified element.
- contains(Object) - Method in class java.util.Hashtable
-
Tests if some key maps into the specified value in this hashtable.
- contains(Object) - Method in class java.util.LinkedList
-
Returns true
if this list contains the specified element.
- contains(Object) - Method in interface java.util.List
-
Returns true if this list contains the specified element.
- contains(Object) - Method in interface java.util.Set
-
Returns true if this set contains the specified element.
- contains(Object) - Method in class java.util.Vector
-
Returns true
if this vector contains the specified element.
- containsAll(Collection<?>) - Method in class java.util.AbstractCollection
-
Returns true if this collection contains all of the elements
in the specified collection.
- containsAll(Collection<?>) - Method in interface java.util.Collection
-
Returns true if this collection contains all of the elements
in the specified collection.
- containsAll(Collection<?>) - Method in interface java.util.List
-
Returns true if this list contains all of the elements of the
specified collection.
- containsAll(Collection<?>) - Method in interface java.util.Set
-
Returns true if this set contains all of the elements of the
specified collection.
- containsAll(Collection<?>) - Method in class java.util.Vector
-
Returns true if this Vector contains all of the elements in the
specified Collection.
- containsKey(Object) - Method in class java.util.AbstractMap
-
Returns true if this map contains a mapping for the specified
key.
- containsKey(Object) - Method in class java.util.HashMap
-
Returns true if this map contains a mapping for the
specified key.
- containsKey(Object) - Method in class java.util.Hashtable
-
Tests if the specified object is a key in this hashtable.
- containsKey(Object) - Method in interface java.util.Map
-
Returns true if this map contains a mapping for the specified
key.
- containsKey(Object) - Method in class java.util.WeakHashMap
-
Returns true if this map contains a mapping for the
specified key.
- containsValue(Object) - Method in class java.util.AbstractMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(Object) - Method in class java.util.HashMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(Object) - Method in class java.util.Hashtable
-
Returns true if this hashtable maps one or more keys to this value.
- containsValue(Object) - Method in class java.util.LinkedHashMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(Object) - Method in interface java.util.Map
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(Object) - Method in class java.util.WeakHashMap
-
Returns true if this map maps one or more keys to the
specified value.
- contentEquals(StringBuffer) - Method in class java.lang.String
-
Compares this string to the specified StringBuffer
.
- contentEquals(CharSequence) - Method in class java.lang.String
-
Compares this string to the specified CharSequence
.
- copy(Path, Path, CopyOption...) - Static method in class java.nio.file.Files
-
Copy a file to a target file.
- copy(List<? super T>, List<? extends T>) - Static method in class java.util.Collections
-
Copies all of the elements from one list into another.
- copyInto(Object[]) - Method in class java.util.Vector
-
Copies the components of this vector into the specified array.
- copyOf(T[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
- copyOf(U[], int, Class<? extends T[]>) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
- copyOf(byte[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(short[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(int[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(long[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(char[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with null characters (if necessary)
so the copy has the specified length.
- copyOf(float[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(double[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
- copyOf(boolean[], int) - Static method in class java.util.Arrays
-
Copies the specified array, truncating or padding with false (if necessary)
so the copy has the specified length.
- CopyOption - Interface in java.nio.file
-
An object that configures how to copy or move a file.
- copySign(double, double) - Static method in class java.lang.Math
-
Returns the first floating-point argument with the sign of the
second floating-point argument.
- copySign(float, float) - Static method in class java.lang.Math
-
Returns the first floating-point argument with the sign of the
second floating-point argument.
- copyValueOf(char[], int, int) - Static method in class java.lang.String
-
Returns a String that represents the character sequence in the
array specified.
- copyValueOf(char[]) - Static method in class java.lang.String
-
Returns a String that represents the character sequence in the
array specified.
- cos(double) - Static method in class java.lang.Math
-
Returns the trigonometric cosine of an angle.
- count - Variable in class java.io.ByteArrayInputStream
-
The index one greater than the last valid character in the input
stream buffer.
- count - Variable in class java.io.ByteArrayOutputStream
-
The number of valid bytes in the buffer.
- countTokens() - Method in class java.util.StringTokenizer
-
Calculates the number of times that this tokenizer's
nextToken
method can be called before it generates an
exception.
- createDirectories(Path, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a directory by creating all nonexistent parent directories first.
- createDirectory(Path, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a new directory.
- createFile(Path, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a new and empty file, failing if the file already exists.
- createTempDirectory(Path, String, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a new directory in the specified directory, using the given
prefix to generate its name.
- createTempDirectory(String, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a new directory in the default temporary-file directory, using
the given prefix to generate its name.
- createTempFile(Path, String, String, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates a new empty file in the specified directory, using the given
prefix and suffix strings to generate its name.
- createTempFile(String, String, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
- creationTime() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Returns the creation time.
- currentThread() - Static method in class java.lang.Thread
-
Returns a reference to the currently executing thread object.
- currentTimeMillis() - Static method in class java.lang.System
-
Returns the current time in milliseconds.
- DataInput - Interface in java.io
-
The DataInput
interface provides
for reading bytes from a binary stream and
reconstructing from them data in any of
the Java primitive types.
- DataInputStream - Class in java.io
-
A data input stream lets an application read primitive Java data
types from an underlying input stream in a machine-independent
way.
- DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
-
Creates a DataInputStream that uses the specified
underlying InputStream.
- DataOutput - Interface in java.io
-
The DataOutput
interface provides
for converting data from any of the Java
primitive types to a series of bytes and
writing these bytes to a binary stream.
- DataOutputStream - Class in java.io
-
A data output stream lets an application write primitive Java data
types to an output stream in a portable way.
- DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
-
Creates a new data output stream to write data to the specified
underlying output stream.
- DATE - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
day of the month.
- Date - Class in java.util
-
The class Date
represents a specific instant
in time, with millisecond precision.
- Date() - Constructor for class java.util.Date
-
Allocates a Date
object and initializes it so that
it represents the time at which it was allocated, measured to the
nearest millisecond.
- Date(long) - Constructor for class java.util.Date
-
Allocates a Date
object and initializes it to
represent the specified number of milliseconds since the
standard base time known as "the epoch", namely January 1,
1970, 00:00:00 GMT.
- DAY_OF_MONTH - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
day of the month.
- DAY_OF_WEEK - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the day
of the week.
- DAY_OF_WEEK_IN_MONTH - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
ordinal number of the day of the week within the current month.
- DAY_OF_YEAR - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the day
number within the current year.
- DECEMBER - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
twelfth month of the year in the Gregorian and Julian calendars.
- decode(String) - Static method in class java.lang.Byte
-
Decodes a String
into a Byte
.
- decode(String) - Static method in class java.lang.Integer
-
Decodes a String
into an Integer
.
- decode(String) - Static method in class java.lang.Long
-
Decodes a String
into a Long
.
- decode(String) - Static method in class java.lang.Short
-
Decodes a String
into a Short
.
- defaults - Variable in class java.util.Properties
-
A property list that contains default values for any keys not
found in this property list.
- delete(int, int) - Method in class java.lang.StringBuffer
-
- delete(int, int) - Method in class java.lang.StringBuilder
-
- delete(Path) - Static method in class java.nio.file.Files
-
Deletes a file.
- deleteCharAt(int) - Method in class java.lang.StringBuffer
-
- deleteCharAt(int) - Method in class java.lang.StringBuilder
-
- deleteIfExists(Path) - Static method in class java.nio.file.Files
-
Deletes a file if it exists.
- Deprecated - Annotation Type in java.lang
-
A program element annotated @Deprecated is one that programmers
are discouraged from using, typically because it is dangerous,
or because a better alternative exists.
- Deque<E> - Interface in java.util
-
A linear collection that supports element insertion and removal at
both ends.
- descendingIterator() - Method in class java.util.ArrayDeque
-
- descendingIterator() - Method in interface java.util.Deque
-
Returns an iterator over the elements in this deque in reverse
sequential order.
- descendingIterator() - Method in class java.util.LinkedList
-
- desiredAssertionStatus() - Method in class java.lang.Class
-
Returns the assertion status that would be assigned to this
class if it were to be initialized at the time this method is invoked.
- digit(char, int) - Static method in class java.lang.Character
-
Returns the numeric value of the character ch
in the
specified radix.
- DirectoryIteratorException - Exception in java.nio.file
-
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory.
- DirectoryIteratorException(IOException) - Constructor for exception java.nio.file.DirectoryIteratorException
-
Constructs an instance of this class.
- DirectoryNotEmptyException - Exception in java.nio.file
-
Checked exception thrown when a file system operation fails because a
directory is not empty.
- DirectoryNotEmptyException(String) - Constructor for exception java.nio.file.DirectoryNotEmptyException
-
Constructs an instance of this class.
- DirectoryStream<T> - Interface in java.nio.file
-
An object to iterate over the entries in a directory.
- DirectoryStream.Filter<T> - Interface in java.nio.file
-
An interface that is implemented by objects that decide if a directory
entry should be accepted or filtered.
- disjoint(Collection<?>, Collection<?>) - Static method in class java.util.Collections
-
Returns true
if the two specified collections have no
elements in common.
- Documented - Annotation Type in java.lang.annotation
-
Indicates that annotations with a type are to be documented by javadoc
and similar tools by default.
- Double - Class in java.lang
-
The Double
class wraps a value of the primitive type
double
in an object.
- Double(double) - Constructor for class java.lang.Double
-
Constructs a newly allocated Double
object that
represents the primitive double
argument.
- Double(String) - Constructor for class java.lang.Double
-
Constructs a newly allocated Double
object that
represents the floating-point value of type double
represented by the string.
- doubleToLongBits(double) - Static method in class java.lang.Double
-
Returns a representation of the specified floating-point value
according to the IEEE 754 floating-point "double
format" bit layout.
- doubleToRawLongBits(double) - Static method in class java.lang.Double
-
Returns a representation of the specified floating-point value
according to the IEEE 754 floating-point "double
format" bit layout, preserving Not-a-Number (NaN) values.
- doubleValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a double
after a widening primitive conversion.
- doubleValue() - Method in class java.lang.Double
-
Returns the double
value of this Double
object.
- doubleValue() - Method in class java.lang.Float
-
Returns the value of this Float
as a double
after a widening primitive conversion.
- doubleValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a double
after a widening primitive conversion.
- doubleValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a double
after a widening primitive conversion.
- doubleValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a double
,
which may involve rounding.
- doubleValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a double
after a widening primitive conversion.
- DST_OFFSET - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
daylight savings offset in milliseconds.
- E - Static variable in class java.lang.Math
-
The double
value that is closer than any other to
e, the base of the natural logarithms.
- element() - Method in class java.util.AbstractQueue
-
Retrieves, but does not remove, the head of this queue.
- element() - Method in class java.util.ArrayDeque
-
Retrieves, but does not remove, the head of the queue represented by
this deque.
- element() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the head of the queue represented by
this deque (in other words, the first element of this deque).
- element() - Method in class java.util.LinkedList
-
Retrieves, but does not remove, the head (first element) of this list.
- element() - Method in interface java.util.Queue
-
Retrieves, but does not remove, the head of this queue.
- elementAt(int) - Method in class java.util.Vector
-
Returns the component at the specified index.
- elementCount - Variable in class java.util.Vector
-
The number of valid components in this Vector
object.
- elementData - Variable in class java.util.Vector
-
The array buffer into which the components of the vector are
stored.
- elements() - Method in class java.security.PermissionCollection
-
Returns an enumeration of all the Permission objects in the collection.
- elements() - Method in class java.util.Hashtable
-
Returns an enumeration of the values in this hashtable.
- elements() - Method in class java.util.Vector
-
Returns an enumeration of the components of this vector.
- ElementType - Enum in java.lang.annotation
-
A program element type.
- empty() - Method in class java.util.Stack
-
Tests if this stack is empty.
- EmptyStackException - Exception in java.util
-
Thrown by methods in the Stack
class to indicate
that the stack is empty.
- EmptyStackException() - Constructor for exception java.util.EmptyStackException
-
Constructs a new EmptyStackException
with null
as its error message string.
- endsWith(String) - Method in class java.lang.String
-
Tests if this string ends with the specified suffix.
- endsWith(Path) - Method in interface java.nio.file.Path
-
Tests if this path ends with the given path.
- endsWith(String) - Method in interface java.nio.file.Path
-
Tests if this path ends with a
Path
, constructed by converting
the given path string, in exactly the manner specified by the
endsWith(Path)
method.
- enqueue() - Method in class java.lang.ref.Reference
-
Adds this reference object to the queue with which it is registered,
if any.
- ensureCapacity(int) - Method in class java.lang.StringBuffer
-
- ensureCapacity(int) - Method in class java.util.ArrayList
-
Increases the capacity of this ArrayList instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.
- ensureCapacity(int) - Method in class java.util.Vector
-
Increases the capacity of this vector, if necessary, to ensure
that it can hold at least the number of components specified by
the minimum capacity argument.
- entrySet() - Method in class java.util.AbstractMap
-
- entrySet() - Method in class java.util.HashMap
-
Returns a
Set
view of the mappings contained in this map.
- entrySet() - Method in class java.util.Hashtable
-
Returns a
Set
view of the mappings contained in this map.
- entrySet() - Method in interface java.util.Map
-
Returns a
Set
view of the mappings contained in this map.
- entrySet() - Method in class java.util.WeakHashMap
-
Returns a
Set
view of the mappings contained in this map.
- Enum<E extends Enum<E>> - Class in java.lang
-
This is the common base class of all Java language enumeration types.
- Enum(String, int) - Constructor for class java.lang.Enum
-
Sole constructor.
- enumeration(Collection<T>) - Static method in class java.util.Collections
-
Returns an enumeration over the specified collection.
- Enumeration<E> - Interface in java.util
-
An object that implements the Enumeration interface generates a
series of elements, one at a time.
- EOFException - Exception in java.io
-
Signals that an end of file or end of stream has been reached
unexpectedly during input.
- EOFException() - Constructor for exception java.io.EOFException
-
Constructs an EOFException
with null
as its error detail message.
- EOFException(String) - Constructor for exception java.io.EOFException
-
Constructs an EOFException
with the specified detail
message.
- equals(Object) - Method in class java.io.FilePermission
-
Checks two FilePermission objects for equality.
- equals(Object) - Method in interface java.lang.annotation.Annotation
-
Returns true if the specified object represents an annotation
that is logically equivalent to this one.
- equals(Object) - Method in class java.lang.Boolean
-
Returns true
if and only if the argument is not
null
and is a Boolean
object that
represents the same boolean
value as this object.
- equals(Object) - Method in class java.lang.Byte
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.Character
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Double
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Enum
-
Returns true if the specified object is equal to this
enum constant.
- equals(Object) - Method in class java.lang.Float
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Integer
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.Long
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.Object
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class java.lang.Short
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.String
-
Compares this string to the specified object.
- equals(Object) - Method in class java.nio.ByteBuffer
-
Tells whether or not this buffer is equal to another object.
- equals(Object) - Method in class java.nio.file.attribute.FileTime
-
Tests this FileTime
for equality with the given object.
- equals(Object) - Method in interface java.nio.file.Path
-
Tests this path for equality with the given object.
- equals(Object) - Method in class java.nio.FloatBuffer
-
Tells whether or not this buffer is equal to another object.
- equals(Object) - Method in class java.nio.IntBuffer
-
Tells whether or not this buffer is equal to another object.
- equals(Object) - Method in class java.nio.ShortBuffer
-
Tells whether or not this buffer is equal to another object.
- equals(Object) - Method in class java.security.BasicPermission
-
Checks two BasicPermission objects for equality.
- equals(Object) - Method in class java.security.Permission
-
Checks two Permission objects for equality.
- equals(Object) - Method in class java.util.AbstractList
-
Compares the specified object with this list for equality.
- equals(Object) - Method in class java.util.AbstractMap
-
Compares the specified object with this map for equality.
- equals(Object) - Method in class java.util.AbstractSet
-
Compares the specified object with this set for equality.
- equals(long[], long[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of longs are
equal to one another.
- equals(int[], int[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of ints are
equal to one another.
- equals(short[], short[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of shorts are
equal to one another.
- equals(char[], char[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of chars are
equal to one another.
- equals(byte[], byte[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of bytes are
equal to one another.
- equals(boolean[], boolean[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of booleans are
equal to one another.
- equals(double[], double[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of doubles are
equal to one another.
- equals(float[], float[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of floats are
equal to one another.
- equals(Object[], Object[]) - Static method in class java.util.Arrays
-
Returns true if the two specified arrays of Objects are
equal to one another.
- equals(Object) - Method in class java.util.Calendar
-
Compares this Calendar
to the specified
Object
.
- equals(Object) - Method in interface java.util.Collection
-
Compares the specified object with this collection for equality.
- equals(Object) - Method in interface java.util.Comparator
-
Indicates whether some other object is "equal to" this
comparator.
- equals(Object) - Method in class java.util.Date
-
Compares two dates for equality.
- equals(Object) - Method in class java.util.Hashtable
-
Compares the specified Object with this Map for equality,
as per the definition in the Map interface.
- equals(Object) - Method in interface java.util.List
-
Compares the specified object with this list for equality.
- equals(Object) - Method in class java.util.logging.Level
-
Compare two objects for value equality.
- equals(Object) - Method in interface java.util.Map.Entry
-
Compares the specified object with this entry for equality.
- equals(Object) - Method in interface java.util.Map
-
Compares the specified object with this map for equality.
- equals(Object, Object) - Static method in class java.util.Objects
-
Returns true
if the arguments are equal to each other
and false
otherwise.
- equals(Object) - Method in class java.util.PropertyPermission
-
Checks two PropertyPermission objects for equality.
- equals(Object) - Method in interface java.util.Set
-
Compares the specified object with this set for equality.
- equals(Object) - Method in class java.util.Vector
-
Compares the specified Object with this Vector for equality.
- equalsIgnoreCase(String) - Method in class java.lang.String
-
Compares this String
to another String
, ignoring case
considerations.
- ERA - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
era, e.g., AD or BC in the Julian calendar.
- err - Static variable in class java.lang.System
-
The "standard" error output stream.
- Error - Error in java.lang
-
An Error
is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch.
- Error() - Constructor for error java.lang.Error
-
Constructs a new error with null
as its detail message.
- Error(String) - Constructor for error java.lang.Error
-
Constructs a new error with the specified detail message.
- Error(String, Throwable) - Constructor for error java.lang.Error
-
Constructs a new error with the specified detail message and
cause.
- Error(Throwable) - Constructor for error java.lang.Error
-
Constructs a new error with the specified cause and a detail
message of (cause==null ? null : cause.toString())
(which
typically contains the class and detail message of cause
).
- EventListener - Interface in java.util
-
A tagging interface that all event listener interfaces must extend.
- EventObject - Class in java.util
-
The root class from which all event state objects shall be derived.
- EventObject(Object) - Constructor for class java.util.EventObject
-
Constructs a prototypical Event.
- Exception - Exception in java.lang
-
The class Exception
and its subclasses are a form of
Throwable
that indicates conditions that a reasonable
application might want to catch.
- Exception() - Constructor for exception java.lang.Exception
-
Constructs a new exception with null
as its detail message.
- Exception(String) - Constructor for exception java.lang.Exception
-
Constructs a new exception with the specified detail message.
- Exception(String, Throwable) - Constructor for exception java.lang.Exception
-
Constructs a new exception with the specified detail message and
cause.
- Exception(Throwable) - Constructor for exception java.lang.Exception
-
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).
- exists(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Tests whether a file exists.
- exit(int) - Method in class java.lang.Runtime
-
Terminates the currently running Java virtual machine by initiating its
shutdown sequence.
- exit(int) - Static method in class java.lang.System
-
Terminates the currently running Java Virtual Machine.
- FALSE - Static variable in class java.lang.Boolean
-
The Boolean
object corresponding to the primitive
value false
.
- FEBRUARY - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
second month of the year in the Gregorian and Julian calendars.
- FIELD_COUNT - Static variable in class java.util.Calendar
-
The number of distinct fields recognized by get
and set
.
- fields - Variable in class java.util.Calendar
-
The calendar field values for the currently set time for this calendar.
- FileAlreadyExistsException - Exception in java.nio.file
-
Checked exception thrown when an attempt is made to create a file or
directory and a file of that name already exists.
- FileAlreadyExistsException(String) - Constructor for exception java.nio.file.FileAlreadyExistsException
-
Constructs an instance of this class.
- FileAlreadyExistsException(String, String, String) - Constructor for exception java.nio.file.FileAlreadyExistsException
-
Constructs an instance of this class.
- FileAttribute<T> - Interface in java.nio.file.attribute
-
An object that encapsulates the value of a file attribute that can be set
atomically when creating a new file or directory by invoking the
createFile
or
createDirectory
methods.
- FileChannel - Class in java.nio.channels
-
A channel for reading, writing, mapping, and manipulating a file.
- FileChannel() - Constructor for class java.nio.channels.FileChannel
-
Initializes a new instance of this class.
- FilePermission - Class in java.io
-
This class represents access to a file or directory.
- FilePermission(String, String) - Constructor for class java.io.FilePermission
-
Creates a new FilePermission object with the specified actions.
- Files - Class in java.nio.file
-
This class consists exclusively of static methods that operate on files,
directories, or other types of files.
- FileStore - Class in java.nio.file
-
Storage for files.
- FileStore() - Constructor for class java.nio.file.FileStore
-
Initializes a new instance of this class.
- FileSystem - Class in java.nio.file
-
Provides an interface to a file system and is the factory for objects to
access files and other objects in the file system.
- FileSystem() - Constructor for class java.nio.file.FileSystem
-
Initializes a new instance of this class.
- FileSystemException - Exception in java.nio.file
-
Thrown when a file system operation fails on one or two files.
- FileSystemException(String) - Constructor for exception java.nio.file.FileSystemException
-
Constructs an instance of this class.
- FileSystemException(String, String, String) - Constructor for exception java.nio.file.FileSystemException
-
Constructs an instance of this class.
- FileSystems - Class in java.nio.file
-
Factory methods for file systems.
- FileTime - Class in java.nio.file.attribute
-
Represents the value of a file's time stamp attribute.
- fill(long[], long) - Static method in class java.util.Arrays
-
Assigns the specified long value to each element of the specified array
of longs.
- fill(int[], int) - Static method in class java.util.Arrays
-
Assigns the specified int value to each element of the specified array
of ints.
- fill(short[], short) - Static method in class java.util.Arrays
-
Assigns the specified short value to each element of the specified array
of shorts.
- fill(char[], char) - Static method in class java.util.Arrays
-
Assigns the specified char value to each element of the specified array
of chars.
- fill(byte[], byte) - Static method in class java.util.Arrays
-
Assigns the specified byte value to each element of the specified array
of bytes.
- fill(boolean[], boolean) - Static method in class java.util.Arrays
-
Assigns the specified boolean value to each element of the specified
array of booleans.
- fill(double[], double) - Static method in class java.util.Arrays
-
Assigns the specified double value to each element of the specified
array of doubles.
- fill(float[], float) - Static method in class java.util.Arrays
-
Assigns the specified float value to each element of the specified array
of floats.
- fill(Object[], Object) - Static method in class java.util.Arrays
-
Assigns the specified Object reference to each element of the specified
array of Objects.
- fill(List<? super T>, T) - Static method in class java.util.Collections
-
Replaces all of the elements of the specified list with the specified
element.
- fillInStackTrace() - Method in class java.lang.Throwable
-
Fills in the execution stack trace.
- Filter - Interface in java.util.logging
-
A Filter can be used to provide fine grain control over
what is logged, beyond the control provided by log levels.
- FINE - Static variable in class java.util.logging.Level
-
FINE is a message level providing tracing information.
- FINER - Static variable in class java.util.logging.Level
-
FINER indicates a fairly detailed tracing message.
- FINEST - Static variable in class java.util.logging.Level
-
FINEST indicates a highly detailed tracing message.
- firstElement() - Method in class java.util.Vector
-
Returns the first component (the item at index 0
) of
this vector.
- flip() - Method in class java.nio.Buffer
-
Flips this buffer.
- Float - Class in java.lang
-
The Float
class wraps a value of primitive type
float
in an object.
- Float(float) - Constructor for class java.lang.Float
-
Constructs a newly allocated Float
object that
represents the primitive float
argument.
- Float(double) - Constructor for class java.lang.Float
-
Constructs a newly allocated Float
object that
represents the argument converted to type float
.
- Float(String) - Constructor for class java.lang.Float
-
Constructs a newly allocated Float
object that
represents the floating-point value of type float
represented by the string.
- FloatBuffer - Class in java.nio
-
A float buffer.
- floatToIntBits(float) - Static method in class java.lang.Float
-
Returns a representation of the specified floating-point value
according to the IEEE 754 floating-point "single format" bit
layout.
- floatToRawIntBits(float) - Static method in class java.lang.Float
-
Returns a representation of the specified floating-point value
according to the IEEE 754 floating-point "single format" bit
layout, preserving Not-a-Number (NaN) values.
- floatValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a float
after
a widening primitive conversion.
- floatValue() - Method in class java.lang.Double
-
Returns the value of this Double
as a float
after a narrowing primitive conversion.
- floatValue() - Method in class java.lang.Float
-
Returns the float
value of this Float
object.
- floatValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a float
after a widening primitive conversion.
- floatValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a float
after
a widening primitive conversion.
- floatValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a float
,
which may involve rounding.
- floatValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a float
after a widening primitive conversion.
- floor(double) - Static method in class java.lang.Math
-
Returns the largest (closest to positive infinity)
double
value that is less than or equal to the
argument and is equal to a mathematical integer.
- flush() - Method in class java.io.BufferedWriter
-
Flushes the stream.
- 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.
- flush() - Method in class java.io.OutputStreamWriter
-
Flushes the stream.
- flush() - Method in class java.io.PrintStream
-
Flushes the stream.
- flush() - Method in class java.io.Writer
-
Flushes the stream.
- flush() - Method in class java.util.Formatter
-
Flushes this formatter.
- flush() - Method in class java.util.logging.Handler
-
Flush any buffered output.
- flush() - Method in class java.util.logging.StreamHandler
-
Flush any buffered messages.
- force(boolean) - Method in class java.nio.channels.FileChannel
-
Forces any updates to this channel's file to be written to the storage
device that contains it.
- forDigit(int, int) - Static method in class java.lang.Character
-
Determines the character representation for a specific digit in
the specified radix.
- format(String, Object...) - Method in class java.io.PrintStream
-
Writes a formatted string to this output stream using the specified
format string and arguments.
- format(String, Object...) - Static method in class java.lang.String
-
Returns a formatted string using the specified format string and
arguments.
- format(String, Object...) - Method in class java.util.Formatter
-
Writes a formatted string to this object's destination using the
specified format string and arguments.
- format(LogRecord) - Method in class java.util.logging.Formatter
-
Format the given log record and return the formatted string.
- format(LogRecord) - Method in class java.util.logging.SimpleFormatter
-
Format the given LogRecord.
- formatMessage(LogRecord) - Method in class java.util.logging.Formatter
-
Localize and format the message string from a log record.
- Formatter - Class in java.util
-
An interpreter for printf-style format strings.
- Formatter() - Constructor for class java.util.Formatter
-
Constructs a new formatter.
- Formatter(Appendable) - Constructor for class java.util.Formatter
-
Constructs a new formatter with the specified destination.
- Formatter(PrintStream) - Constructor for class java.util.Formatter
-
Constructs a new formatter with the specified print stream.
- Formatter - Class in java.util.logging
-
A Formatter provides support for formatting LogRecords.
- Formatter() - Constructor for class java.util.logging.Formatter
-
Construct a new formatter.
- forName(String) - Static method in class java.lang.Class
-
Returns the Class
object associated with the class or
interface with the given string name.
- freeMemory() - Method in class java.lang.Runtime
-
Returns the amount of free memory in the Java Virtual Machine.
- frequency(Collection<?>, Object) - Static method in class java.util.Collections
-
Returns the number of elements in the specified collection equal to the
specified object.
- FRIDAY - Static variable in class java.util.Calendar
-
- fromMillis(long) - Static method in class java.nio.file.attribute.FileTime
-
Returns a FileTime
representing the given value in milliseconds.
- gc() - Method in class java.lang.Runtime
-
Runs the garbage collector.
- gc() - Static method in class java.lang.System
-
Runs the garbage collector.
- get() - Method in class java.lang.ref.Reference
-
Returns this reference object's referent.
- get() - Method in class java.nio.ByteBuffer
-
Relative get method.
- get(int) - Method in class java.nio.ByteBuffer
-
Absolute get method.
- get(byte[], int, int) - Method in class java.nio.ByteBuffer
-
Relative bulk get method.
- get(byte[]) - Method in class java.nio.ByteBuffer
-
Relative bulk get method.
- get(String, String...) - Static method in class java.nio.file.Paths
-
Converts a path string, or a sequence of strings that when joined form
a path string, to a Path
.
- get() - Method in class java.nio.FloatBuffer
-
Relative get method.
- get(int) - Method in class java.nio.FloatBuffer
-
Absolute get method.
- get(float[], int, int) - Method in class java.nio.FloatBuffer
-
Relative bulk get method.
- get(float[]) - Method in class java.nio.FloatBuffer
-
Relative bulk get method.
- get() - Method in class java.nio.IntBuffer
-
Relative get method.
- get(int) - Method in class java.nio.IntBuffer
-
Absolute get method.
- get(int[], int, int) - Method in class java.nio.IntBuffer
-
Relative bulk get method.
- get(int[]) - Method in class java.nio.IntBuffer
-
Relative bulk get method.
- get() - Method in class java.nio.ShortBuffer
-
Relative get method.
- get(int) - Method in class java.nio.ShortBuffer
-
Absolute get method.
- get(short[], int, int) - Method in class java.nio.ShortBuffer
-
Relative bulk get method.
- get(short[]) - Method in class java.nio.ShortBuffer
-
Relative bulk get method.
- get(int) - Method in class java.util.AbstractList
-
Returns the element at the specified position in this list.
- get(Object) - Method in class java.util.AbstractMap
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(int) - Method in class java.util.AbstractSequentialList
-
Returns the element at the specified position in this list.
- get(int) - Method in class java.util.ArrayList
-
Returns the element at the specified position in this list.
- get(int) - Method in class java.util.Calendar
-
Returns the value of the given calendar field.
- get(Object) - Method in class java.util.HashMap
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(Object) - Method in class java.util.Hashtable
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(Object) - Method in class java.util.LinkedHashMap
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(int) - Method in class java.util.LinkedList
-
Returns the element at the specified position in this list.
- get(int) - Method in interface java.util.List
-
Returns the element at the specified position in this list.
- get(Object) - Method in interface java.util.Map
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(int) - Method in class java.util.Vector
-
Returns the element at the specified position in this Vector.
- get(Object) - Method in class java.util.WeakHashMap
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- getActions() - Method in class java.io.FilePermission
-
Returns the "canonical string representation" of the actions.
- getActions() - Method in class java.security.BasicPermission
-
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
a BasicPermission.
- getActions() - Method in class java.security.Permission
-
Returns the actions as a String.
- getActions() - Method in class java.util.PropertyPermission
-
Returns the "canonical string representation" of the actions.
- getActualMaximum(int) - Method in class java.util.Calendar
-
Returns the maximum value that the specified calendar field
could have, given the time value of this
Calendar
.
- getActualMinimum(int) - Method in class java.util.Calendar
-
Returns the minimum value that the specified calendar field
could have, given the time value of this Calendar
.
- getAnonymousLogger() - Static method in class java.util.logging.Logger
-
Create an anonymous Logger.
- getAttribute(Path, String, LinkOption...) - Static method in class java.nio.file.Files
-
Reads the value of a file attribute.
- getAttribute(String) - Method in class java.nio.file.FileStore
-
Reads the value of a file store attribute.
- getAvailableIDs(int) - Static method in class java.util.TimeZone
-
Gets the available IDs according to the given time zone offset in milliseconds.
- getAvailableIDs() - Static method in class java.util.TimeZone
-
Gets all the available IDs supported.
- getBoolean(String) - Static method in class java.lang.Boolean
-
Returns true
if and only if the system property
named by the argument exists and is equal to the string
"true"
.
- getBytes(String) - Method in class java.lang.String
-
Encodes this String
into a sequence of bytes using the named
charset, storing the result into a new byte array.
- getBytes() - Method in class java.lang.String
-
Encodes this String
into a sequence of bytes using the
platform's default charset, storing the result into a new byte array.
- getCause() - Method in exception java.lang.ClassNotFoundException
-
Returns the cause of this exception (the exception that was raised
if an error occurred while attempting to load the class; otherwise
null).
- getCause() - Method in class java.lang.Throwable
-
Returns the cause of this throwable or null
if the
cause is nonexistent or unknown.
- getCause() - Method in exception java.nio.file.DirectoryIteratorException
-
Returns the cause of this exception.
- getChars(int, int, char[], int) - Method in class java.lang.String
-
Copies characters from this string into the destination character
array.
- getChars(int, int, char[], int) - Method in class java.lang.StringBuffer
-
- getClass() - Method in class java.lang.Object
-
Returns the runtime class of this Object
.
- getDeclaringClass() - Method in class java.lang.Enum
-
Returns the Class object corresponding to this enum constant's
enum type.
- getDefault() - Static method in class java.nio.file.FileSystems
-
Returns the default FileSystem
.
- getDefault() - Static method in class java.util.TimeZone
-
Gets the default TimeZone
for this host.
- getDisplayName() - Method in class java.util.TimeZone
-
Returns a long standard time name of this TimeZone
suitable for
presentation to the user in the default locale.
- getDisplayName(boolean, int) - Method in class java.util.TimeZone
-
Returns a name in the specified style
of this TimeZone
suitable for presentation to the user in the default locale.
- getDSTSavings() - Method in class java.util.TimeZone
-
Returns the amount of time to be added to local standard time
to get local wall clock time.
- getEncoding() - Method in class java.io.InputStreamReader
-
Returns the name of the character encoding being used by this stream.
- getEncoding() - Method in class java.io.OutputStreamWriter
-
Returns the name of the character encoding being used by this stream.
- getEncoding() - Method in class java.util.logging.Handler
-
Return the character encoding for this Handler.
- getException() - Method in exception java.lang.ClassNotFoundException
-
Returns the exception that was raised if an error occurred while
attempting to load the class.
- getExponent(float) - Static method in class java.lang.Math
-
Returns the unbiased exponent used in the representation of a
float
.
- getExponent(double) - Static method in class java.lang.Math
-
Returns the unbiased exponent used in the representation of a
double
.
- getFile() - Method in exception java.nio.file.FileSystemException
-
Returns the file used to create this exception.
- getFileName() - Method in interface java.nio.file.Path
-
Returns the name of the file or directory denoted by this path as a
Path
object.
- getFileStore(Path) - Static method in class java.nio.file.Files
-
Returns the
FileStore
representing the file store where a file
is located.
- getFileStores() - Method in class java.nio.file.FileSystem
-
Returns an object to iterate over the underlying file stores.
- getFileSystem() - Method in interface java.nio.file.Path
-
Returns the file system that created this object.
- getFilter() - Method in class java.util.logging.Handler
-
Get the current Filter for this Handler.
- getFilter() - Method in class java.util.logging.Logger
-
Get the current filter for this Logger.
- getFirst() - Method in class java.util.ArrayDeque
-
- getFirst() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the first element of this deque.
- getFirst() - Method in class java.util.LinkedList
-
Returns the first element in this list.
- getFirstDayOfWeek() - Method in class java.util.Calendar
-
Gets what the first day of the week is; e.g., SUNDAY
in the U.S.,
MONDAY
in France.
- getFloat() - Method in class java.nio.ByteBuffer
-
Relative get method for reading a float value.
- getFloat(int) - Method in class java.nio.ByteBuffer
-
Absolute get method for reading a float value.
- getFormatter() - Method in class java.util.logging.Handler
-
Return the Formatter for this Handler.
- getGlobal() - Static method in class java.util.logging.Logger
-
Return global logger object with the name Logger.GLOBAL_LOGGER_NAME.
- getGreatestMinimum(int) - Method in class java.util.Calendar
-
Returns the highest minimum value for the given calendar field
of this Calendar
instance.
- getHandlers() - Method in class java.util.logging.Logger
-
Get the Handlers associated with this logger.
- getHead(Handler) - Method in class java.util.logging.Formatter
-
Return the header string for a set of formatted records.
- getId() - Method in class java.lang.Thread
-
Returns the identifier of this Thread.
- getID() - Method in class java.util.TimeZone
-
Gets the ID of this time zone.
- getIndex() - Method in exception java.nio.file.InvalidPathException
-
Returns an index into the input string of the position at which the
error occurred, or -1 if this position is not known.
- getInput() - Method in exception java.nio.file.InvalidPathException
-
Returns the input string.
- getInstance() - Static method in class java.util.Calendar
-
Gets a calendar using the default time zone and locale.
- getInstance(TimeZone) - Static method in class java.util.Calendar
-
Gets a calendar using the specified time zone and default locale.
- getInt() - Method in class java.nio.ByteBuffer
-
Relative get method for reading an int value.
- getInt(int) - Method in class java.nio.ByteBuffer
-
Absolute get method for reading an int value.
- getInteger(String) - Static method in class java.lang.Integer
-
Determines the integer value of the system property with the
specified name.
- getInteger(String, int) - Static method in class java.lang.Integer
-
Determines the integer value of the system property with the
specified name.
- getInteger(String, Integer) - Static method in class java.lang.Integer
-
Returns the integer value of the system property with the
specified name.
- getKey() - Method in interface java.util.Map.Entry
-
Returns the key corresponding to this entry.
- getLast() - Method in class java.util.ArrayDeque
-
- getLast() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the last element of this deque.
- getLast() - Method in class java.util.LinkedList
-
Returns the last element in this list.
- getLastModifiedTime(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Returns a file's last modified time.
- getLeastMaximum(int) - Method in class java.util.Calendar
-
Returns the lowest maximum value for the given calendar field
of this Calendar
instance.
- getLevel() - Method in class java.util.logging.Handler
-
Get the log level specifying which messages will be
logged by this Handler.
- getLevel() - Method in class java.util.logging.Logger
-
Get the log Level that has been specified for this Logger.
- getLevel() - Method in class java.util.logging.LogRecord
-
Get the logging message level, for example Level.SEVERE.
- getLocalizedMessage() - Method in class java.lang.Throwable
-
Creates a localized description of this throwable.
- getLogger(String) - Static method in class java.util.logging.Logger
-
Find or create a logger for a named subsystem.
- getLogger(String) - Method in class java.util.logging.LogManager
-
Method to find a named logger.
- getLoggerName() - Method in class java.util.logging.LogRecord
-
Get the source Logger's name.
- getLoggerNames() - Method in class java.util.logging.LogManager
-
Get an enumeration of known logger names.
- getLogManager() - Static method in class java.util.logging.LogManager
-
Return the global LogManager object.
- getLong(String) - Static method in class java.lang.Long
-
Determines the long
value of the system property
with the specified name.
- getLong(String, long) - Static method in class java.lang.Long
-
Determines the long
value of the system property
with the specified name.
- getLong(String, Long) - Static method in class java.lang.Long
-
Returns the long
value of the system property with
the specified name.
- getMaximum(int) - Method in class java.util.Calendar
-
Returns the maximum value for the given calendar field of this
Calendar
instance.
- getMessage() - Method in class java.lang.Throwable
-
Returns the detail message string of this throwable.
- getMessage() - Method in exception java.nio.file.FileSystemException
-
Returns the detail message string.
- getMessage() - Method in exception java.nio.file.InvalidPathException
-
Returns a string describing the error.
- getMessage() - Method in class java.util.logging.LogRecord
-
Get the "raw" log message, before localization or formatting.
- getMillis() - Method in class java.util.logging.LogRecord
-
Get event time in milliseconds since 1970.
- getMinimalDaysInFirstWeek() - Method in class java.util.Calendar
-
Gets what the minimal days required in the first week of the year are;
e.g., if the first week is defined as one that contains the first day
of the first month of a year, this method returns 1.
- getMinimum(int) - Method in class java.util.Calendar
-
Returns the minimum value for the given calendar field of this
Calendar
instance.
- getName() - Method in class java.lang.Class
-
Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this Class
object,
as a String
.
- getName() - Method in class java.lang.Thread
-
Returns this thread's name.
- getName(int) - Method in interface java.nio.file.Path
-
Returns a name element of this path as a Path
object.
- getName() - Method in class java.security.Permission
-
Returns the name of this Permission.
- getName() - Method in class java.util.logging.Level
-
Return the non-localized string name of the Level.
- getName() - Method in class java.util.logging.Logger
-
Get the name for this logger.
- getNameCount() - Method in interface java.nio.file.Path
-
Returns the number of name elements in the path.
- getOffset(int, int, int, int, int, int) - Method in class java.util.TimeZone
-
Gets the time zone offset, for current date, modified in case of
daylight savings.
- getOffset(long) - Method in class java.util.TimeZone
-
Returns the offset of this time zone from UTC at the specified
date.
- getOtherFile() - Method in exception java.nio.file.FileSystemException
-
Returns the other file used to create this exception.
- getParameters() - Method in class java.util.logging.LogRecord
-
Get the parameters to the log message.
- getParent() - Method in interface java.nio.file.Path
-
Returns the parent path, or null
if this path does not
have a parent.
- getParent() - Method in class java.util.logging.Logger
-
Return the parent for this Logger.
- getPath(String, String...) - Method in class java.nio.file.FileSystem
-
Converts a path string, or a sequence of strings that when joined form
a path string, to a Path
.
- getPermission() - Method in exception java.security.AccessControlException
-
Gets the Permission object associated with this exception, or
null if there was no corresponding Permission object.
- getPriority() - Method in class java.lang.Thread
-
Returns this thread's priority.
- getProperty(String) - Static method in class java.lang.System
-
Gets the system property indicated by the specified key.
- getProperty(String, String) - Static method in class java.lang.System
-
Gets the system property indicated by the specified key.
- getProperty(String) - Method in class java.util.Properties
-
Searches for the property with the specified key in this property list.
- getProperty(String, String) - Method in class java.util.Properties
-
Searches for the property with the specified key in this property list.
- getRawOffset() - Method in class java.util.TimeZone
-
Returns the amount of time in milliseconds to add to UTC to get
standard time in this time zone.
- getReason() - Method in exception java.nio.file.FileSystemException
-
Returns the string explaining why the file system operation failed.
- getReason() - Method in exception java.nio.file.InvalidPathException
-
Returns a string explaining why the input string was rejected.
- getResourceAsStream(String) - Method in class java.lang.Class
-
Finds a resource with a given name in the application's
JAR file.
- getRoot() - Method in interface java.nio.file.Path
-
Returns the root component of this path as a Path
object,
or null
if this path does not have a root component.
- getRootDirectories() - Method in class java.nio.file.FileSystem
-
Returns an object to iterate over the paths of the root directories.
- getRuntime() - Static method in class java.lang.Runtime
-
Returns the runtime object associated with the current Java application.
- getSecurityManager() - Static method in class java.lang.System
-
Gets the system security interface.
- getSeparator() - Method in class java.nio.file.FileSystem
-
Returns the name separator, represented as a string.
- getSequenceNumber() - Method in class java.util.logging.LogRecord
-
Get the sequence number.
- getShort() - Method in class java.nio.ByteBuffer
-
Relative get method for reading a short value.
- getShort(int) - Method in class java.nio.ByteBuffer
-
Absolute get method for reading a short value.
- getSource() - Method in class java.util.EventObject
-
The object on which the Event initially occurred.
- getSourceClassName() - Method in class java.util.logging.LogRecord
-
Get the name of the class that (allegedly) issued the logging request.
- getSourceMethodName() - Method in class java.util.logging.LogRecord
-
Get the name of the method that (allegedly) issued the logging request.
- getSuperclass() - Method in class java.lang.Class
-
Returns the Class
representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class
.
- getSuppressed() - Method in class java.lang.Throwable
-
Returns an array containing all of the exceptions that were
suppressed, typically by the try
-with-resources
statement, in order to deliver this exception.
- getTail(Handler) - Method in class java.util.logging.Formatter
-
Return the tail string for a set of formatted records.
- getThreadID() - Method in class java.util.logging.LogRecord
-
Get an identifier for the thread where the message originated.
- getThrown() - Method in class java.util.logging.LogRecord
-
Get any throwable associated with the log record.
- getTime() - Method in class java.util.Calendar
-
Returns a
Date
object representing this
Calendar
's time value (millisecond offset from the
Epoch").
- getTime() - Method in class java.util.Date
-
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT
represented by this Date object.
- getTimeInMillis() - Method in class java.util.Calendar
-
Returns this Calendar's time value in milliseconds.
- getTimeZone() - Method in class java.util.Calendar
-
Gets the time zone.
- getTimeZone(String) - Static method in class java.util.TimeZone
-
Gets the TimeZone
for the given ID.
- getTotalSpace() - Method in class java.nio.file.FileStore
-
Returns the size, in bytes, of the file store.
- getUnallocatedSpace() - Method in class java.nio.file.FileStore
-
Returns the number of unallocated bytes in the file store.
- getUsableSpace() - Method in class java.nio.file.FileStore
-
Returns the number of bytes available to this Java virtual machine on the
file store.
- getUseParentHandlers() - Method in class java.util.logging.Logger
-
Discover whether or not this logger is sending its output
to its parent logger.
- getValue() - Method in interface java.util.Map.Entry
-
Returns the value corresponding to this entry.
- GLOBAL_LOGGER_NAME - Static variable in class java.util.logging.Logger
-
GLOBAL_LOGGER_NAME is a name for the global logger.
- Handler - Class in java.util.logging
-
A Handler object takes log messages from a Logger and
exports them.
- Handler() - Constructor for class java.util.logging.Handler
-
Default constructor.
- hasArray() - Method in class java.nio.ByteBuffer
-
Tells whether or not this buffer is backed by an accessible byte
array.
- hasArray() - Method in class java.nio.FloatBuffer
-
Tells whether or not this buffer is backed by an accessible float
array.
- hasArray() - Method in class java.nio.IntBuffer
-
Tells whether or not this buffer is backed by an accessible int
array.
- hasArray() - Method in class java.nio.ShortBuffer
-
Tells whether or not this buffer is backed by an accessible short
array.
- hashCode() - Method in class java.io.FilePermission
-
Returns the hash code value for this object.
- hashCode() - Method in interface java.lang.annotation.Annotation
-
Returns the hash code of this annotation, as defined below:
- hashCode() - Method in class java.lang.Boolean
-
Returns a hash code for this Boolean
object.
- hashCode() - Method in class java.lang.Byte
-
Returns a hash code for this Byte
; equal to the result
of invoking intValue()
.
- hashCode() - Method in class java.lang.Character
-
Returns a hash code for this Character
; equal to the result
of invoking charValue()
.
- hashCode() - Method in class java.lang.Double
-
Returns a hash code for this Double
object.
- hashCode() - Method in class java.lang.Enum
-
Returns a hash code for this enum constant.
- hashCode() - Method in class java.lang.Float
-
Returns a hash code for this Float
object.
- hashCode() - Method in class java.lang.Integer
-
Returns a hash code for this Integer
.
- hashCode() - Method in class java.lang.Long
-
Returns a hash code for this Long
.
- hashCode() - Method in class java.lang.Object
-
Returns a hash code value for the object.
- hashCode() - Method in class java.lang.Short
-
Returns a hash code for this Short
; equal to the result
of invoking intValue()
.
- hashCode() - Method in class java.lang.String
-
Returns a hash code for this string.
- hashCode() - Method in class java.nio.ByteBuffer
-
Returns the current hash code of this buffer.
- hashCode() - Method in class java.nio.file.attribute.FileTime
-
Computes a hash code for this file time.
- hashCode() - Method in interface java.nio.file.Path
-
Computes a hash code for this path.
- hashCode() - Method in class java.nio.FloatBuffer
-
Returns the current hash code of this buffer.
- hashCode() - Method in class java.nio.IntBuffer
-
Returns the current hash code of this buffer.
- hashCode() - Method in class java.nio.ShortBuffer
-
Returns the current hash code of this buffer.
- hashCode() - Method in class java.security.BasicPermission
-
Returns the hash code value for this object.
- hashCode() - Method in class java.security.Permission
-
Returns the hash code value for this Permission object.
- hashCode() - Method in class java.util.AbstractList
-
Returns the hash code value for this list.
- hashCode() - Method in class java.util.AbstractMap
-
Returns the hash code value for this map.
- hashCode() - Method in class java.util.AbstractSet
-
Returns the hash code value for this set.
- hashCode() - Method in class java.util.Calendar
-
Returns a hash code for this calendar.
- hashCode() - Method in interface java.util.Collection
-
Returns the hash code value for this collection.
- hashCode() - Method in class java.util.Date
-
Returns a hash code value for this object.
- hashCode() - Method in class java.util.Hashtable
-
Returns the hash code value for this Map as per the definition in the
Map interface.
- hashCode() - Method in interface java.util.List
-
Returns the hash code value for this list.
- hashCode() - Method in class java.util.logging.Level
-
Generate a hashcode.
- hashCode() - Method in interface java.util.Map.Entry
-
Returns the hash code value for this map entry.
- hashCode() - Method in interface java.util.Map
-
Returns the hash code value for this map.
- hashCode(Object) - Static method in class java.util.Objects
-
Returns the hash code of a non-null
argument and 0 for
a null
argument.
- hashCode() - Method in class java.util.PropertyPermission
-
Returns the hash code value for this object.
- hashCode() - Method in interface java.util.Set
-
Returns the hash code value for this set.
- hashCode() - Method in class java.util.Vector
-
Returns the hash code value for this Vector.
- HashMap<K,V> - Class in java.util
-
Hash table based implementation of the Map interface.
- HashMap(int, float) - Constructor for class java.util.HashMap
-
Constructs an empty HashMap with the specified initial
capacity and load factor.
- HashMap(int) - Constructor for class java.util.HashMap
-
Constructs an empty HashMap with the specified initial
capacity and the default load factor (0.75).
- HashMap() - Constructor for class java.util.HashMap
-
Constructs an empty HashMap with the default initial capacity
(16) and the default load factor (0.75).
- HashMap(Map<? extends K, ? extends V>) - Constructor for class java.util.HashMap
-
Constructs a new HashMap with the same mappings as the
specified Map.
- HashSet<E> - Class in java.util
-
This class implements the Set interface, backed by a hash table
(actually a HashMap instance).
- HashSet() - Constructor for class java.util.HashSet
-
Constructs a new, empty set; the backing HashMap instance has
default initial capacity (16) and load factor (0.75).
- HashSet(Collection<? extends E>) - Constructor for class java.util.HashSet
-
Constructs a new set containing the elements in the specified
collection.
- HashSet(int, float) - Constructor for class java.util.HashSet
-
Constructs a new, empty set; the backing HashMap instance has
the specified initial capacity and the specified load factor.
- HashSet(int) - Constructor for class java.util.HashSet
-
Constructs a new, empty set; the backing HashMap instance has
the specified initial capacity and default load factor (0.75).
- Hashtable<K,V> - Class in java.util
-
This class implements a hashtable, which maps keys to values.
- Hashtable(int, float) - Constructor for class java.util.Hashtable
-
Constructs a new, empty hashtable with the specified initial
capacity and the specified load factor.
- Hashtable(int) - Constructor for class java.util.Hashtable
-
Constructs a new, empty hashtable with the specified initial capacity
and default load factor (0.75).
- Hashtable() - Constructor for class java.util.Hashtable
-
Constructs a new, empty hashtable with a default initial capacity (11)
and load factor (0.75).
- Hashtable(Map<? extends K, ? extends V>) - Constructor for class java.util.Hashtable
-
Constructs a new hashtable with the same mappings as the given
Map.
- hasMoreElements() - Method in interface java.util.Enumeration
-
Tests if this enumeration contains more elements.
- hasMoreElements() - Method in class java.util.StringTokenizer
-
Returns the same value as the hasMoreTokens
method.
- hasMoreTokens() - Method in class java.util.StringTokenizer
-
Tests if there are more tokens available from this tokenizer's string.
- hasNext() - Method in interface java.util.Iterator
-
Returns true
if the iteration has more elements.
- hasNext() - Method in interface java.util.ListIterator
-
Returns true
if this list iterator has more elements when
traversing the list in the forward direction.
- hasPrevious() - Method in interface java.util.ListIterator
-
Returns true
if this list iterator has more elements when
traversing the list in the reverse direction.
- hasRemaining() - Method in class java.nio.Buffer
-
Tells whether there are any elements between the current position and
the limit.
- hasSameRules(TimeZone) - Method in class java.util.TimeZone
-
Returns true if this zone has the same rule and offset as another zone.
- highestOneBit(int) - Static method in class java.lang.Integer
-
Returns an int
value with at most a single one-bit, in the
position of the highest-order ("leftmost") one-bit in the specified
int
value.
- highestOneBit(long) - Static method in class java.lang.Long
-
Returns a long
value with at most a single one-bit, in the
position of the highest-order ("leftmost") one-bit in the specified
long
value.
- holdsLock(Object) - Static method in class java.lang.Thread
-
Returns true if and only if the current thread holds the
monitor lock on the specified object.
- HOUR - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
hour of the morning or afternoon.
- HOUR_OF_DAY - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
hour of the day.
- identityHashCode(Object) - Static method in class java.lang.System
-
Returns the same hash code for the given object as
would be returned by the default method hashCode(),
whether or not the given object's class overrides
hashCode().
- IllegalAccessException - Exception in java.lang
-
An IllegalAccessException is thrown when an application tries
to create an instance (other than an array),
set or get a field, or invoke a method, but the currently
executing method does not have access to the definition of
the specified class, field, method or constructor.
- IllegalAccessException() - Constructor for exception java.lang.IllegalAccessException
-
Constructs an IllegalAccessException
without a
detail message.
- IllegalAccessException(String) - Constructor for exception java.lang.IllegalAccessException
-
Constructs an IllegalAccessException
with a detail message.
- IllegalArgumentException - Exception in java.lang
-
Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
- IllegalArgumentException() - Constructor for exception java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException
with no
detail message.
- IllegalArgumentException(String) - Constructor for exception java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException
with the
specified detail message.
- IllegalArgumentException(String, Throwable) - Constructor for exception java.lang.IllegalArgumentException
-
Constructs a new exception with the specified detail message and
cause.
- IllegalArgumentException(Throwable) - Constructor for exception java.lang.IllegalArgumentException
-
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).
- IllegalBlockingModeException - Exception in java.nio.channels
-
Unchecked exception thrown when a blocking-mode-specific operation
is invoked upon a channel in the incorrect blocking mode.
- IllegalBlockingModeException() - Constructor for exception java.nio.channels.IllegalBlockingModeException
-
Constructs an instance of this class.
- IllegalMonitorStateException - Exception in java.lang
-
Thrown to indicate that a thread has attempted to wait on an
object's monitor or to notify other threads waiting on an object's
monitor without owning the specified monitor.
- IllegalMonitorStateException() - Constructor for exception java.lang.IllegalMonitorStateException
-
Constructs an IllegalMonitorStateException
with no
detail message.
- IllegalMonitorStateException(String) - Constructor for exception java.lang.IllegalMonitorStateException
-
Constructs an IllegalMonitorStateException
with the
specified detail message.
- IllegalStateException - Exception in java.lang
-
Signals that a method has been invoked at an illegal or
inappropriate time.
- IllegalStateException() - Constructor for exception java.lang.IllegalStateException
-
Constructs an IllegalStateException with no detail message.
- IllegalStateException(String) - Constructor for exception java.lang.IllegalStateException
-
Constructs an IllegalStateException with the specified detail
message.
- IllegalStateException(String, Throwable) - Constructor for exception java.lang.IllegalStateException
-
Constructs a new exception with the specified detail message and
cause.
- IllegalStateException(Throwable) - Constructor for exception java.lang.IllegalStateException
-
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).
- IllegalThreadStateException - Exception in java.lang
-
Thrown to indicate that a thread is not in an appropriate state
for the requested operation.
- IllegalThreadStateException() - Constructor for exception java.lang.IllegalThreadStateException
-
Constructs an IllegalThreadStateException
with no
detail message.
- IllegalThreadStateException(String) - Constructor for exception java.lang.IllegalThreadStateException
-
Constructs an IllegalThreadStateException
with the
specified detail message.
- implCloseChannel() - Method in class java.nio.channels.FileChannel
-
Closes this channel.
- implies(Permission) - Method in class java.io.FilePermission
-
Checks if this FilePermission object "implies" the specified permission.
- implies(Permission) - Method in class java.security.BasicPermission
-
Checks if the specified permission is "implied" by
this object.
- implies(Permission) - Method in class java.security.Permission
-
Checks if the specified permission's actions are "implied by"
this object's actions.
- implies(Permission) - Method in class java.security.PermissionCollection
-
Checks to see if the specified permission is implied by
the collection of Permission objects held in this PermissionCollection.
- implies(Permission) - Method in class java.util.PropertyPermission
-
Checks if this PropertyPermission object "implies" the specified
permission.
- in - Variable in class java.io.DataInputStream
-
The input stream.
- IncompatibleClassChangeError - Error in java.lang
-
Thrown when an incompatible class change has occurred to some class
definition.
- IncompatibleClassChangeError() - Constructor for error java.lang.IncompatibleClassChangeError
-
Constructs an IncompatibleClassChangeError
with no
detail message.
- IncompatibleClassChangeError(String) - Constructor for error java.lang.IncompatibleClassChangeError
-
Constructs an IncompatibleClassChangeError
with the
specified detail message.
- inDaylightTime(Date) - Method in class java.util.TimeZone
-
Queries if the given date
is in Daylight Saving Time in
this time zone.
- indexOf(int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of
the specified character.
- indexOf(int, int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the
specified character, starting the search at the specified index.
- indexOf(String) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the
specified substring.
- indexOf(String, int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
- indexOf(String) - Method in class java.lang.StringBuffer
-
- indexOf(String, int) - Method in class java.lang.StringBuffer
-
- indexOf(String) - Method in class java.lang.StringBuilder
-
- indexOf(String, int) - Method in class java.lang.StringBuilder
-
- indexOf(Object) - Method in class java.util.AbstractList
-
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- indexOf(Object) - Method in class java.util.ArrayList
-
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- indexOf(Object) - Method in class java.util.LinkedList
-
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- indexOf(Object) - Method in interface java.util.List
-
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- indexOf(Object) - Method in class java.util.Vector
-
Returns the index of the first occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
- indexOf(Object, int) - Method in class java.util.Vector
-
Returns the index of the first occurrence of the specified element in
this vector, searching forwards from index
, or returns -1 if
the element is not found.
- indexOfSubList(List<?>, List<?>) - Static method in class java.util.Collections
-
Returns the starting position of the first occurrence of the specified
target list within the specified source list, or -1 if there is no
such occurrence.
- IndexOutOfBoundsException - Exception in java.lang
-
Thrown to indicate that an index of some sort (such as to an array, to a
string, or to a vector) is out of range.
- IndexOutOfBoundsException() - Constructor for exception java.lang.IndexOutOfBoundsException
-
Constructs an IndexOutOfBoundsException
with no
detail message.
- IndexOutOfBoundsException(String) - Constructor for exception java.lang.IndexOutOfBoundsException
-
Constructs an IndexOutOfBoundsException
with the
specified detail message.
- INFO - Static variable in class java.util.logging.Level
-
INFO is a message level for informational messages.
- Inherited - Annotation Type in java.lang.annotation
-
Indicates that an annotation type is automatically inherited.
- initCause(Throwable) - Method in class java.lang.Throwable
-
Initializes the cause of this throwable to the specified value.
- 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
-
- InputStreamReader - Class in java.io
-
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified charset
.
- InputStreamReader(InputStream) - Constructor for class java.io.InputStreamReader
-
Creates an InputStreamReader that uses the default charset.
- InputStreamReader(InputStream, String) - Constructor for class java.io.InputStreamReader
-
Creates an InputStreamReader that uses the named charset.
- insert(int, char[], int, int) - Method in class java.lang.StringBuffer
-
- insert(int, Object) - Method in class java.lang.StringBuffer
-
- insert(int, String) - Method in class java.lang.StringBuffer
-
- insert(int, char[]) - Method in class java.lang.StringBuffer
-
- insert(int, CharSequence) - Method in class java.lang.StringBuffer
-
- insert(int, CharSequence, int, int) - Method in class java.lang.StringBuffer
-
- insert(int, boolean) - Method in class java.lang.StringBuffer
-
- insert(int, char) - Method in class java.lang.StringBuffer
-
- insert(int, int) - Method in class java.lang.StringBuffer
-
- insert(int, long) - Method in class java.lang.StringBuffer
-
- insert(int, float) - Method in class java.lang.StringBuffer
-
- insert(int, double) - Method in class java.lang.StringBuffer
-
- insert(int, char[], int, int) - Method in class java.lang.StringBuilder
-
- insert(int, Object) - Method in class java.lang.StringBuilder
-
- insert(int, String) - Method in class java.lang.StringBuilder
-
- insert(int, char[]) - Method in class java.lang.StringBuilder
-
- insert(int, CharSequence) - Method in class java.lang.StringBuilder
-
- insert(int, CharSequence, int, int) - Method in class java.lang.StringBuilder
-
- insert(int, boolean) - Method in class java.lang.StringBuilder
-
- insert(int, char) - Method in class java.lang.StringBuilder
-
- insert(int, int) - Method in class java.lang.StringBuilder
-
- insert(int, long) - Method in class java.lang.StringBuilder
-
- insert(int, float) - Method in class java.lang.StringBuilder
-
- insert(int, double) - Method in class java.lang.StringBuilder
-
- insertElementAt(E, int) - Method in class java.util.Vector
-
Inserts the specified object as a component in this vector at the
specified index
.
- InstantiationException - Exception in java.lang
-
Thrown when an application tries to create an instance of a class
using the newInstance
method in class
Class
, but the specified class object cannot be
instantiated.
- InstantiationException() - Constructor for exception java.lang.InstantiationException
-
Constructs an InstantiationException
with no detail message.
- InstantiationException(String) - Constructor for exception java.lang.InstantiationException
-
Constructs an InstantiationException
with the
specified detail message.
- intBitsToFloat(int) - Static method in class java.lang.Float
-
Returns the float
value corresponding to a given
bit representation.
- IntBuffer - Class in java.nio
-
An int buffer.
- Integer - Class in java.lang
-
The Integer
class wraps a value of the primitive type
int
in an object.
- Integer(int) - Constructor for class java.lang.Integer
-
Constructs a newly allocated Integer
object that
represents the specified int
value.
- Integer(String) - Constructor for class java.lang.Integer
-
Constructs a newly allocated Integer
object that
represents the int
value indicated by the
String
parameter.
- intern() - Method in class java.lang.String
-
Returns a canonical representation for the string object.
- internalGet(int) - Method in class java.util.Calendar
-
Returns the value of the given calendar field.
- interrupt() - Method in class java.lang.Thread
-
Interrupts this thread.
- interrupted() - Static method in class java.lang.Thread
-
Tests whether the current thread has been interrupted.
- InterruptedException - Exception in java.lang
-
Thrown when a thread is waiting, sleeping, or otherwise occupied,
and the thread is interrupted, either before or during the activity.
- InterruptedException() - Constructor for exception java.lang.InterruptedException
-
Constructs an InterruptedException
with no detail message.
- InterruptedException(String) - Constructor for exception java.lang.InterruptedException
-
Constructs an InterruptedException
with the
specified detail message.
- InterruptedIOException - Exception in java.io
-
Signals that an I/O operation has been interrupted.
- InterruptedIOException() - Constructor for exception java.io.InterruptedIOException
-
Constructs an InterruptedIOException
with
null
as its error detail message.
- InterruptedIOException(String) - Constructor for exception java.io.InterruptedIOException
-
Constructs an InterruptedIOException
with the
specified detail message.
- intValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as an int
after
a widening primitive conversion.
- intValue() - Method in class java.lang.Double
-
Returns the value of this Double
as an int
after a narrowing primitive conversion.
- intValue() - Method in class java.lang.Float
-
Returns the value of this Float
as an int
after
a narrowing primitive conversion.
- intValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as an
int
.
- intValue() - Method in class java.lang.Long
-
Returns the value of this Long
as an int
after
a narrowing primitive conversion.
- intValue() - Method in class java.lang.Number
-
Returns the value of the specified number as an int
,
which may involve rounding or truncation.
- intValue() - Method in class java.lang.Short
-
Returns the value of this Short
as an int
after
a widening primitive conversion.
- intValue() - Method in class java.util.logging.Level
-
Get the integer value for this level.
- InvalidPathException - Exception in java.nio.file
-
Unchecked exception thrown when path string cannot be converted into a
Path
because the path string contains invalid characters, or
the path string is invalid for other file system specific reasons.
- InvalidPathException(String, String, int) - Constructor for exception java.nio.file.InvalidPathException
-
Constructs an instance from the given input string, reason, and error
index.
- InvalidPathException(String, String) - Constructor for exception java.nio.file.InvalidPathException
-
Constructs an instance from the given input string and reason.
- 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.
- IOException(String, Throwable) - Constructor for exception java.io.IOException
-
Constructs an IOException
with the specified detail message
and cause.
- IOException(Throwable) - Constructor for exception java.io.IOException
-
Constructs an IOException
with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause
).
- ioException() - Method in class java.util.Formatter
-
Returns the
IOException
last thrown by this formatter's
Appendable
.
- isAbsolute() - Method in interface java.nio.file.Path
-
Tells whether or not this path is absolute.
- isAlive() - Method in class java.lang.Thread
-
Tests if this thread is alive.
- isArray() - Method in class java.lang.Class
-
Determines if this Class
object represents an array class.
- isAssignableFrom(Class<?>) - Method in class java.lang.Class
-
Determines if the class or interface represented by this
Class
object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class
parameter.
- isDigit(char) - Static method in class java.lang.Character
-
Determines if the specified character is a digit.
- isDirect() - Method in class java.nio.ByteBuffer
-
Tells whether or not this byte buffer is direct.
- isDirect() - Method in class java.nio.FloatBuffer
-
Tells whether or not this float buffer is direct.
- isDirect() - Method in class java.nio.IntBuffer
-
Tells whether or not this int buffer is direct.
- isDirect() - Method in class java.nio.ShortBuffer
-
Tells whether or not this short buffer is direct.
- isDirectory() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Tells whether the file is a directory.
- isDirectory(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Tests whether a file is a directory.
- isEmpty() - Method in class java.lang.String
-
- isEmpty() - Method in class java.util.AbstractCollection
-
Returns true if this collection contains no elements.
- isEmpty() - Method in class java.util.AbstractMap
-
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in class java.util.ArrayDeque
-
Returns true
if this deque contains no elements.
- isEmpty() - Method in class java.util.ArrayList
-
Returns true if this list contains no elements.
- isEmpty() - Method in interface java.util.Collection
-
Returns true if this collection contains no elements.
- isEmpty() - Method in class java.util.HashMap
-
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in class java.util.HashSet
-
Returns true if this set contains no elements.
- isEmpty() - Method in class java.util.Hashtable
-
Tests if this hashtable maps no keys to values.
- isEmpty() - Method in interface java.util.List
-
Returns true if this list contains no elements.
- isEmpty() - Method in interface java.util.Map
-
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in interface java.util.Set
-
Returns true if this set contains no elements.
- isEmpty() - Method in class java.util.Vector
-
Tests if this vector has no components.
- isEmpty() - Method in class java.util.WeakHashMap
-
Returns true if this map contains no key-value mappings.
- isEnqueued() - Method in class java.lang.ref.Reference
-
Tells whether or not this reference object has been enqueued, either by
the program or by the garbage collector.
- isHidden(Path) - Static method in class java.nio.file.Files
-
Tells whether or not a file is considered hidden.
- isInfinite(double) - Static method in class java.lang.Double
-
Returns true
if the specified number is infinitely
large in magnitude, false
otherwise.
- isInfinite() - Method in class java.lang.Double
-
Returns true
if this Double
value is
infinitely large in magnitude, false
otherwise.
- isInfinite(float) - Static method in class java.lang.Float
-
Returns true
if the specified number is infinitely
large in magnitude, false
otherwise.
- isInfinite() - Method in class java.lang.Float
-
Returns true
if this Float
value is
infinitely large in magnitude, false
otherwise.
- isInstance(Object) - Method in class java.lang.Class
-
Determines if the specified Object
is assignment-compatible
with the object represented by this Class
.
- isInterface() - Method in class java.lang.Class
-
Determines if the specified Class
object represents an
interface type.
- isInterrupted() - Method in class java.lang.Thread
-
Tests whether this thread has been interrupted.
- isISOControl(char) - Static method in class java.lang.Character
-
Determines if the specified character is an ISO control
character.
- isLenient() - Method in class java.util.Calendar
-
Tells whether date/time interpretation is to be lenient.
- isLoggable(LogRecord) - Method in interface java.util.logging.Filter
-
Check if a given log record should be published.
- isLoggable(LogRecord) - Method in class java.util.logging.Handler
-
Check if this Handler would actually log a given LogRecord.
- isLoggable(Level) - Method in class java.util.logging.Logger
-
Check if a message of the given level would actually be logged
by this logger.
- isLoggable(LogRecord) - Method in class java.util.logging.StreamHandler
-
Check if this Handler would actually log a given LogRecord.
- isLowerCase(char) - Static method in class java.lang.Character
-
Determines if the specified character is a lowercase character.
- isNaN(double) - Static method in class java.lang.Double
-
Returns true
if the specified number is a
Not-a-Number (NaN) value, false
otherwise.
- isNaN() - Method in class java.lang.Double
-
Returns true
if this Double
value is
a Not-a-Number (NaN), false
otherwise.
- isNaN(float) - Static method in class java.lang.Float
-
Returns true
if the specified number is a
Not-a-Number (NaN) value, false
otherwise.
- isNaN() - Method in class java.lang.Float
-
Returns true
if this Float
value is a
Not-a-Number (NaN), false
otherwise.
- isOpen() - Method in interface java.nio.channels.Channel
-
Tells whether or not this channel is open.
- isOpen() - Method in class java.nio.channels.FileChannel
-
- isOpen() - Method in class java.nio.file.FileSystem
-
Tells whether or not this file system is open.
- isOther() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Tells whether the file is something other than a regular file, directory,
or symbolic link.
- isReadable(Path) - Static method in class java.nio.file.Files
-
Tests whether a file is readable.
- isReadOnly() - Method in class java.nio.file.FileStore
-
Tells whether this file store is read-only.
- isReadOnly() - Method in class java.nio.file.FileSystem
-
Tells whether or not this file system allows only read-only access to
its file stores.
- isReadOnly() - Method in class java.security.PermissionCollection
-
Returns true if this PermissionCollection object is marked as readonly.
- isRegularFile() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Tells whether the file is a regular file with opaque content.
- isRegularFile(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Tests whether a file is a regular file with opaque content.
- isSameFile(Path, Path) - Static method in class java.nio.file.Files
-
Tests if two paths locate the same file.
- isSet - Variable in class java.util.Calendar
-
The flags which tell if a specified calendar field for the calendar is set.
- isSet(int) - Method in class java.util.Calendar
-
Determines if the given calendar field has a value set,
including cases that the value has been set by internal fields
calculations triggered by a get
method call.
- isSpaceChar(char) - Static method in class java.lang.Character
-
Determines if the specified character is a Unicode space character.
- isSymbolicLink() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Tells whether the file is a symbolic link.
- isTimeSet - Variable in class java.util.Calendar
-
True if then the value of time
is valid.
- isUpperCase(char) - Static method in class java.lang.Character
-
Determines if the specified character is an uppercase character.
- isWhitespace(char) - Static method in class java.lang.Character
-
Determines if the specified character is white space according to Java.
- isWritable(Path) - Static method in class java.nio.file.Files
-
Tests whether a file is writable.
- Iterable<T> - Interface in java.lang
-
Implementing this interface allows an object to be the target of
the "for-each loop" statement.
- iterator() - Method in interface java.lang.Iterable
-
Returns an iterator over elements of type T
.
- iterator() - Method in interface java.nio.file.DirectoryStream
-
Returns the iterator associated with this DirectoryStream
.
- iterator() - Method in interface java.nio.file.Path
-
Returns an iterator over the name elements of this path.
- iterator() - Method in class java.util.AbstractCollection
-
Returns an iterator over the elements contained in this collection.
- iterator() - Method in class java.util.AbstractList
-
Returns an iterator over the elements in this list in proper sequence.
- iterator() - Method in class java.util.AbstractSequentialList
-
Returns an iterator over the elements in this list (in proper
sequence).
- iterator() - Method in class java.util.ArrayDeque
-
Returns an iterator over the elements in this deque.
- iterator() - Method in class java.util.ArrayList
-
Returns an iterator over the elements in this list in proper sequence.
- iterator() - Method in interface java.util.Collection
-
Returns an iterator over the elements in this collection.
- iterator() - Method in interface java.util.Deque
-
Returns an iterator over the elements in this deque in proper sequence.
- iterator() - Method in class java.util.HashSet
-
Returns an iterator over the elements in this set.
- Iterator<E> - Interface in java.util
-
An iterator over a collection.
- iterator() - Method in interface java.util.List
-
Returns an iterator over the elements in this list in proper sequence.
- iterator() - Method in class java.util.ServiceLoader
-
Lazily loads the available providers of this loader's service.
- iterator() - Method in interface java.util.Set
-
Returns an iterator over the elements in this set.
- lastAccessTime() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Returns the time of last access.
- lastElement() - Method in class java.util.Vector
-
Returns the last component of the vector.
- lastIndexOf(int) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of
the specified character.
- lastIndexOf(int, int) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of
the specified character, searching backward starting at the
specified index.
- lastIndexOf(String) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of the
specified substring.
- lastIndexOf(String, int) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of the
specified substring, searching backward starting at the specified index.
- lastIndexOf(String) - Method in class java.lang.StringBuffer
-
- lastIndexOf(String, int) - Method in class java.lang.StringBuffer
-
- lastIndexOf(String) - Method in class java.lang.StringBuilder
-
- lastIndexOf(String, int) - Method in class java.lang.StringBuilder
-
- lastIndexOf(Object) - Method in class java.util.AbstractList
-
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- lastIndexOf(Object) - Method in class java.util.ArrayList
-
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- lastIndexOf(Object) - Method in class java.util.LinkedList
-
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- lastIndexOf(Object) - Method in interface java.util.List
-
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
- lastIndexOf(Object) - Method in class java.util.Vector
-
Returns the index of the last occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
- lastIndexOf(Object, int) - Method in class java.util.Vector
-
Returns the index of the last occurrence of the specified element in
this vector, searching backwards from index
, or returns -1 if
the element is not found.
- lastIndexOfSubList(List<?>, List<?>) - Static method in class java.util.Collections
-
Returns the starting position of the last occurrence of the specified
target list within the specified source list, or -1 if there is no such
occurrence.
- lastModifiedTime() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Returns the time of last modification.
- length() - Method in interface java.lang.CharSequence
-
Returns the length of this character sequence.
- length() - Method in class java.lang.String
-
Returns the length of this string.
- length() - Method in class java.lang.StringBuffer
-
- Level - Class in java.util.logging
-
The Level class defines a set of standard logging levels that can be used to
control logging output.
- Level(String, int) - Constructor for class java.util.logging.Level
-
Create a named Level with a given integer value.
- limit() - Method in class java.nio.Buffer
-
Returns this buffer's limit.
- limit(int) - Method in class java.nio.Buffer
-
Sets this buffer's limit.
- LinkageError - Error in java.lang
-
Subclasses of LinkageError
indicate that a class has
some dependency on another class; however, the latter class has
incompatibly changed after the compilation of the former class.
- LinkageError() - Constructor for error java.lang.LinkageError
-
Constructs a LinkageError
with no detail message.
- LinkageError(String) - Constructor for error java.lang.LinkageError
-
Constructs a LinkageError
with the specified detail
message.
- LinkedHashMap<K,V> - Class in java.util
-
Hash table and linked list implementation of the Map interface,
with predictable iteration order.
- LinkedHashMap(int, float) - Constructor for class java.util.LinkedHashMap
-
Constructs an empty insertion-ordered LinkedHashMap instance
with the specified initial capacity and load factor.
- LinkedHashMap(int) - Constructor for class java.util.LinkedHashMap
-
Constructs an empty insertion-ordered LinkedHashMap instance
with the specified initial capacity and a default load factor (0.75).
- LinkedHashMap() - Constructor for class java.util.LinkedHashMap
-
Constructs an empty insertion-ordered LinkedHashMap instance
with the default initial capacity (16) and load factor (0.75).
- LinkedHashMap(Map<? extends K, ? extends V>) - Constructor for class java.util.LinkedHashMap
-
Constructs an insertion-ordered LinkedHashMap instance with
the same mappings as the specified map.
- LinkedHashMap(int, float, boolean) - Constructor for class java.util.LinkedHashMap
-
Constructs an empty LinkedHashMap instance with the
specified initial capacity, load factor and ordering mode.
- LinkedHashSet<E> - Class in java.util
-
Hash table and linked list implementation of the Set interface,
with predictable iteration order.
- LinkedHashSet(int, float) - Constructor for class java.util.LinkedHashSet
-
Constructs a new, empty linked hash set with the specified initial
capacity and load factor.
- LinkedHashSet(int) - Constructor for class java.util.LinkedHashSet
-
Constructs a new, empty linked hash set with the specified initial
capacity and the default load factor (0.75).
- LinkedHashSet() - Constructor for class java.util.LinkedHashSet
-
Constructs a new, empty linked hash set with the default initial
capacity (16) and load factor (0.75).
- LinkedHashSet(Collection<? extends E>) - Constructor for class java.util.LinkedHashSet
-
Constructs a new linked hash set with the same elements as the
specified collection.
- LinkedList<E> - Class in java.util
-
Doubly-linked list implementation of the List
and Deque
interfaces.
- LinkedList() - Constructor for class java.util.LinkedList
-
Constructs an empty list.
- LinkedList(Collection<? extends E>) - Constructor for class java.util.LinkedList
-
Constructs a list containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.
- LinkOption - Enum in java.nio.file
-
Defines the options as to how symbolic links are handled.
- list(Enumeration<T>) - Static method in class java.util.Collections
-
Returns an array list containing the elements returned by the
specified enumeration in the order they are returned by the
enumeration.
- List<E> - Interface in java.util
-
An ordered collection (also known as a sequence).
- list(PrintStream) - Method in class java.util.Properties
-
Prints this property list out to the specified output stream.
- listIterator() - Method in class java.util.AbstractList
-
Returns a list iterator over the elements in this list (in proper
sequence).
- listIterator(int) - Method in class java.util.AbstractList
-
Returns a list iterator over the elements in this list (in proper
sequence), starting at the specified position in the list.
- listIterator(int) - Method in class java.util.AbstractSequentialList
-
Returns a list iterator over the elements in this list (in proper
sequence).
- listIterator(int) - Method in class java.util.ArrayList
-
Returns a list iterator over the elements in this list (in proper
sequence), starting at the specified position in the list.
- listIterator() - Method in class java.util.ArrayList
-
Returns a list iterator over the elements in this list (in proper
sequence).
- listIterator(int) - Method in class java.util.LinkedList
-
Returns a list-iterator of the elements in this list (in proper
sequence), starting at the specified position in the list.
- listIterator() - Method in interface java.util.List
-
Returns a list iterator over the elements in this list (in proper
sequence).
- listIterator(int) - Method in interface java.util.List
-
Returns a list iterator over the elements in this list (in proper
sequence), starting at the specified position in the list.
- ListIterator<E> - Interface in java.util
-
An iterator for lists that allows the programmer
to traverse the list in either direction, modify
the list during iteration, and obtain the iterator's
current position in the list.
- LITTLE_ENDIAN - Static variable in class java.nio.ByteOrder
-
Constant denoting little-endian byte order.
- load(Reader) - Method in class java.util.Properties
-
Reads a property list (key and element pairs) from the input
character stream in a simple line-oriented format.
- load(InputStream) - Method in class java.util.Properties
-
Reads a property list (key and element pairs) from the input
byte stream.
- load(Class<S>) - Static method in class java.util.ServiceLoader
-
Creates a new service loader for the given service type.
- lock - Variable in class java.io.Reader
-
The object used to synchronize operations on this stream.
- lock - Variable in class java.io.Writer
-
The object used to synchronize operations on this stream.
- log(LogRecord) - Method in class java.util.logging.Logger
-
Log a LogRecord.
- log(Level, String) - Method in class java.util.logging.Logger
-
Log a message, with no arguments.
- log(Level, String, Object) - Method in class java.util.logging.Logger
-
Log a message, with one object parameter.
- log(Level, String, Object[]) - Method in class java.util.logging.Logger
-
Log a message, with an array of object arguments.
- log(Level, String, Throwable) - Method in class java.util.logging.Logger
-
Log a message, with associated Throwable information.
- Logger - Class in java.util.logging
-
A Logger object is used to log messages for a specific
system or application component.
- LoggingPermission - Class in java.util.logging
-
The permission which the SecurityManager will check when code
that is running with a SecurityManager calls one of the logging
control methods (such as Logger.setLevel).
- LoggingPermission(String, String) - Constructor for class java.util.logging.LoggingPermission
-
Creates a new LoggingPermission object.
- LogManager - Class in java.util.logging
-
There is a single global LogManager object that is used to
maintain a set of shared state about Loggers and log services.
- LogManager() - Constructor for class java.util.logging.LogManager
-
Protected constructor.
- logp(Level, String, String, String) - Method in class java.util.logging.Logger
-
Log a message, specifying source class and method,
with no arguments.
- logp(Level, String, String, String, Object) - Method in class java.util.logging.Logger
-
Log a message, specifying source class and method,
with a single object parameter to the log message.
- logp(Level, String, String, String, Object[]) - Method in class java.util.logging.Logger
-
Log a message, specifying source class and method,
with an array of object arguments.
- logp(Level, String, String, String, Throwable) - Method in class java.util.logging.Logger
-
Log a message, specifying source class and method,
with associated Throwable information.
- LogRecord - Class in java.util.logging
-
LogRecord objects are used to pass logging requests between
the logging framework and individual log Handlers.
- LogRecord(Level, String) - Constructor for class java.util.logging.LogRecord
-
Construct a LogRecord with the given level and message values.
- Long - Class in java.lang
-
The Long
class wraps a value of the primitive type long
in an object.
- Long(long) - Constructor for class java.lang.Long
-
Constructs a newly allocated Long
object that
represents the specified long
argument.
- Long(String) - Constructor for class java.lang.Long
-
Constructs a newly allocated Long
object that
represents the long
value indicated by the
String
parameter.
- LONG - Static variable in class java.util.TimeZone
-
A style specifier for getDisplayName()
indicating
a long name, such as "Pacific Standard Time."
- longBitsToDouble(long) - Static method in class java.lang.Double
-
Returns the double
value corresponding to a given
bit representation.
- longValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a long
after
a widening primitive conversion.
- longValue() - Method in class java.lang.Double
-
Returns the value of this Double
as a long
after a narrowing primitive conversion.
- longValue() - Method in class java.lang.Float
-
Returns value of this Float
as a long
after a
narrowing primitive conversion.
- longValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a long
after a widening primitive conversion.
- longValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a
long
value.
- longValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a long
,
which may involve rounding or truncation.
- longValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a long
after
a widening primitive conversion.
- lowestOneBit(int) - Static method in class java.lang.Integer
-
Returns an int
value with at most a single one-bit, in the
position of the lowest-order ("rightmost") one-bit in the specified
int
value.
- lowestOneBit(long) - Static method in class java.lang.Long
-
Returns a long
value with at most a single one-bit, in the
position of the lowest-order ("rightmost") one-bit in the specified
long
value.
- Map<K,V> - Interface in java.util
-
An object that maps keys to values.
- Map.Entry<K,V> - Interface in java.util
-
A map entry (key-value pair).
- MARCH - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
third month of the year in the Gregorian and Julian calendars.
- mark(int) - Method in class java.io.BufferedReader
-
Marks the present position in the stream.
- mark - Variable in class java.io.ByteArrayInputStream
-
The currently marked position in the stream.
- mark(int) - Method in class java.io.ByteArrayInputStream
-
Set the current marked position in the stream.
- mark(int) - Method in class java.io.DataInputStream
-
Marks the current position in this input stream.
- mark(int) - Method in class java.io.InputStream
-
Marks the current position in this input stream.
- mark(int) - Method in class java.io.Reader
-
Marks the present position in the stream.
- markSupported() - Method in class java.io.BufferedReader
-
Tells whether this stream supports the mark() operation, which it does.
- markSupported() - Method in class java.io.ByteArrayInputStream
-
Tests if this InputStream
supports mark/reset.
- markSupported() - Method in class java.io.DataInputStream
-
Tests if this input stream supports the mark
and reset
methods.
- markSupported() - Method in class java.io.InputStream
-
Tests if this input stream supports the mark
and
reset
methods.
- markSupported() - Method in class java.io.Reader
-
Tells whether this stream supports the mark() operation.
- Math - Class in java.lang
-
The class Math
contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions.
- max(int, int) - Static method in class java.lang.Math
-
Returns the greater of two int
values.
- max(long, long) - Static method in class java.lang.Math
-
Returns the greater of two long
values.
- max(float, float) - Static method in class java.lang.Math
-
Returns the greater of two float
values.
- max(double, double) - Static method in class java.lang.Math
-
Returns the greater of two double
values.
- max(Collection<? extends T>) - Static method in class java.util.Collections
-
Returns the maximum element of the given collection, according to the
natural ordering of its elements.
- max(Collection<? extends T>, Comparator<? super T>) - Static method in class java.util.Collections
-
Returns the maximum element of the given collection, according to the
order induced by the specified comparator.
- MAX_EXPONENT - Static variable in class java.lang.Double
-
Maximum exponent a finite double
variable may have.
- MAX_EXPONENT - Static variable in class java.lang.Float
-
Maximum exponent a finite float
variable may have.
- MAX_PRIORITY - Static variable in class java.lang.Thread
-
The maximum priority that a thread can have.
- MAX_RADIX - Static variable in class java.lang.Character
-
The maximum radix available for conversion to and from strings.
- MAX_VALUE - Static variable in class java.lang.Byte
-
A constant holding the maximum value a byte
can
have, 27-1.
- MAX_VALUE - Static variable in class java.lang.Character
-
The constant value of this field is the largest value of type
char
, '\uFFFF'
.
- MAX_VALUE - Static variable in class java.lang.Double
-
A constant holding the largest positive finite value of type
double
,
(2-2-52)·21023.
- MAX_VALUE - Static variable in class java.lang.Float
-
A constant holding the largest positive finite value of type
float
, (2-2-23)·2127.
- MAX_VALUE - Static variable in class java.lang.Integer
-
A constant holding the maximum value an int
can
have, 231-1.
- MAX_VALUE - Static variable in class java.lang.Long
-
A constant holding the maximum value a long
can
have, 263-1.
- MAX_VALUE - Static variable in class java.lang.Short
-
A constant holding the maximum value a short
can
have, 215-1.
- maxMemory() - Method in class java.lang.Runtime
-
Returns the maximum amount of memory that the Java virtual machine will
attempt to use.
- MAY - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
fifth month of the year in the Gregorian and Julian calendars.
- MILLISECOND - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
millisecond within the second.
- min(int, int) - Static method in class java.lang.Math
-
Returns the smaller of two int
values.
- min(long, long) - Static method in class java.lang.Math
-
Returns the smaller of two long
values.
- min(float, float) - Static method in class java.lang.Math
-
Returns the smaller of two float
values.
- min(double, double) - Static method in class java.lang.Math
-
Returns the smaller of two double
values.
- min(Collection<? extends T>) - Static method in class java.util.Collections
-
Returns the minimum element of the given collection, according to the
natural ordering of its elements.
- min(Collection<? extends T>, Comparator<? super T>) - Static method in class java.util.Collections
-
Returns the minimum element of the given collection, according to the
order induced by the specified comparator.
- MIN_EXPONENT - Static variable in class java.lang.Double
-
Minimum exponent a normalized double
variable may
have.
- MIN_EXPONENT - Static variable in class java.lang.Float
-
Minimum exponent a normalized float
variable may have.
- MIN_NORMAL - Static variable in class java.lang.Double
-
A constant holding the smallest positive normal value of type
double
, 2-1022.
- MIN_NORMAL - Static variable in class java.lang.Float
-
A constant holding the smallest positive normal value of type
float
, 2-126.
- MIN_PRIORITY - Static variable in class java.lang.Thread
-
The minimum priority that a thread can have.
- MIN_RADIX - Static variable in class java.lang.Character
-
The minimum radix available for conversion to and from strings.
- MIN_VALUE - Static variable in class java.lang.Byte
-
A constant holding the minimum value a byte
can
have, -27.
- MIN_VALUE - Static variable in class java.lang.Character
-
The constant value of this field is the smallest value of type
char
, '\u0000'
.
- MIN_VALUE - Static variable in class java.lang.Double
-
A constant holding the smallest positive nonzero value of type
double
, 2-1074.
- MIN_VALUE - Static variable in class java.lang.Float
-
A constant holding the smallest positive nonzero value of type
float
, 2-149.
- MIN_VALUE - Static variable in class java.lang.Integer
-
A constant holding the minimum value an int
can
have, -231.
- MIN_VALUE - Static variable in class java.lang.Long
-
A constant holding the minimum value a long
can
have, -263.
- MIN_VALUE - Static variable in class java.lang.Short
-
A constant holding the minimum value a short
can
have, -215.
- MINUTE - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
minute within the hour.
- modCount - Variable in class java.util.AbstractList
-
The number of times this list has been structurally modified.
- MONDAY - Static variable in class java.util.Calendar
-
- MONTH - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
month.
- move(Path, Path, CopyOption...) - Static method in class java.nio.file.Files
-
Move or rename a file to a target file.
- name() - Method in class java.lang.Enum
-
Returns the name of this enum constant, exactly as declared in its
enum declaration.
- name() - Method in interface java.nio.file.attribute.FileAttribute
-
Returns the attribute name.
- name() - Method in class java.nio.file.FileStore
-
Returns the name of this file store.
- NaN - Static variable in class java.lang.Double
-
A constant holding a Not-a-Number (NaN) value of type
double
.
- NaN - Static variable in class java.lang.Float
-
A constant holding a Not-a-Number (NaN) value of type
float
.
- nanoTime() - Static method in class java.lang.System
-
Returns the current value of the running Java Virtual Machine's
high-resolution time source, in nanoseconds.
- Native - Annotation Type in java.lang.annotation
-
Indicates that a field defining a constant value may be referenced
from native code.
- nativeOrder() - Static method in class java.nio.ByteOrder
-
Retrieves the native byte order of the underlying platform.
- NEGATIVE_INFINITY - Static variable in class java.lang.Double
-
A constant holding the negative infinity of type
double
.
- NEGATIVE_INFINITY - Static variable in class java.lang.Float
-
A constant holding the negative infinity of type
float
.
- NegativeArraySizeException - Exception in java.lang
-
Thrown if an application tries to create an array with negative size.
- NegativeArraySizeException() - Constructor for exception java.lang.NegativeArraySizeException
-
Constructs a NegativeArraySizeException
with no
detail message.
- NegativeArraySizeException(String) - Constructor for exception java.lang.NegativeArraySizeException
-
Constructs a NegativeArraySizeException
with the
specified detail message.
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning a seekable byte channel to access the
file.
- newByteChannel(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning a seekable byte channel to access the
file.
- newChannel(InputStream) - Static method in class java.nio.channels.Channels
-
Constructs a channel that reads bytes from the given stream.
- newChannel(OutputStream) - Static method in class java.nio.channels.Channels
-
Constructs a channel that writes bytes to the given stream.
- newDirectoryStream(Path) - Static method in class java.nio.file.Files
-
Opens a directory, returning a
DirectoryStream
to iterate over
all entries in the directory.
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Static method in class java.nio.file.Files
-
Opens a directory, returning a
DirectoryStream
to iterate over
the entries in the directory.
- newInputStream(ReadableByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that reads bytes from the given channel.
- newInputStream(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens a file, returning an input stream to read from the file.
- newInstance() - Method in class java.lang.Class
-
Creates a new instance of the class represented by this Class
object.
- newLine() - Method in class java.io.BufferedWriter
-
Writes a line separator.
- newOutputStream(WritableByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that writes bytes to the given channel.
- newOutputStream(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning an output stream that may be used to
write bytes to the file.
- newPermissionCollection() - Method in class java.io.FilePermission
-
Returns a new PermissionCollection object for storing FilePermission
objects.
- newPermissionCollection() - Method in class java.security.BasicPermission
-
Returns a new PermissionCollection object for storing BasicPermission
objects.
- newPermissionCollection() - Method in class java.security.Permission
-
Returns an empty PermissionCollection for a given Permission object, or null if
one is not defined.
- newPermissionCollection() - Method in class java.util.PropertyPermission
-
Returns a new PermissionCollection object for storing
PropertyPermission objects.
- next() - Method in interface java.util.Iterator
-
Returns the next element in the iteration.
- next() - Method in interface java.util.ListIterator
-
Returns the next element in the list and advances the cursor position.
- next(int) - Method in class java.util.Random
-
Generates the next pseudorandom number.
- nextBoolean() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
boolean
value from this random number generator's
sequence.
- nextBytes(byte[]) - Method in class java.util.Random
-
Generates random bytes and places them into a user-supplied
byte array.
- nextDouble() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
double
value between 0.0
and
1.0
from this random number generator's sequence.
- nextElement() - Method in interface java.util.Enumeration
-
Returns the next element of this enumeration if this enumeration
object has at least one more element to provide.
- nextElement() - Method in class java.util.StringTokenizer
-
Returns the same value as the nextToken
method,
except that its declared return value is Object
rather than
String
.
- nextFloat() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed float
value between 0.0
and 1.0
from this random
number generator's sequence.
- nextGaussian() - Method in class java.util.Random
-
Returns the next pseudorandom, Gaussian ("normally") distributed
double
value with mean 0.0
and standard
deviation 1.0
from this random number generator's sequence.
- nextIndex() - Method in interface java.util.ListIterator
-
Returns the index of the element that would be returned by a
subsequent call to
ListIterator.next()
.
- nextInt() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed int
value from this random number generator's sequence.
- nextInt(int) - Method in class java.util.Random
-
Returns a pseudorandom, uniformly distributed int
value
between 0 (inclusive) and the specified value (exclusive), drawn from
this random number generator's sequence.
- nextLong() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed long
value from this random number generator's sequence.
- nextToken() - Method in class java.util.StringTokenizer
-
Returns the next token from this string tokenizer.
- nextToken(String) - Method in class java.util.StringTokenizer
-
Returns the next token in this string tokenizer's string.
- NoClassDefFoundError - Error in java.lang
-
Thrown if the Java Virtual Machine
tries to load in the definition of a class (as part of a normal method call
or as part of creating a new instance using the new
expression)
and no definition of the class could be found.
- NoClassDefFoundError() - Constructor for error java.lang.NoClassDefFoundError
-
Constructs a NoClassDefFoundError
with no detail message.
- NoClassDefFoundError(String) - Constructor for error java.lang.NoClassDefFoundError
-
Constructs a NoClassDefFoundError
with the specified
detail message.
- NonReadableChannelException - Exception in java.nio.channels
-
Unchecked exception thrown when an attempt is made to read
from a channel that was not originally opened for reading.
- NonReadableChannelException() - Constructor for exception java.nio.channels.NonReadableChannelException
-
Constructs an instance of this class.
- NonWritableChannelException - Exception in java.nio.channels
-
Unchecked exception thrown when an attempt is made to write
to a channel that was not originally opened for writing.
- NonWritableChannelException() - Constructor for exception java.nio.channels.NonWritableChannelException
-
Constructs an instance of this class.
- NORM_PRIORITY - Static variable in class java.lang.Thread
-
The default priority that is assigned to a thread.
- normalize() - Method in interface java.nio.file.Path
-
Returns a path that is this path with redundant name elements eliminated.
- NoRouteToHostException - Exception in java.net
-
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
- NoRouteToHostException(String) - Constructor for exception java.net.NoRouteToHostException
-
Constructs a new NoRouteToHostException with the specified detail
message as to why the remote host cannot be reached.
- NoRouteToHostException() - Constructor for exception java.net.NoRouteToHostException
-
Construct a new NoRouteToHostException with no detailed message.
- NoSuchElementException - Exception in java.util
-
Thrown by various accessor methods to indicate that the element being requested
does not exist.
- NoSuchElementException() - Constructor for exception java.util.NoSuchElementException
-
Constructs a NoSuchElementException
with null
as its error message string.
- NoSuchElementException(String) - Constructor for exception java.util.NoSuchElementException
-
Constructs a NoSuchElementException
, saving a reference
to the error message string s for later retrieval by the
getMessage method.
- NoSuchFieldError - Error in java.lang
-
Thrown if an application tries to access or modify a specified
field of an object, and that object no longer has that field.
- NoSuchFieldError() - Constructor for error java.lang.NoSuchFieldError
-
Constructs a NoSuchFieldError
with no detail message.
- NoSuchFieldError(String) - Constructor for error java.lang.NoSuchFieldError
-
Constructs a NoSuchFieldError
with the specified
detail message.
- NoSuchFileException - Exception in java.nio.file
-
Checked exception thrown when an attempt is made to access a file that does
not exist.
- NoSuchFileException(String) - Constructor for exception java.nio.file.NoSuchFileException
-
Constructs an instance of this class.
- NoSuchFileException(String, String, String) - Constructor for exception java.nio.file.NoSuchFileException
-
Constructs an instance of this class.
- NotDirectoryException - Exception in java.nio.file
-
Checked exception thrown when a file system operation, intended for a
directory, fails because the file is not a directory.
- NotDirectoryException(String) - Constructor for exception java.nio.file.NotDirectoryException
-
Constructs an instance of this class.
- notExists(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Tests whether the file located by this path does not exist.
- notify() - Method in class java.lang.Object
-
Wakes up a single thread that is waiting on this object's
monitor.
- notifyAll() - Method in class java.lang.Object
-
Wakes up all threads that are waiting on this object's monitor.
- NOVEMBER - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
eleventh month of the year in the Gregorian and Julian calendars.
- NullPointerException - Exception in java.lang
-
Thrown when an application attempts to use null
in a
case where an object is required.
- NullPointerException() - Constructor for exception java.lang.NullPointerException
-
Constructs a NullPointerException
with no detail message.
- NullPointerException(String) - Constructor for exception java.lang.NullPointerException
-
Constructs a NullPointerException
with the specified
detail message.
- Number - Class in java.lang
-
The abstract class Number
is the superclass of
Byte
, Double
, Float
,
Integer
, Long
, and Short
.
- Number() - Constructor for class java.lang.Number
-
- NumberFormatException - Exception in java.lang
-
Thrown to indicate that the application has attempted to convert
a string to one of the numeric types, but that the string does not
have the appropriate format.
- NumberFormatException() - Constructor for exception java.lang.NumberFormatException
-
Constructs a NumberFormatException
with no detail message.
- NumberFormatException(String) - Constructor for exception java.lang.NumberFormatException
-
Constructs a NumberFormatException
with the
specified detail message.
- numberOfLeadingZeros(int) - Static method in class java.lang.Integer
-
Returns the number of zero bits preceding the highest-order
("leftmost") one-bit in the two's complement binary representation
of the specified int
value.
- numberOfLeadingZeros(long) - Static method in class java.lang.Long
-
Returns the number of zero bits preceding the highest-order
("leftmost") one-bit in the two's complement binary representation
of the specified long
value.
- numberOfTrailingZeros(int) - Static method in class java.lang.Integer
-
Returns the number of zero bits following the lowest-order ("rightmost")
one-bit in the two's complement binary representation of the specified
int
value.
- numberOfTrailingZeros(long) - Static method in class java.lang.Long
-
Returns the number of zero bits following the lowest-order ("rightmost")
one-bit in the two's complement binary representation of the specified
long
value.
- parse(String) - Static method in class java.util.logging.Level
-
Parse a level name string into a Level.
- parseBoolean(String) - Static method in class java.lang.Boolean
-
Parses the string argument as a boolean.
- parseByte(String, int) - Static method in class java.lang.Byte
-
Parses the string argument as a signed byte
in the
radix specified by the second argument.
- parseByte(String) - Static method in class java.lang.Byte
-
Parses the string argument as a signed decimal byte
.
- parseDouble(String) - Static method in class java.lang.Double
-
Returns a new double
initialized to the value
represented by the specified String
, as performed
by the valueOf
method of class
Double
.
- parseFloat(String) - Static method in class java.lang.Float
-
Returns a new float
initialized to the value
represented by the specified String
, as performed
by the valueOf
method of class Float
.
- parseInt(String, int) - Static method in class java.lang.Integer
-
Parses the string argument as a signed integer in the radix
specified by the second argument.
- parseInt(String) - Static method in class java.lang.Integer
-
Parses the string argument as a signed decimal integer.
- parseLong(String, int) - Static method in class java.lang.Long
-
Parses the string argument as a signed long
in the
radix specified by the second argument.
- parseLong(String) - Static method in class java.lang.Long
-
Parses the string argument as a signed decimal long
.
- parseShort(String, int) - Static method in class java.lang.Short
-
Parses the string argument as a signed short
in the
radix specified by the second argument.
- parseShort(String) - Static method in class java.lang.Short
-
Parses the string argument as a signed decimal short
.
- Path - Interface in java.nio.file
-
An object that may be used to locate a file in a file system.
- Paths - Class in java.nio.file
-
This class consists exclusively of static methods that return a
Path
by converting a path string.
- peek() - Method in class java.util.ArrayDeque
-
Retrieves, but does not remove, the head of the queue represented by
this deque, or returns null
if this deque is empty.
- peek() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the head of the queue represented by
this deque (in other words, the first element of this deque), or
returns null
if this deque is empty.
- peek() - Method in class java.util.LinkedList
-
Retrieves, but does not remove, the head (first element) of this list.
- peek() - Method in interface java.util.Queue
-
Retrieves, but does not remove, the head of this queue,
or returns null
if this queue is empty.
- peek() - Method in class java.util.Stack
-
Looks at the object at the top of this stack without removing it
from the stack.
- peekFirst() - Method in class java.util.ArrayDeque
-
- peekFirst() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the first element of this deque,
or returns null
if this deque is empty.
- peekFirst() - Method in class java.util.LinkedList
-
Retrieves, but does not remove, the first element of this list,
or returns null
if this list is empty.
- peekLast() - Method in class java.util.ArrayDeque
-
- peekLast() - Method in interface java.util.Deque
-
Retrieves, but does not remove, the last element of this deque,
or returns null
if this deque is empty.
- peekLast() - Method in class java.util.LinkedList
-
Retrieves, but does not remove, the last element of this list,
or returns null
if this list is empty.
- Permission - Class in java.security
-
Abstract class for representing access to a system resource.
- Permission(String) - Constructor for class java.security.Permission
-
Constructs a permission with the specified name.
- PermissionCollection - Class in java.security
-
Abstract class representing a collection of Permission objects.
- PermissionCollection() - Constructor for class java.security.PermissionCollection
-
- PI - Static variable in class java.lang.Math
-
The double
value that is closer than any other to
pi, the ratio of the circumference of a circle to its
diameter.
- PM - Static variable in class java.util.Calendar
-
Value of the
Calendar.AM_PM
field indicating the
period of the day from noon to just before midnight.
- poll() - Method in class java.lang.ref.ReferenceQueue
-
Polls this queue to see if a reference object is available.
- poll() - Method in class java.util.ArrayDeque
-
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque), or returns
null
if this deque is empty.
- poll() - Method in interface java.util.Deque
-
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque), or returns
null
if this deque is empty.
- poll() - Method in class java.util.LinkedList
-
Retrieves and removes the head (first element) of this list.
- poll() - Method in interface java.util.Queue
-
Retrieves and removes the head of this queue,
or returns null
if this queue is empty.
- pollFirst() - Method in class java.util.ArrayDeque
-
- pollFirst() - Method in interface java.util.Deque
-
Retrieves and removes the first element of this deque,
or returns null
if this deque is empty.
- pollFirst() - Method in class java.util.LinkedList
-
Retrieves and removes the first element of this list,
or returns null
if this list is empty.
- pollLast() - Method in class java.util.ArrayDeque
-
- pollLast() - Method in interface java.util.Deque
-
Retrieves and removes the last element of this deque,
or returns null
if this deque is empty.
- pollLast() - Method in class java.util.LinkedList
-
Retrieves and removes the last element of this list,
or returns null
if this list is empty.
- pop() - Method in class java.util.ArrayDeque
-
Pops an element from the stack represented by this deque.
- pop() - Method in interface java.util.Deque
-
Pops an element from the stack represented by this deque.
- pop() - Method in class java.util.LinkedList
-
Pops an element from the stack represented by this list.
- pop() - Method in class java.util.Stack
-
Removes the object at the top of this stack and returns that
object as the value of this function.
- PortUnreachableException - Exception in java.net
-
Signals that an ICMP Port Unreachable message has been
received on a connected datagram.
- PortUnreachableException(String) - Constructor for exception java.net.PortUnreachableException
-
Constructs a new PortUnreachableException
with a
detail message.
- PortUnreachableException() - Constructor for exception java.net.PortUnreachableException
-
Construct a new PortUnreachableException
with no
detailed message.
- pos - Variable in class java.io.ByteArrayInputStream
-
The index of the next character to read from the input stream buffer.
- position() - Method in class java.nio.Buffer
-
Returns this buffer's position.
- position(int) - Method in class java.nio.Buffer
-
Sets this buffer's position.
- position() - Method in class java.nio.channels.FileChannel
-
Returns this channel's file position.
- position(long) - Method in class java.nio.channels.FileChannel
-
Sets this channel's file position.
- position() - Method in interface java.nio.channels.SeekableByteChannel
-
Returns this channel's position.
- position(long) - Method in interface java.nio.channels.SeekableByteChannel
-
Sets this channel's position.
- POSITIVE_INFINITY - Static variable in class java.lang.Double
-
A constant holding the positive infinity of type
double
.
- POSITIVE_INFINITY - Static variable in class java.lang.Float
-
A constant holding the positive infinity of type
float
.
- previous() - Method in interface java.util.ListIterator
-
Returns the previous element in the list and moves the cursor
position backwards.
- previousIndex() - Method in interface java.util.ListIterator
-
- print(boolean) - Method in class java.io.PrintStream
-
Prints a boolean value.
- print(char) - Method in class java.io.PrintStream
-
Prints a character.
- print(int) - Method in class java.io.PrintStream
-
Prints an integer.
- print(long) - Method in class java.io.PrintStream
-
Prints a long integer.
- print(float) - Method in class java.io.PrintStream
-
Prints a floating-point number.
- print(double) - Method in class java.io.PrintStream
-
Prints a double-precision floating-point number.
- print(char[]) - Method in class java.io.PrintStream
-
Prints an array of characters.
- print(String) - Method in class java.io.PrintStream
-
Prints a string.
- print(Object) - Method in class java.io.PrintStream
-
Prints an object.
- printf(String, Object...) - Method in class java.io.PrintStream
-
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
- println() - Method in class java.io.PrintStream
-
Terminates the current line by writing the line separator string.
- println(boolean) - Method in class java.io.PrintStream
-
Prints a boolean and then terminate the line.
- println(char) - Method in class java.io.PrintStream
-
Prints a character and then terminate the line.
- println(int) - Method in class java.io.PrintStream
-
Prints an integer and then terminate the line.
- println(long) - Method in class java.io.PrintStream
-
Prints a long and then terminate the line.
- println(float) - Method in class java.io.PrintStream
-
Prints a float and then terminate the line.
- println(double) - Method in class java.io.PrintStream
-
Prints a double and then terminate the line.
- println(char[]) - Method in class java.io.PrintStream
-
Prints an array of characters and then terminate the line.
- println(String) - Method in class java.io.PrintStream
-
Prints a String and then terminate the line.
- println(Object) - Method in class java.io.PrintStream
-
Prints an Object and then terminate the line.
- printStackTrace() - Method in class java.lang.Throwable
-
Prints this throwable and its backtrace to the
standard error stream.
- printStackTrace(PrintStream) - Method in class java.lang.Throwable
-
Prints this throwable and its backtrace to the specified print stream.
- PrintStream - Class in java.io
-
A PrintStream
adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently.
- PrintStream(OutputStream) - Constructor for class java.io.PrintStream
-
Creates a new print stream.
- PrintStream(OutputStream, boolean) - Constructor for class java.io.PrintStream
-
Creates a new print stream.
- PrintStream(OutputStream, boolean, String) - Constructor for class java.io.PrintStream
-
Creates a new print stream.
- Properties - Class in java.util
-
The Properties
class represents a persistent set of
properties.
- Properties() - Constructor for class java.util.Properties
-
Creates an empty property list with no default values.
- Properties(Properties) - Constructor for class java.util.Properties
-
Creates an empty property list with the specified defaults.
- propertyNames() - Method in class java.util.Properties
-
Returns an enumeration of all the keys in this property list,
including distinct keys in the default property list if a key
of the same name has not already been found from the main
properties list.
- PropertyPermission - Class in java.util
-
This class is for property permissions.
- PropertyPermission(String, String) - Constructor for class java.util.PropertyPermission
-
Creates a new PropertyPermission object with the specified name.
- publish(LogRecord) - Method in class java.util.logging.ConsoleHandler
-
Publish a LogRecord.
- publish(LogRecord) - Method in class java.util.logging.Handler
-
Publish a LogRecord.
- publish(LogRecord) - Method in class java.util.logging.StreamHandler
-
Format and publish a LogRecord.
- purge() - Method in class java.util.Timer
-
Removes all cancelled tasks from this timer's task queue.
- push(E) - Method in class java.util.ArrayDeque
-
Pushes an element onto the stack represented by this deque.
- push(E) - Method in interface java.util.Deque
-
Pushes an element onto the stack represented by this deque (in other
words, at the head of this deque) if it is possible to do so
immediately without violating capacity restrictions, throwing an
IllegalStateException
if no space is currently available.
- push(E) - Method in class java.util.LinkedList
-
Pushes an element onto the stack represented by this list.
- push(E) - Method in class java.util.Stack
-
Pushes an item onto the top of this stack.
- put(byte) - Method in class java.nio.ByteBuffer
-
Relative put method (optional operation).
- put(int, byte) - Method in class java.nio.ByteBuffer
-
Absolute put method (optional operation).
- put(ByteBuffer) - Method in class java.nio.ByteBuffer
-
Relative bulk put method (optional operation).
- put(byte[], int, int) - Method in class java.nio.ByteBuffer
-
Relative bulk put method (optional operation).
- put(byte[]) - Method in class java.nio.ByteBuffer
-
Relative bulk put method (optional operation).
- put(float) - Method in class java.nio.FloatBuffer
-
Relative put method (optional operation).
- put(int, float) - Method in class java.nio.FloatBuffer
-
Absolute put method (optional operation).
- put(FloatBuffer) - Method in class java.nio.FloatBuffer
-
Relative bulk put method (optional operation).
- put(float[], int, int) - Method in class java.nio.FloatBuffer
-
Relative bulk put method (optional operation).
- put(float[]) - Method in class java.nio.FloatBuffer
-
Relative bulk put method (optional operation).
- put(int) - Method in class java.nio.IntBuffer
-
Relative put method (optional operation).
- put(int, int) - Method in class java.nio.IntBuffer
-
Absolute put method (optional operation).
- put(IntBuffer) - Method in class java.nio.IntBuffer
-
Relative bulk put method (optional operation).
- put(int[], int, int) - Method in class java.nio.IntBuffer
-
Relative bulk put method (optional operation).
- put(int[]) - Method in class java.nio.IntBuffer
-
Relative bulk put method (optional operation).
- put(short) - Method in class java.nio.ShortBuffer
-
Relative put method (optional operation).
- put(int, short) - Method in class java.nio.ShortBuffer
-
Absolute put method (optional operation).
- put(ShortBuffer) - Method in class java.nio.ShortBuffer
-
Relative bulk put method (optional operation).
- put(short[], int, int) - Method in class java.nio.ShortBuffer
-
Relative bulk put method (optional operation).
- put(short[]) - Method in class java.nio.ShortBuffer
-
Relative bulk put method (optional operation).
- put(K, V) - Method in class java.util.AbstractMap
-
Associates the specified value with the specified key in this map
(optional operation).
- put(K, V) - Method in class java.util.HashMap
-
Associates the specified value with the specified key in this map.
- put(K, V) - Method in class java.util.Hashtable
-
Maps the specified key
to the specified
value
in this hashtable.
- put(K, V) - Method in interface java.util.Map
-
Associates the specified value with the specified key in this map
(optional operation).
- put(K, V) - Method in class java.util.WeakHashMap
-
Associates the specified value with the specified key in this map.
- putAll(Map<? extends K, ? extends V>) - Method in class java.util.AbstractMap
-
Copies all of the mappings from the specified map to this map
(optional operation).
- putAll(Map<? extends K, ? extends V>) - Method in class java.util.HashMap
-
Copies all of the mappings from the specified map to this map.
- putAll(Map<? extends K, ? extends V>) - Method in class java.util.Hashtable
-
Copies all of the mappings from the specified map to this hashtable.
- putAll(Map<? extends K, ? extends V>) - Method in interface java.util.Map
-
Copies all of the mappings from the specified map to this map
(optional operation).
- putAll(Map<? extends K, ? extends V>) - Method in class java.util.WeakHashMap
-
Copies all of the mappings from the specified map to this map.
- putFloat(float) - Method in class java.nio.ByteBuffer
-
Relative put method for writing a float
value (optional operation).
- putFloat(int, float) - Method in class java.nio.ByteBuffer
-
Absolute put method for writing a float
value (optional operation).
- putInt(int) - Method in class java.nio.ByteBuffer
-
Relative put method for writing an int
value (optional operation).
- putInt(int, int) - Method in class java.nio.ByteBuffer
-
Absolute put method for writing an int
value (optional operation).
- putShort(short) - Method in class java.nio.ByteBuffer
-
Relative put method for writing a short
value (optional operation).
- putShort(int, short) - Method in class java.nio.ByteBuffer
-
Absolute put method for writing a short
value (optional operation).
- 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.BufferedReader
-
Reads a single character.
- read(char[], int, int) - Method in class java.io.BufferedReader
-
Reads characters into a portion of an array.
- 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
-
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.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.
- read(ByteBuffer) - Method in class java.nio.channels.FileChannel
-
Reads a sequence of bytes from this channel into the given buffer.
- read(ByteBuffer, long) - Method in class java.nio.channels.FileChannel
-
Reads a sequence of bytes from this channel into the given buffer,
starting at the given file position.
- read(ByteBuffer) - Method in interface java.nio.channels.ReadableByteChannel
-
Reads a sequence of bytes from this channel into the given buffer.
- read(ByteBuffer) - Method in interface java.nio.channels.SeekableByteChannel
-
Reads a sequence of bytes from this channel into the given buffer.
- ReadableByteChannel - Interface in java.nio.channels
-
A channel that can read bytes.
- readAttributes(Path, Class<A>, LinkOption...) - Static method in class java.nio.file.Files
-
Reads a file's attributes as a bulk operation.
- 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
.
- readLine() - Method in class java.io.BufferedReader
-
Reads a line of text.
- 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
.
- ReadOnlyFileSystemException - Exception in java.nio.file
-
Unchecked exception thrown when an attempt is made to update an object
associated with a
read-only
FileSystem
.
- ReadOnlyFileSystemException() - Constructor for exception java.nio.file.ReadOnlyFileSystemException
-
Constructs an instance of this class.
- 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() - 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
modified UTF-8 format;
this string of characters is then returned as a
String
.
- ready() - Method in class java.io.BufferedReader
-
Tells whether this stream is ready to be read.
- 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.
- 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.
- regionMatches(int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- 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
-
Increases the capacity of and internally reorganizes this
hashtable, in order to accommodate and access its entries more
efficiently.
- relativize(Path) - Method in interface java.nio.file.Path
-
Constructs a relative path between this path and a given path.
- reload() - Method in class java.util.ServiceLoader
-
Clear this loader's provider cache so that all providers will be
reloaded.
- remaining() - Method in class java.nio.Buffer
-
Returns the number of elements between the current position and the
limit.
- 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() - Method in class java.lang.ref.ReferenceQueue
-
Removes the next reference object in this queue, blocking until one
becomes available.
- 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() - Method in class java.util.AbstractQueue
-
Retrieves and removes the head of this queue.
- remove(int) - Method in class java.util.AbstractSequentialList
-
Removes the element at the specified position in this list (optional
operation).
- remove() - Method in class java.util.ArrayDeque
-
Retrieves and removes the head of the queue represented by this deque.
- remove(Object) - Method in class java.util.ArrayDeque
-
Removes a single instance of the specified element from this deque.
- 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() - Method in interface java.util.Deque
-
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque).
- remove(Object) - Method in interface java.util.Deque
-
Removes the first occurrence of the specified element from this deque.
- 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.HashSet
-
Removes the specified element from this set if it is 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(Object) - Method in class java.util.LinkedList
-
Removes the first occurrence of the specified element from this list,
if it is present.
- remove(int) - Method in class java.util.LinkedList
-
Removes the element at the specified position in this list.
- remove() - Method in class java.util.LinkedList
-
Retrieves and removes the head (first element) of this list.
- 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(int) - Method in interface java.util.List
-
Removes the element at the specified position in this list (optional
operation).
- remove() - Method in interface java.util.ListIterator
-
- remove(Object) - Method in interface java.util.Map
-
Removes the mapping for a key from this map if it is present
(optional operation).
- remove() - Method in interface java.util.Queue
-
Retrieves and removes the head of this queue.
- remove(Object) - Method in interface java.util.Set
-
Removes the specified element from this set if it is present
(optional operation).
- 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(int) - Method in class java.util.Vector
-
Removes the element at the specified position in this Vector.
- 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.
- removeEldestEntry(Map.Entry<K, V>) - Method in class java.util.LinkedHashMap
-
Returns true if this map should remove its eldest entry.
- 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.
- removeFirst() - Method in class java.util.ArrayDeque
-
- removeFirst() - Method in interface java.util.Deque
-
Retrieves and removes the first element of this deque.
- removeFirst() - Method in class java.util.LinkedList
-
Removes and returns the first element from this list.
- removeFirstOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the first occurrence of the specified element in this
deque (when traversing the deque from head to tail).
- removeFirstOccurrence(Object) - Method in interface java.util.Deque
-
Removes the first occurrence of the specified element from this deque.
- removeFirstOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the first occurrence of the specified element in this
list (when traversing the list from head to tail).
- removeHandler(Handler) - Method in class java.util.logging.Logger
-
Remove a log Handler.
- removeLast() - Method in class java.util.ArrayDeque
-
- removeLast() - Method in interface java.util.Deque
-
Retrieves and removes the last element of this deque.
- removeLast() - Method in class java.util.LinkedList
-
Removes and returns the last element from this list.
- removeLastOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the last occurrence of the specified element in this
deque (when traversing the deque from head to tail).
- removeLastOccurrence(Object) - Method in interface java.util.Deque
-
Removes the last occurrence of the specified element from this deque.
- removeLastOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the last occurrence of the specified element in this
list (when traversing the list from head to tail).
- 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.
- Repeatable - Annotation Type in java.lang.annotation
-
The annotation type java.lang.annotation.Repeatable
is
used to indicate that the annotation type whose declaration it
(meta-)annotates is repeatable.
- 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(int, int, String) - Method in class java.lang.StringBuffer
-
- replace(int, int, String) - Method in class java.lang.StringBuilder
-
- replaceAll(List<T>, T, T) - Static method in class java.util.Collections
-
Replaces all occurrences of one specified value in a list with another.
- reportError(String, Exception, int) - Method in class java.util.logging.Handler
-
Protected convenience method to report an error.
- requireNonNull(T) - Static method in class java.util.Objects
-
Checks that the specified object reference is not null
.
- requireNonNull(T, String) - Static method in class java.util.Objects
-
Checks that the specified object reference is not
null
and
throws a customized
NullPointerException
if it is.
- reset() - Method in class java.io.BufferedReader
-
Resets the stream to the most recent mark.
- 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.Reader
-
Resets the stream.
- reset() - Method in class java.util.logging.LogManager
-
Reset the logging configuration.
- resolve(Path) - Method in interface java.nio.file.Path
-
Resolve the given path against this path.
- resolve(String) - Method in interface java.nio.file.Path
-
Converts a given path string to a
Path
and resolves it against
this
Path
in exactly the manner specified by the
resolve
method.
- resolveSibling(Path) - Method in interface java.nio.file.Path
-
Resolves the given path against this path's
parent
path.
- resolveSibling(String) - Method in interface java.nio.file.Path
-
Converts a given path string to a
Path
and resolves it against
this path's
parent
path in exactly the manner
specified by the
resolveSibling
method.
- 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(int) - Static method in class java.lang.Integer
-
Returns the value obtained by reversing the order of the bits in the
two's complement binary representation of the specified int
value.
- reverse(long) - Static method in class java.lang.Long
-
Returns the value obtained by reversing the order of the bits in the
two's complement binary representation of the specified long
value.
- reverse() - Method in class java.lang.StringBuffer
-
- reverse() - Method in class java.lang.StringBuilder
-
- reverse(List<?>) - Static method in class java.util.Collections
-
Reverses the order of the elements in the specified list.
- reverseBytes(int) - Static method in class java.lang.Integer
-
Returns the value obtained by reversing the order of the bytes in the
two's complement representation of the specified int
value.
- reverseBytes(long) - Static method in class java.lang.Long
-
Returns the value obtained by reversing the order of the bytes in the
two's complement representation of the specified long
value.
- reverseBytes(short) - Static method in class java.lang.Short
-
Returns the value obtained by reversing the order of the bytes in the
two's complement representation of the specified short
value.
- reverseOrder() - Static method in class java.util.Collections
-
Returns a comparator that imposes the reverse of the natural
ordering on a collection of objects that implement the
Comparable
interface.
- reverseOrder(Comparator<T>) - Static method in class java.util.Collections
-
Returns a comparator that imposes the reverse ordering of the specified
comparator.
- rewind() - Method in class java.nio.Buffer
-
Rewinds this buffer.
- roll(int, boolean) - Method in class java.util.Calendar
-
Adds or subtracts (up/down) a single unit of time on the given time
field without changing larger fields.
- roll(int, int) - Method in class java.util.Calendar
-
Adds the specified (signed) amount to the specified calendar field
without changing larger fields.
- rotate(List<?>, int) - Static method in class java.util.Collections
-
Rotates the elements in the specified list by the specified distance.
- 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(float) - Static method in class java.lang.Math
-
Returns the closest int
to the argument, with ties
rounding up.
- round(double) - Static method in class java.lang.Math
-
Returns the closest long
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.
- SATURDAY - Static variable in class java.util.Calendar
-
- schedule(TimerTask, long) - Method in class java.util.Timer
-
Schedules the specified task for execution after the specified delay.
- schedule(TimerTask, Date) - Method in class java.util.Timer
-
Schedules the specified task for execution at the specified time.
- schedule(TimerTask, long, long) - Method in class java.util.Timer
-
Schedules the specified task for repeated fixed-delay execution,
beginning after the specified delay.
- schedule(TimerTask, Date, long) - Method in class java.util.Timer
-
Schedules the specified task for repeated fixed-delay execution,
beginning at the specified time.
- scheduleAtFixedRate(TimerTask, long, long) - Method in class java.util.Timer
-
Schedules the specified task for repeated fixed-rate execution,
beginning after the specified delay.
- scheduleAtFixedRate(TimerTask, Date, long) - Method in class java.util.Timer
-
Schedules the specified task for repeated fixed-rate execution,
beginning at the specified time.
- scheduledExecutionTime() - Method in class java.util.TimerTask
-
Returns the scheduled execution time of the most recent
actual execution of this task.
- search(Object) - Method in class java.util.Stack
-
Returns the 1-based position where an object is on this stack.
- SECOND - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
second within the minute.
- SecurityException - Exception in java.lang
-
Thrown by the security manager to indicate a security violation.
- SecurityException() - Constructor for exception java.lang.SecurityException
-
Constructs a SecurityException
with no detail message.
- SecurityException(String) - Constructor for exception java.lang.SecurityException
-
Constructs a SecurityException
with the specified
detail message.
- SecurityException(String, Throwable) - Constructor for exception java.lang.SecurityException
-
Creates a SecurityException
with the specified
detail message and cause.
- SecurityException(Throwable) - Constructor for exception java.lang.SecurityException
-
Creates a SecurityException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- SecurityManager - Class in java.lang
-
The security manager is a class that allows
applications to implement a security policy.
- SecurityManager() - Constructor for class java.lang.SecurityManager
-
Constructs a new SecurityManager
.
- SeekableByteChannel - Interface in java.nio.channels
-
A byte channel that maintains a current position and allows the
position to be changed.
- SEPTEMBER - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the
ninth month of the year in the Gregorian and Julian calendars.
- ServiceConfigurationError - Error in java.util
-
Error thrown when something goes wrong while loading a service provider.
- ServiceConfigurationError(String) - Constructor for error java.util.ServiceConfigurationError
-
Constructs a new instance with the specified message.
- ServiceConfigurationError(String, Throwable) - Constructor for error java.util.ServiceConfigurationError
-
Constructs a new instance with the specified message and cause.
- ServiceLoader<S> - Class in java.util
-
A simple service-provider loading facility.
- set(int, E) - Method in class java.util.AbstractList
-
Replaces the element at the specified position in this list with the
specified element (optional operation).
- set(int, E) - Method in class java.util.AbstractSequentialList
-
Replaces the element at the specified position in this list with the
specified element (optional operation).
- set(int, E) - Method in class java.util.ArrayList
-
Replaces the element at the specified position in this list with
the specified element.
- set(int, int) - Method in class java.util.Calendar
-
Sets the given calendar field to the given value.
- set(int, int, int) - Method in class java.util.Calendar
-
Sets the values for the calendar fields YEAR
,
MONTH
, and DAY_OF_MONTH
.
- set(int, int, int, int, int) - Method in class java.util.Calendar
-
Sets the values for the calendar fields YEAR
,
MONTH
, DAY_OF_MONTH
,
HOUR_OF_DAY
, and MINUTE
.
- set(int, int, int, int, int, int) - Method in class java.util.Calendar
-
Sets the values for the fields YEAR
, MONTH
,
DAY_OF_MONTH
, HOUR
, MINUTE
, and
SECOND
.
- set(int, E) - Method in class java.util.LinkedList
-
Replaces the element at the specified position in this list with the
specified element.
- set(int, E) - Method in interface java.util.List
-
Replaces the element at the specified position in this list with the
specified element (optional operation).
- set(E) - Method in interface java.util.ListIterator
-
- Set<E> - Interface in java.util
-
A collection that contains no duplicate elements.
- set(int, E) - Method in class java.util.Vector
-
Replaces the element at the specified position in this Vector with the
specified element.
- setAttribute(Path, String, Object, LinkOption...) - Static method in class java.nio.file.Files
-
Sets the value of a file attribute.
- setCharAt(int, char) - Method in class java.lang.StringBuffer
-
- setDefault(TimeZone) - Static method in class java.util.TimeZone
-
Sets the TimeZone
that is
returned by the getDefault
method.
- setElementAt(E, int) - Method in class java.util.Vector
-
Sets the component at the specified index
of this
vector to be the specified object.
- setEncoding(String) - Method in class java.util.logging.Handler
-
Set the character encoding used by this Handler.
- setEncoding(String) - Method in class java.util.logging.StreamHandler
-
Set (or change) the character encoding used by this Handler.
- setError() - Method in class java.io.PrintStream
-
Sets the error state of the stream to true
.
- setFilter(Filter) - Method in class java.util.logging.Handler
-
Set a Filter to control output on this Handler.
- setFilter(Filter) - Method in class java.util.logging.Logger
-
Set a filter to control output on this Logger.
- setFirstDayOfWeek(int) - Method in class java.util.Calendar
-
Sets what the first day of the week is; e.g., SUNDAY
in the U.S.,
MONDAY
in France.
- setFormatter(Formatter) - Method in class java.util.logging.Handler
-
Set a Formatter.
- setID(String) - Method in class java.util.TimeZone
-
Sets the time zone ID.
- setLastModifiedTime(Path, FileTime) - Static method in class java.nio.file.Files
-
Updates a file's last modified time attribute.
- setLength(int) - Method in class java.lang.StringBuffer
-
- setLenient(boolean) - Method in class java.util.Calendar
-
Specifies whether or not date/time interpretation is to be lenient.
- setLevel(Level) - Method in class java.util.logging.Handler
-
Set the log level specifying which message levels will be
logged by this Handler.
- setLevel(Level) - Method in class java.util.logging.Logger
-
Set the log level specifying which message levels will be
logged by this logger.
- setLevel(Level) - Method in class java.util.logging.LogRecord
-
Set the logging message level, for example Level.SEVERE.
- setLoggerName(String) - Method in class java.util.logging.LogRecord
-
Set the source Logger's name.
- setMessage(String) - Method in class java.util.logging.LogRecord
-
Set the "raw" log message, before localization or formatting.
- setMillis(long) - Method in class java.util.logging.LogRecord
-
Set event time.
- setMinimalDaysInFirstWeek(int) - Method in class java.util.Calendar
-
Sets what the minimal days required in the first week of the year are;
For example, if the first week is defined as one that contains the first
day of the first month of a year, call this method with value 1.
- setName(String) - Method in class java.lang.Thread
-
Changes the name of this thread to be equal to the argument
name
.
- setOutputStream(OutputStream) - Method in class java.util.logging.StreamHandler
-
Change the output stream.
- setParameters(Object[]) - Method in class java.util.logging.LogRecord
-
Set the parameters to the log message.
- setParent(Logger) - Method in class java.util.logging.Logger
-
Set the parent for this Logger.
- setPriority(int) - Method in class java.lang.Thread
-
Changes the priority of this thread.
- setProperty(String, String) - Method in class java.util.Properties
-
Calls the Hashtable method put
.
- setRawOffset(int) - Method in class java.util.TimeZone
-
Sets the base time zone offset to GMT.
- setReadOnly() - Method in class java.security.PermissionCollection
-
Marks this PermissionCollection object as "readonly".
- setSeed(long) - Method in class java.util.Random
-
Sets the seed of this random number generator using a single
long
seed.
- setSequenceNumber(long) - Method in class java.util.logging.LogRecord
-
Set the sequence number.
- setSize(int) - Method in class java.util.Vector
-
Sets the size of this vector.
- setSourceClassName(String) - Method in class java.util.logging.LogRecord
-
Set the name of the class that (allegedly) issued the logging request.
- setSourceMethodName(String) - Method in class java.util.logging.LogRecord
-
Set the name of the method that (allegedly) issued the logging request.
- setThreadID(int) - Method in class java.util.logging.LogRecord
-
Set an identifier for the thread where the message originated.
- setThrown(Throwable) - Method in class java.util.logging.LogRecord
-
Set a throwable associated with the log event.
- setTime(Date) - Method in class java.util.Calendar
-
Sets this Calendar's time with the given Date
.
- setTime(long) - Method in class java.util.Date
-
Sets this Date
object to represent a point in time that is
time
milliseconds after January 1, 1970 00:00:00 GMT.
- setTimeInMillis(long) - Method in class java.util.Calendar
-
Sets this Calendar's current time from the given long value.
- setTimeZone(TimeZone) - Method in class java.util.Calendar
-
Sets the time zone with the given time zone value.
- setUseParentHandlers(boolean) - Method in class java.util.logging.Logger
-
Specify whether or not this logger should send its output
to its parent Logger.
- setValue(V) - Method in interface java.util.Map.Entry
-
Replaces the value corresponding to this entry with the specified
value (optional operation).
- SEVERE - Static variable in class java.util.logging.Level
-
SEVERE is a message level indicating a serious failure.
- Short - Class in java.lang
-
The Short
class wraps a value of primitive type short
in an object.
- Short(short) - Constructor for class java.lang.Short
-
Constructs a newly allocated Short
object that
represents the specified short
value.
- Short(String) - Constructor for class java.lang.Short
-
Constructs a newly allocated Short
object that
represents the short
value indicated by the
String
parameter.
- SHORT - Static variable in class java.util.TimeZone
-
A style specifier for getDisplayName()
indicating
a short name, such as "PST."
- ShortBuffer - Class in java.nio
-
A short buffer.
- shortValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a short
after
a widening primitive conversion.
- shortValue() - Method in class java.lang.Double
-
Returns the value of this Double
as a short
after a narrowing primitive conversion.
- shortValue() - Method in class java.lang.Float
-
Returns the value of this Float
as a short
after a narrowing primitive conversion.
- shortValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a short
after a narrowing primitive conversion.
- shortValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a short
after
a narrowing primitive conversion.
- shortValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a short
,
which may involve rounding or truncation.
- shortValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a
short
.
- shuffle(List<?>) - Static method in class java.util.Collections
-
Randomly permutes the specified list using a default source of
randomness.
- shuffle(List<?>, Random) - Static method in class java.util.Collections
-
Randomly permute the specified list using the specified source of
randomness.
- signum(int) - Static method in class java.lang.Integer
-
Returns the signum function of the specified int
value.
- signum(long) - Static method in class java.lang.Long
-
Returns the signum function of the specified long
value.
- signum(double) - Static method in class java.lang.Math
-
Returns the signum function of the argument; zero if the argument
is zero, 1.0 if the argument is greater than zero, -1.0 if the
argument is less than zero.
- signum(float) - Static method in class java.lang.Math
-
Returns the signum function of the argument; zero if the argument
is zero, 1.0f if the argument is greater than zero, -1.0f if the
argument is less than zero.
- SimpleFormatter - Class in java.util.logging
-
Print a brief summary of the LogRecord
in a human readable
format.
- SimpleFormatter() - Constructor for class java.util.logging.SimpleFormatter
-
- sin(double) - Static method in class java.lang.Math
-
Returns the trigonometric sine of an angle.
- size() - Method in class java.io.ByteArrayOutputStream
-
Returns the current size of the buffer.
- 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 - Static variable in class java.lang.Byte
-
The number of bits used to represent a byte
value in two's
complement binary form.
- SIZE - Static variable in class java.lang.Character
-
The number of bits used to represent a char value in unsigned
binary form, constant 16
.
- SIZE - Static variable in class java.lang.Double
-
The number of bits used to represent a double
value.
- SIZE - Static variable in class java.lang.Float
-
The number of bits used to represent a float
value.
- SIZE - Static variable in class java.lang.Integer
-
The number of bits used to represent an int
value in two's
complement binary form.
- SIZE - Static variable in class java.lang.Long
-
The number of bits used to represent a long
value in two's
complement binary form.
- SIZE - Static variable in class java.lang.Short
-
The number of bits used to represent a short
value in two's
complement binary form.
- size() - Method in class java.nio.channels.FileChannel
-
Returns the current size of this channel's file.
- size() - Method in interface java.nio.channels.SeekableByteChannel
-
Returns the current size of entity to which this channel is connected.
- size() - Method in interface java.nio.file.attribute.BasicFileAttributes
-
Returns the size of the file (in bytes).
- size(Path) - Static method in class java.nio.file.Files
-
Returns the size of a file (in bytes).
- size() - Method in class java.util.AbstractCollection
-
- size() - Method in class java.util.AbstractMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class java.util.ArrayDeque
-
Returns the number of elements in this deque.
- size() - Method in class java.util.ArrayList
-
Returns the number of elements in this list.
- size() - Method in interface java.util.Collection
-
Returns the number of elements in this collection.
- size() - Method in interface java.util.Deque
-
Returns the number of elements in this deque.
- size() - Method in class java.util.HashMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class java.util.HashSet
-
Returns the number of elements in this set (its cardinality).
- size() - Method in class java.util.Hashtable
-
Returns the number of keys in this hashtable.
- size() - Method in class java.util.LinkedList
-
Returns the number of elements in this list.
- size() - Method in interface java.util.List
-
Returns the number of elements in this list.
- size() - Method in interface java.util.Map
-
Returns the number of key-value mappings in this map.
- size() - Method in interface java.util.Set
-
Returns the number of elements in this set (its cardinality).
- size() - Method in class java.util.Vector
-
Returns the number of components in this vector.
- size() - Method in class java.util.WeakHashMap
-
Returns the number of key-value mappings in this map.
- skip(long) - Method in class java.io.BufferedReader
-
Skips characters.
- skip(long) - Method in class java.io.ByteArrayInputStream
-
Skips n
bytes of input from this input stream.
- skip(long) - Method in class java.io.DataInputStream
-
Skips over and discards n
bytes of data from this input
stream.
- skip(long) - Method in class java.io.InputStream
-
Skips over and discards n
bytes of data from this input
stream.
- skip(long) - Method in class java.io.Reader
-
Skips characters.
- skipBytes(int) - Method in interface java.io.DataInput
-
Makes an attempt to skip over
n
bytes
of data from the input
stream, discarding the skipped bytes.
- skipBytes(int) - Method in class java.io.DataInputStream
-
See the general contract of the skipBytes
method of DataInput
.
- sleep(long) - Static method in class java.lang.Thread
-
Causes the currently executing thread to sleep (temporarily cease
execution) for the specified number of milliseconds, subject to
the precision and accuracy of system timers and schedulers.
- sleep(long, int) - Static method in class java.lang.Thread
-
Causes the currently executing thread to sleep (temporarily cease
execution) for the specified number of milliseconds plus the specified
number of nanoseconds, subject to the precision and accuracy of system
timers and schedulers.
- slice() - Method in class java.nio.ByteBuffer
-
Creates a new byte buffer whose content is a shared subsequence of
this buffer's content.
- slice() - Method in class java.nio.FloatBuffer
-
Creates a new float buffer whose content is a shared subsequence of
this buffer's content.
- slice() - Method in class java.nio.IntBuffer
-
Creates a new int buffer whose content is a shared subsequence of
this buffer's content.
- slice() - Method in class java.nio.ShortBuffer
-
Creates a new short buffer whose content is a shared subsequence of
this buffer's content.
- SocketException - Exception in java.net
-
Thrown to indicate that there is an error creating or accessing a Socket.
- SocketException(String) - Constructor for exception java.net.SocketException
-
Constructs a new SocketException
with the
specified detail message.
- SocketException() - Constructor for exception java.net.SocketException
-
Constructs a new SocketException
with no detail message.
- sort(int[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(int[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(long[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(long[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(short[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(short[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(char[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(char[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(byte[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(byte[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(float[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(float[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(double[]) - Static method in class java.util.Arrays
-
Sorts the specified array into ascending numerical order.
- sort(double[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the array into ascending order.
- sort(Object[]) - Static method in class java.util.Arrays
-
Sorts the specified array of objects into ascending order, according
to the
natural ordering of its elements.
- sort(Object[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range of the specified array of objects into
ascending order, according to the
natural ordering of its
elements.
- sort(T[], Comparator<? super T>) - Static method in class java.util.Arrays
-
Sorts the specified array of objects according to the order induced by
the specified comparator.
- sort(T[], int, int, Comparator<? super T>) - Static method in class java.util.Arrays
-
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
- sort(List<T>) - Static method in class java.util.Collections
-
Sorts the specified list into ascending order, according to the
natural ordering of its elements.
- sort(List<T>, Comparator<? super T>) - Static method in class java.util.Collections
-
Sorts the specified list according to the order induced by the
specified comparator.
- sqrt(double) - Static method in class java.lang.Math
-
Returns the correctly rounded positive square root of a
double
value.
- Stack<E> - Class in java.util
-
The Stack
class represents a last-in-first-out
(LIFO) stack of objects.
- Stack() - Constructor for class java.util.Stack
-
Creates an empty Stack.
- StandardCopyOption - Enum in java.nio.file
-
Defines the standard copy options.
- StandardOpenOption - Enum in java.nio.file
-
Defines the standard open options.
- start() - Method in class java.lang.Thread
-
Causes this thread to begin execution; the Java Virtual Machine
calls the run
method of this thread.
- startsWith(String, int) - Method in class java.lang.String
-
Tests if the substring of this string beginning at the
specified index starts with the specified prefix.
- startsWith(String) - Method in class java.lang.String
-
Tests if this string starts with the specified prefix.
- startsWith(Path) - Method in interface java.nio.file.Path
-
Tests if this path starts with the given path.
- startsWith(String) - Method in interface java.nio.file.Path
-
Tests if this path starts with a
Path
, constructed by converting
the given path string, in exactly the manner specified by the
startsWith(Path)
method.
- store(Writer, String) - Method in class java.util.Properties
-
Writes this property list (key and element pairs) in this
Properties
table to the output character stream in a
format suitable for using the
load(Reader)
method.
- store(OutputStream, String) - Method in class java.util.Properties
-
Writes this property list (key and element pairs) in this
Properties
table to the output stream in a format suitable
for loading into a
Properties
table using the
load(InputStream)
method.
- StreamHandler - Class in java.util.logging
-
Stream based logging Handler.
- StreamHandler() - Constructor for class java.util.logging.StreamHandler
-
Create a StreamHandler, with no current output stream.
- StreamHandler(OutputStream, Formatter) - Constructor for class java.util.logging.StreamHandler
-
Create a StreamHandler with a given Formatter
and output stream.
- String - Class in java.lang
-
The String
class represents character strings.
- String() - Constructor for class java.lang.String
-
Initializes a newly created String
object so that it represents
an empty character sequence.
- String(String) - Constructor for class java.lang.String
-
Initializes a newly created String
object so that it represents
the same sequence of characters as the argument; in other words, the
newly created string is a copy of the argument string.
- String(char[]) - Constructor for class java.lang.String
-
Allocates a new String
so that it represents the sequence of
characters currently contained in the character array argument.
- String(char[], int, int) - Constructor for class java.lang.String
-
Allocates a new String
that contains characters from a subarray
of the character array argument.
- String(byte[], int, int, String) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified subarray of
bytes using the specified charset.
- String(byte[], String) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified subarray of
bytes using the specified charset.
- String(byte[], int, int) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified subarray of
bytes using the platform's default charset.
- String(byte[]) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified array of bytes
using the platform's default charset.
- String(StringBuffer) - Constructor for class java.lang.String
-
Allocates a new string that contains the sequence of characters
currently contained in the string buffer argument.
- String(StringBuilder) - Constructor for class java.lang.String
-
Allocates a new string that contains the sequence of characters
currently contained in the string builder argument.
- StringBuffer - Class in java.lang
-
A thread-safe, mutable sequence of characters.
- StringBuffer() - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and an
initial capacity of 16 characters.
- StringBuffer(int) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and
the specified initial capacity.
- StringBuffer(String) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer initialized to the contents of the
specified string.
- StringBuffer(CharSequence) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer that contains the same characters
as the specified CharSequence
.
- StringBuilder - Class in java.lang
-
A mutable sequence of characters.
- StringBuilder() - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an
initial capacity of 16 characters.
- StringBuilder(int) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an
initial capacity specified by the capacity
argument.
- StringBuilder(String) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder initialized to the contents of the
specified string.
- StringBuilder(CharSequence) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder that contains the same characters
as the specified CharSequence
.
- StringIndexOutOfBoundsException - Exception in java.lang
-
Thrown by String
methods to indicate that an index
is either negative or greater than the size of the string.
- StringIndexOutOfBoundsException() - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException
with no
detail message.
- StringIndexOutOfBoundsException(String) - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException
with
the specified detail message.
- StringIndexOutOfBoundsException(int) - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a new StringIndexOutOfBoundsException
class with an argument indicating the illegal index.
- stringPropertyNames() - Method in class java.util.Properties
-
Returns a set of keys in this property list where
the key and its corresponding value are strings,
including distinct keys in the default property list if a key
of the same name has not already been found from the main
properties list.
- StringTokenizer - Class in java.util
-
The string tokenizer class allows an application to break a
string into tokens.
- StringTokenizer(String, String, boolean) - Constructor for class java.util.StringTokenizer
-
Constructs a string tokenizer for the specified string.
- StringTokenizer(String, String) - Constructor for class java.util.StringTokenizer
-
Constructs a string tokenizer for the specified string.
- StringTokenizer(String) - Constructor for class java.util.StringTokenizer
-
Constructs a string tokenizer for the specified string.
- subList(int, int) - Method in class java.util.AbstractList
-
Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive.
- subList(int, int) - Method in class java.util.ArrayList
-
Returns a view of the portion of this list between the specified
fromIndex
, inclusive, and toIndex
, exclusive.
- subList(int, int) - Method in interface java.util.List
-
Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive.
- subList(int, int) - Method in class java.util.Vector
-
Returns a view of the portion of this List between fromIndex,
inclusive, and toIndex, exclusive.
- subpath(int, int) - Method in interface java.nio.file.Path
-
Returns a relative Path
that is a subsequence of the name
elements of this path.
- subSequence(int, int) - Method in interface java.lang.CharSequence
-
Returns a new CharSequence
that is a subsequence of this sequence.
- subSequence(int, int) - Method in class java.lang.String
-
Returns a new character sequence that is a subsequence of this sequence.
- subSequence(int, int) - Method in class java.lang.StringBuffer
-
- substring(int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- substring(int, int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- substring(int) - Method in class java.lang.StringBuffer
-
- substring(int, int) - Method in class java.lang.StringBuffer
-
- SUNDAY - Static variable in class java.util.Calendar
-
- supportedFileAttributeViews() - Method in class java.nio.file.FileSystem
-
Returns the set of the file attribute view names of the file
attribute views supported by this FileSystem
.
- supportsFileAttributeView(String) - Method in class java.nio.file.FileStore
-
Tells whether or not this file store supports the file attributes
identified by the given file attribute view.
- SuppressWarnings - Annotation Type in java.lang
-
Indicates that the named compiler warnings should be suppressed in the
annotated element (and in all program elements contained in the annotated
element).
- swap(List<?>, int, int) - Static method in class java.util.Collections
-
Swaps the elements at the specified positions in the specified list.
- System - Class in java.lang
-
The System
class contains several useful class fields
and methods.
- tan(double) - Static method in class java.lang.Math
-
Returns the trigonometric tangent of an angle.
- Target - Annotation Type in java.lang.annotation
-
Indicates the kinds of program element to which an annotation type
is applicable.
- Thread - Class in java.lang
-
A thread is a thread of execution in a program.
- Thread() - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(Runnable) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(String) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(Runnable, String) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object so that it has target
as its run object and has the specified name
as its name.
- Throwable - Class in java.lang
-
The Throwable
class is the superclass of all errors and
exceptions in the Java language.
- Throwable() - Constructor for class java.lang.Throwable
-
Constructs a new throwable with null
as its detail message.
- Throwable(String) - Constructor for class java.lang.Throwable
-
Constructs a new throwable with the specified detail message.
- Throwable(String, Throwable) - Constructor for class java.lang.Throwable
-
Constructs a new throwable with the specified detail message and
cause.
- Throwable(Throwable) - Constructor for class java.lang.Throwable
-
Constructs a new throwable with the specified cause and a detail
message of (cause==null ? null : cause.toString())
(which
typically contains the class and detail message of cause
).
- THURSDAY - Static variable in class java.util.Calendar
-
- time - Variable in class java.util.Calendar
-
The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.
- Timer - Class in java.util
-
A facility for threads to schedule tasks for future execution in a
background thread.
- Timer() - Constructor for class java.util.Timer
-
Creates a new timer.
- Timer(String) - Constructor for class java.util.Timer
-
Creates a new timer whose associated thread has the specified name.
- TimerTask - Class in java.util
-
A task that can be scheduled for one-time or repeated execution by a Timer.
- TimerTask() - Constructor for class java.util.TimerTask
-
Creates a new timer task.
- TimeZone - Class in java.util
-
TimeZone
represents a time zone offset, and also figures out daylight
savings.
- TimeZone() - Constructor for class java.util.TimeZone
-
Sole constructor.
- toAbsolutePath() - Method in interface java.nio.file.Path
-
Returns a Path
object representing the absolute path of this
path.
- toArray() - Method in class java.util.AbstractCollection
-
Returns an array containing all of the elements in this collection.
- toArray(T[]) - Method in class java.util.AbstractCollection
-
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
- toArray() - Method in class java.util.ArrayDeque
-
Returns an array containing all of the elements in this deque
in proper sequence (from first to last element).
- toArray(T[]) - Method in class java.util.ArrayDeque
-
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
- toArray() - Method in class java.util.ArrayList
-
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
- toArray(T[]) - Method in class java.util.ArrayList
-
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
- toArray() - Method in interface java.util.Collection
-
Returns an array containing all of the elements in this collection.
- toArray(T[]) - Method in interface java.util.Collection
-
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
- toArray() - Method in class java.util.LinkedList
-
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
- toArray(T[]) - Method in class java.util.LinkedList
-
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
- toArray() - Method in interface java.util.List
-
Returns an array containing all of the elements in this list in proper
sequence (from first to last element).
- toArray(T[]) - Method in interface java.util.List
-
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
- toArray() - Method in interface java.util.Set
-
Returns an array containing all of the elements in this set.
- toArray(T[]) - Method in interface java.util.Set
-
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
- toArray() - Method in class java.util.Vector
-
Returns an array containing all of the elements in this Vector
in the correct order.
- toArray(T[]) - Method in class java.util.Vector
-
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
- toBinaryString(int) - Static method in class java.lang.Integer
-
Returns a string representation of the integer argument as an
unsigned integer in base 2.
- toBinaryString(long) - Static method in class java.lang.Long
-
Returns a string representation of the long
argument as an unsigned integer in base 2.
- toByteArray() - Method in class java.io.ByteArrayOutputStream
-
Creates a newly allocated byte array.
- toCharArray() - Method in class java.lang.String
-
Converts this string to a new character array.
- toDegrees(double) - Static method in class java.lang.Math
-
Converts an angle measured in radians to an approximately
equivalent angle measured in degrees.
- toHexString(int) - Static method in class java.lang.Integer
-
Returns a string representation of the integer argument as an
unsigned integer in base 16.
- toHexString(long) - Static method in class java.lang.Long
-
Returns a string representation of the long
argument as an unsigned integer in base 16.
- toLowerCase(char) - Static method in class java.lang.Character
-
The given character is mapped to its lowercase equivalent; if the
character has no lowercase equivalent, the character itself is
returned.
- toLowerCase() - Method in class java.lang.String
-
Converts all of the characters in this String
to lower
case using the rules of the default locale.
- toMillis() - Method in class java.nio.file.attribute.FileTime
-
Returns the value in milliseconds.
- toOctalString(int) - Static method in class java.lang.Integer
-
Returns a string representation of the integer argument as an
unsigned integer in base 8.
- toOctalString(long) - Static method in class java.lang.Long
-
Returns a string representation of the long
argument as an unsigned integer in base 8.
- toRadians(double) - Static method in class java.lang.Math
-
Converts an angle measured in degrees to an approximately
equivalent angle measured in radians.
- toRealPath(LinkOption...) - Method in interface java.nio.file.Path
-
Returns the real path of an existing file.
- toString() - Method in class java.io.ByteArrayOutputStream
-
Converts the buffer's contents into a string decoding bytes using the
platform's default character set.
- toString() - Method in interface java.lang.annotation.Annotation
-
Returns a string representation of this annotation.
- toString(boolean) - Static method in class java.lang.Boolean
-
Returns a String
object representing the specified
boolean.
- toString() - Method in class java.lang.Boolean
-
Returns a String
object representing this Boolean's
value.
- toString(byte) - Static method in class java.lang.Byte
-
Returns a new String
object representing the
specified byte
.
- toString() - Method in class java.lang.Byte
-
Returns a String
object representing this
Byte
's value.
- toString() - Method in class java.lang.Character
-
Returns a String
object representing this
Character
's value.
- toString(char) - Static method in class java.lang.Character
-
Returns a String
object representing the
specified char
.
- toString() - Method in interface java.lang.CharSequence
-
Returns a string containing the characters in this sequence in the same
order as this sequence.
- toString() - Method in class java.lang.Class
-
Converts the object to a string.
- toString(double) - Static method in class java.lang.Double
-
Returns a string representation of the double
argument.
- toString() - Method in class java.lang.Double
-
Returns a string representation of this Double
object.
- toString() - Method in class java.lang.Enum
-
Returns the name of this enum constant, as contained in the
declaration.
- toString(float) - Static method in class java.lang.Float
-
Returns a string representation of the float
argument.
- toString() - Method in class java.lang.Float
-
Returns a string representation of this Float
object.
- toString(int, int) - Static method in class java.lang.Integer
-
Returns a string representation of the first argument in the
radix specified by the second argument.
- toString(int) - Static method in class java.lang.Integer
-
Returns a String
object representing the
specified integer.
- toString() - Method in class java.lang.Integer
-
Returns a String
object representing this
Integer
's value.
- toString(long, int) - Static method in class java.lang.Long
-
Returns a string representation of the first argument in the
radix specified by the second argument.
- toString(long) - Static method in class java.lang.Long
-
Returns a String
object representing the specified
long
.
- toString() - Method in class java.lang.Long
-
Returns a String
object representing this
Long
's value.
- toString() - Method in class java.lang.Object
-
Returns a string representation of the object.
- toString(short) - Static method in class java.lang.Short
-
Returns a new String
object representing the
specified short
.
- toString() - Method in class java.lang.Short
-
Returns a String
object representing this
Short
's value.
- toString() - Method in class java.lang.String
-
This object (which is already a string!) is itself returned.
- toString() - Method in class java.lang.StringBuffer
-
- toString() - Method in class java.lang.StringBuilder
-
- toString() - Method in class java.lang.Thread
-
Returns a string representation of this thread, including the
thread's name and priority.
- toString() - Method in class java.lang.Throwable
-
Returns a short description of this throwable.
- toString() - Method in class java.nio.ByteBuffer
-
Returns a string summarizing the state of this buffer.
- toString() - Method in class java.nio.ByteOrder
-
Constructs a string describing this object.
- toString() - Method in class java.nio.file.attribute.FileTime
-
Returns the string representation of this FileTime
.
- toString() - Method in interface java.nio.file.Path
-
Returns the string representation of this path.
- toString() - Method in class java.nio.FloatBuffer
-
Returns a string summarizing the state of this buffer.
- toString() - Method in class java.nio.IntBuffer
-
Returns a string summarizing the state of this buffer.
- toString() - Method in class java.nio.ShortBuffer
-
Returns a string summarizing the state of this buffer.
- toString() - Method in class java.security.Permission
-
Returns a string describing this Permission.
- toString() - Method in class java.security.PermissionCollection
-
Returns a string describing this PermissionCollection object,
providing information about all the permissions it contains.
- toString() - Method in class java.util.AbstractCollection
-
Returns a string representation of this collection.
- toString() - Method in class java.util.AbstractMap
-
Returns a string representation of this map.
- toString() - Method in class java.util.Calendar
-
Return a string representation of this calendar.
- toString() - Method in class java.util.Date
-
Converts this Date
object to a String
of the form:
- toString() - Method in class java.util.EventObject
-
Returns a String representation of this EventObject.
- toString() - Method in class java.util.Formatter
-
Returns the result of invoking toString()
on the destination
for the output.
- toString() - Method in class java.util.Hashtable
-
Returns a string representation of this Hashtable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
- toString() - Method in class java.util.logging.Level
-
Returns a string representation of this Level.
- toString(Object) - Static method in class java.util.Objects
-
Returns the result of calling toString
for a non-null
argument and "null"
for a null
argument.
- toString(Object, String) - Static method in class java.util.Objects
-
Returns the result of calling toString
on the first
argument if the first argument is not null
and returns
the second argument otherwise.
- toString() - Method in class java.util.ServiceLoader
-
Returns a string describing this service.
- toString() - Method in class java.util.Vector
-
Returns a string representation of this Vector, containing
the String representation of each element.
- totalMemory() - Method in class java.lang.Runtime
-
Returns the total amount of memory in the Java virtual machine.
- toUpperCase(char) - Static method in class java.lang.Character
-
Converts the character argument to uppercase; if the
character has no uppercase equivalent, the character itself is
returned.
- toUpperCase() - Method in class java.lang.String
-
Converts all of the characters in this String
to upper
case using the rules of the default locale.
- trim() - Method in class java.lang.String
-
Returns a copy of the string, with leading and trailing whitespace
omitted.
- trimToSize() - Method in class java.lang.StringBuffer
-
- trimToSize() - Method in class java.util.ArrayList
-
Trims the capacity of this ArrayList instance to be the
list's current size.
- trimToSize() - Method in class java.util.Vector
-
Trims the capacity of this vector to be the vector's current
size.
- TRUE - Static variable in class java.lang.Boolean
-
The Boolean
object corresponding to the primitive
value true
.
- truncate(long) - Method in class java.nio.channels.FileChannel
-
Truncates this channel's file to the given size.
- truncate(long) - Method in interface java.nio.channels.SeekableByteChannel
-
Truncates the entity, to which this channel is connected, to the given
size.
- TUESDAY - Static variable in class java.util.Calendar
-
- TYPE - Static variable in class java.lang.Boolean
-
The Class object representing the primitive type boolean.
- TYPE - Static variable in class java.lang.Byte
-
The Class
instance representing the primitive type
byte
.
- TYPE - Static variable in class java.lang.Character
-
The Class
instance representing the primitive type
char
.
- TYPE - Static variable in class java.lang.Double
-
The Class
instance representing the primitive type
double
.
- TYPE - Static variable in class java.lang.Float
-
The Class
instance representing the primitive type
float
.
- TYPE - Static variable in class java.lang.Integer
-
The Class
instance representing the primitive type
int
.
- TYPE - Static variable in class java.lang.Long
-
The Class
instance representing the primitive type
long
.
- TYPE - Static variable in class java.lang.Short
-
The Class
instance representing the primitive type
short
.
- type() - Method in class java.nio.file.FileStore
-
Returns the type of this file store.
- value() - Method in interface java.nio.file.attribute.FileAttribute
-
Returns the attribute value.
- valueOf(String) - Static method in enum java.lang.annotation.ElementType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.lang.annotation.RetentionPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(boolean) - Static method in class java.lang.Boolean
-
Returns a Boolean
instance representing the specified
boolean
value.
- valueOf(String) - Static method in class java.lang.Boolean
-
Returns a Boolean
with a value represented by the
specified string.
- valueOf(byte) - Static method in class java.lang.Byte
-
Returns a Byte
instance representing the specified
byte
value.
- valueOf(String, int) - Static method in class java.lang.Byte
-
Returns a Byte
object holding the value
extracted from the specified String
when parsed
with the radix given by the second argument.
- valueOf(String) - Static method in class java.lang.Byte
-
Returns a Byte
object holding the value
given by the specified String
.
- valueOf(char) - Static method in class java.lang.Character
-
Returns a Character instance representing the specified
char value.
- valueOf(String) - Static method in class java.lang.Double
-
Returns a Double
object holding the
double
value represented by the argument string
s
.
- valueOf(double) - Static method in class java.lang.Double
-
Returns a Double
instance representing the specified
double
value.
- valueOf(Class<T>, String) - Static method in class java.lang.Enum
-
Returns the enum constant of the specified enum type with the
specified name.
- valueOf(String) - Static method in class java.lang.Float
-
Returns a Float
object holding the
float
value represented by the argument string
s
.
- valueOf(float) - Static method in class java.lang.Float
-
Returns a Float
instance representing the specified
float
value.
- valueOf(String, int) - Static method in class java.lang.Integer
-
Returns an Integer
object holding the value
extracted from the specified String
when parsed
with the radix given by the second argument.
- valueOf(String) - Static method in class java.lang.Integer
-
Returns an Integer
object holding the
value of the specified String
.
- valueOf(int) - Static method in class java.lang.Integer
-
Returns an Integer
instance representing the specified
int
value.
- valueOf(String, int) - Static method in class java.lang.Long
-
Returns a Long
object holding the value
extracted from the specified String
when parsed
with the radix given by the second argument.
- valueOf(String) - Static method in class java.lang.Long
-
Returns a Long
object holding the value
of the specified String
.
- valueOf(long) - Static method in class java.lang.Long
-
Returns a Long
instance representing the specified
long
value.
- valueOf(String, int) - Static method in class java.lang.Short
-
Returns a Short
object holding the value
extracted from the specified String
when parsed
with the radix given by the second argument.
- valueOf(String) - Static method in class java.lang.Short
-
Returns a Short
object holding the
value given by the specified String
.
- valueOf(short) - Static method in class java.lang.Short
-
Returns a Short
instance representing the specified
short
value.
- valueOf(Object) - Static method in class java.lang.String
-
Returns the string representation of the Object
argument.
- valueOf(char[]) - Static method in class java.lang.String
-
Returns the string representation of the char
array
argument.
- valueOf(char[], int, int) - Static method in class java.lang.String
-
Returns the string representation of a specific subarray of the
char
array argument.
- valueOf(boolean) - Static method in class java.lang.String
-
Returns the string representation of the boolean
argument.
- valueOf(char) - Static method in class java.lang.String
-
Returns the string representation of the char
argument.
- valueOf(int) - Static method in class java.lang.String
-
Returns the string representation of the int
argument.
- valueOf(long) - Static method in class java.lang.String
-
Returns the string representation of the long
argument.
- valueOf(float) - Static method in class java.lang.String
-
Returns the string representation of the float
argument.
- valueOf(double) - Static method in class java.lang.String
-
Returns the string representation of the double
argument.
- valueOf(String) - Static method in enum java.nio.file.LinkOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.nio.file.StandardCopyOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.nio.file.StandardOpenOption
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum java.lang.annotation.ElementType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum java.lang.annotation.RetentionPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum java.nio.file.LinkOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum java.nio.file.StandardCopyOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum java.nio.file.StandardOpenOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class java.util.AbstractMap
-
Returns a
Collection
view of the values contained in this map.
- values() - Method in class java.util.HashMap
-
Returns a
Collection
view of the values contained in this map.
- values() - Method in class java.util.Hashtable
-
Returns a
Collection
view of the values contained in this map.
- values() - Method in interface java.util.Map
-
Returns a
Collection
view of the values contained in this map.
- values() - Method in class java.util.WeakHashMap
-
Returns a
Collection
view of the values contained in this map.
- Vector<E> - Class in java.util
-
The Vector
class implements a growable array of
objects.
- Vector(int, int) - Constructor for class java.util.Vector
-
Constructs an empty vector with the specified initial capacity and
capacity increment.
- Vector(int) - Constructor for class java.util.Vector
-
Constructs an empty vector with the specified initial capacity and
with its capacity increment equal to zero.
- Vector() - Constructor for class java.util.Vector
-
Constructs an empty vector so that its internal data array
has size 10
and its standard capacity increment is
zero.
- Vector(Collection<? extends E>) - Constructor for class java.util.Vector
-
Constructs a vector containing the elements of the specified
collection, in the order they are returned by the collection's
iterator.
- VirtualMachineError - Error in java.lang
-
Thrown to indicate that the Java Virtual Machine is broken or has
run out of resources necessary for it to continue operating.
- VirtualMachineError() - Constructor for error java.lang.VirtualMachineError
-
Constructs a VirtualMachineError
with no detail message.
- VirtualMachineError(String) - Constructor for error java.lang.VirtualMachineError
-
Constructs a VirtualMachineError
with the specified
detail message.
- wait(long) - Method in class java.lang.Object
-
Causes the current thread to wait until either another thread invokes the
Object.notify()
method or the
Object.notifyAll()
method for this object, or a
specified amount of time has elapsed.
- wait(long, int) - Method in class java.lang.Object
-
Causes the current thread to wait until another thread invokes the
Object.notify()
method or the
Object.notifyAll()
method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
- wait() - Method in class java.lang.Object
-
- WARNING - Static variable in class java.util.logging.Level
-
WARNING is a message level indicating a potential problem.
- WeakHashMap<K,V> - Class in java.util
-
Hash table based implementation of the Map interface, with
weak keys.
- WeakHashMap(int, float) - Constructor for class java.util.WeakHashMap
-
Constructs a new, empty WeakHashMap with the given initial
capacity and the given load factor.
- WeakHashMap(int) - Constructor for class java.util.WeakHashMap
-
Constructs a new, empty WeakHashMap with the given initial
capacity and the default load factor (0.75).
- WeakHashMap() - Constructor for class java.util.WeakHashMap
-
Constructs a new, empty WeakHashMap with the default initial
capacity (16) and load factor (0.75).
- WeakHashMap(Map<? extends K, ? extends V>) - Constructor for class java.util.WeakHashMap
-
Constructs a new WeakHashMap with the same mappings as the
specified map.
- WeakReference<T> - Class in java.lang.ref
-
Weak reference objects, which do not prevent their referents from being
made finalizable, finalized, and then reclaimed.
- WeakReference(T) - Constructor for class java.lang.ref.WeakReference
-
Creates a new weak reference that refers to the given object.
- WeakReference(T, ReferenceQueue<? super T>) - Constructor for class java.lang.ref.WeakReference
-
Creates a new weak reference that refers to the given object and is
registered with the given queue.
- WEDNESDAY - Static variable in class java.util.Calendar
-
- WEEK_OF_MONTH - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
week number within the current month.
- WEEK_OF_YEAR - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the
week number within the current year.
- wrap(byte[], int, int) - Static method in class java.nio.ByteBuffer
-
Wraps a byte array into a buffer.
- wrap(byte[]) - Static method in class java.nio.ByteBuffer
-
Wraps a byte array into a buffer.
- wrap(float[], int, int) - Static method in class java.nio.FloatBuffer
-
Wraps a float array into a buffer.
- wrap(float[]) - Static method in class java.nio.FloatBuffer
-
Wraps a float array into a buffer.
- wrap(int[], int, int) - Static method in class java.nio.IntBuffer
-
Wraps an int array into a buffer.
- wrap(int[]) - Static method in class java.nio.IntBuffer
-
Wraps an int array into a buffer.
- wrap(short[], int, int) - Static method in class java.nio.ShortBuffer
-
Wraps a short array into a buffer.
- wrap(short[]) - Static method in class java.nio.ShortBuffer
-
Wraps a short array into a buffer.
- WritableByteChannel - Interface in java.nio.channels
-
A channel that can write bytes.
- write(int) - Method in class java.io.BufferedWriter
-
Writes a single character.
- write(char[], int, int) - Method in class java.io.BufferedWriter
-
Writes a portion of an array of characters.
- write(String, int, int) - Method in class java.io.BufferedWriter
-
Writes a portion of a String.
- write(int) - Method in class java.io.ByteArrayOutputStream
-
Writes the specified byte to this byte array output stream.
- write(byte[], int, int) - Method in class java.io.ByteArrayOutputStream
-
Writes len
bytes from the specified byte array
starting at offset off
to this byte array output stream.
- write(int) - Method in interface java.io.DataOutput
-
Writes to the output stream the eight
low-order bits of the argument b
.
- write(byte[]) - Method in interface java.io.DataOutput
-
Writes to the output stream all the bytes in array b
.
- write(byte[], int, int) - Method in interface java.io.DataOutput
-
Writes len
bytes from array
b
, in order, to
the output stream.
- write(int) - Method in class java.io.DataOutputStream
-
Writes the specified byte (the low eight bits of the argument
b
) to the underlying output stream.
- write(byte[]) - Method in class java.io.DataOutputStream
-
Writes b.length
bytes to this output stream.
- write(byte[], int, int) - Method in class java.io.DataOutputStream
-
Writes len
bytes from the specified byte array
starting at offset off
to the underlying output stream.
- write(int) - Method in class java.io.OutputStream
-
Writes the specified byte to this output stream.
- write(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 java.io.OutputStreamWriter
-
Writes a single character.
- write(char[], int, int) - Method in class java.io.OutputStreamWriter
-
Writes a portion of an array of characters.
- write(String, int, int) - Method in class java.io.OutputStreamWriter
-
Writes a portion of a string.
- write(int) - Method in class java.io.PrintStream
-
Writes the specified byte to this stream.
- write(byte[], int, int) - Method in class java.io.PrintStream
-
Writes len
bytes from the specified byte array starting at
offset off
to this stream.
- write(int) - Method in class java.io.Writer
-
Writes a single character.
- write(char[]) - Method in class java.io.Writer
-
Writes an array of characters.
- write(char[], int, int) - Method in class java.io.Writer
-
Writes a portion of an array of characters.
- write(String) - Method in class java.io.Writer
-
Writes a string.
- write(String, int, int) - Method in class java.io.Writer
-
Writes a portion of a string.
- write(ByteBuffer) - Method in class java.nio.channels.FileChannel
-
Writes a sequence of bytes to this channel from the given buffer.
- write(ByteBuffer, long) - Method in class java.nio.channels.FileChannel
-
Writes a sequence of bytes to this channel from the given buffer,
starting at the given file position.
- write(ByteBuffer) - Method in interface java.nio.channels.SeekableByteChannel
-
Writes a sequence of bytes to this channel from the given buffer.
- write(ByteBuffer) - Method in interface java.nio.channels.WritableByteChannel
-
Writes a sequence of bytes to this channel from the given buffer.
- writeBoolean(boolean) - Method in interface java.io.DataOutput
-
Writes a boolean
value to this output stream.
- writeBoolean(boolean) - Method in class java.io.DataOutputStream
-
Writes a boolean
to the underlying output stream as
a 1-byte value.
- writeByte(int) - Method in interface java.io.DataOutput
-
Writes to the output stream the eight low-
order bits of the argument v
.
- writeByte(int) - Method in class java.io.DataOutputStream
-
Writes out a byte
to the underlying output stream as
a 1-byte value.
- writeBytes(String) - Method in interface java.io.DataOutput
-
Writes a string to the output stream.
- writeBytes(String) - Method in class java.io.DataOutputStream
-
Writes out the string to the underlying output stream as a
sequence of bytes.
- writeChar(int) - Method in interface java.io.DataOutput
-
Writes a char
value, which
is comprised of two bytes, to the
output stream.
- writeChar(int) - Method in class java.io.DataOutputStream
-
Writes a char
to the underlying output stream as a
2-byte value, high byte first.
- writeChars(String) - Method in interface java.io.DataOutput
-
Writes every character in the string s
,
to the output stream, in order,
two bytes per character.
- writeChars(String) - Method in class java.io.DataOutputStream
-
Writes a string to the underlying output stream as a sequence of
characters.
- writeDouble(double) - Method in interface java.io.DataOutput
-
Writes a double
value,
which is comprised of eight bytes, to the output stream.
- writeDouble(double) - Method in class java.io.DataOutputStream
-
Converts the double argument to a long
using the
doubleToLongBits
method in class Double
,
and then writes that long
value to the underlying
output stream as an 8-byte quantity, high byte first.
- writeFloat(float) - Method in interface java.io.DataOutput
-
Writes a float
value,
which is comprised of four bytes, to the output stream.
- 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 interface java.io.DataOutput
-
Writes an int
value, which is
comprised of four bytes, to the output stream.
- writeInt(int) - Method in class java.io.DataOutputStream
-
Writes an int
to the underlying output stream as four
bytes, high byte first.
- writeLong(long) - Method in interface java.io.DataOutput
-
Writes a long
value, which is
comprised of eight bytes, to the output stream.
- writeLong(long) - Method in class java.io.DataOutputStream
-
Writes a long
to the underlying output stream as eight
bytes, high byte first.
- Writer - Class in java.io
-
Abstract class for writing to character streams.
- Writer() - Constructor for class java.io.Writer
-
Creates a new character-stream writer whose critical sections will
synchronize on the writer itself.
- Writer(Object) - Constructor for class java.io.Writer
-
Creates a new character-stream writer whose critical sections will
synchronize on the given object.
- writeShort(int) - Method in interface java.io.DataOutput
-
Writes two bytes to the output
stream to represent the value of the argument.
- writeShort(int) - Method in class java.io.DataOutputStream
-
Writes a short
to the underlying output stream as two
bytes, high byte first.
- writeTo(OutputStream) - Method in class java.io.ByteArrayOutputStream
-
Writes the complete contents of this byte array output stream to
the specified output stream argument, as if by calling the output
stream's write method using out.write(buf, 0, count)
.
- writeUTF(String) - Method in interface java.io.DataOutput
-
Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string
s
.
- writeUTF(String) - Method in class java.io.DataOutputStream
-
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
- written - Variable in class java.io.DataOutputStream
-
The number of bytes written to the data output stream so far.