- 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
-
Deprecated.
Terminates this timer, discarding any currently scheduled tasks.
- cancel() - Method in class java.util.TimerTask
-
Deprecated.
Cancels this timer task.
- capacity() - Method in class java.lang.StringBuffer
-
Returns the current capacity.
- capacity() - Method in class java.lang.StringBuilder
-
Returns the current 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.
- CASE_INSENSITIVE_ORDER - Static variable in class java.lang.String
-
A Comparator that orders String
objects as by compareToIgnoreCase
.
- cast(Object) - Method in class java.lang.Class
-
Casts an object to the class or interface represented by this Class
object.
- cbrt(double) - Static method in class java.lang.Math
-
Returns the cube root of a double
value.
- 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.
- 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
-
Returns the char
value in this sequence at the specified index.
- charAt(int) - Method in class java.lang.StringBuilder
-
Returns the char
value in this sequence at the specified index.
- 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.
- 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.
- checkError() - Method in class java.io.PrintStream
-
Flushes the stream and checks its error state.
- 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.
- 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.
- ClassCircularityError - Error in java.lang
-
Thrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a class
being loaded.
- ClassCircularityError() - Constructor for error java.lang.ClassCircularityError
-
Constructs a ClassCircularityError
with no detail message.
- ClassCircularityError(String) - Constructor for error java.lang.ClassCircularityError
-
Constructs a ClassCircularityError
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.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.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.Hashtable
-
Clears this hashtable so that it contains no keys.
- 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.
- clearChanged() - Method in class java.util.Observable
-
Indicates that this object has no longer changed, or that it has already notified all of its
observers of its most recent change, so that the hasChanged
method will now return
false
.
- clearError() - Method in class java.io.PrintStream
-
Clears the internal error state of this stream.
- 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.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.Hashtable
-
Creates a shallow copy of this hashtable.
- 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.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.FilterInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class java.io.FilterOutputStream
-
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 the stream.
- close() - Method in class java.io.OutputStream
-
Closes this output stream and releases any system resources associated with this stream.
- close() - Method in class java.io.OutputStreamWriter
-
Close the stream.
- 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.
- Closeable - Interface in java.io
-
A Closeable
is a source or destination of data that can be closed.
- Collection<E> - Interface in java.util
-
The root interface in the collection hierarchy.
- 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(boolean, boolean) - Static method in class java.lang.Boolean
-
Compares two boolean
values.
- compare(byte, byte) - Static method in class java.lang.Byte
-
Compares two byte
values numerically.
- compare(char, char) - Static method in class java.lang.Character
-
Compares two char
values numerically.
- 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(int, int) - Static method in class java.lang.Integer
-
Compares two int
values numerically.
- compare(long, long) - Static method in class java.lang.Long
-
Compares two long
values numerically.
- compare(short, short) - Static method in class java.lang.Short
-
Compares two short
values numerically.
- compare(T, T) - Method in interface java.util.Comparator
-
Compares its two arguments for order.
- 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(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.
- ConcurrentModificationException(String, Throwable) - Constructor for exception java.util.ConcurrentModificationException
-
Constructs a new exception with the specified detail message and cause.
- ConcurrentModificationException(Throwable) - Constructor for exception java.util.ConcurrentModificationException
-
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
.
- 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.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 class java.util.Hashtable
-
Tests if some key maps into the specified value in this hashtable.
- 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
-
Adds all of the elements in the specified collection to this collection (optional operation).
- 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 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(CharSequence) - Method in class java.lang.String
-
Compares this string to the specified CharSequence
.
- contentEquals(StringBuffer) - Method in class java.lang.String
-
Compares this string to the specified StringBuffer
.
- copyInto(Object[]) - Method in class java.util.Vector
-
Copies the components of this vector into the specified array.
- 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[]) - Static method in class java.lang.String
-
Returns a String that represents the character sequence in the array specified.
- copyValueOf(char[], int, int) - 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.
- cosh(double) - Static method in class java.lang.Math
-
Returns the hyperbolic cosine of a double
value.
- 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.
- countObservers() - Method in class java.util.Observable
-
Returns the number of observers of this Observable
object.
- 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.