Package | Description |
---|---|
java.io |
Contains Input/Output streams communication classes.
|
java.lang |
Contains core language classes.
|
java.lang.annotation |
Contains core language classes related to compile-time annotations.
|
java.lang.ref |
Contains core language classes related to object references & garbage collection.
|
java.security |
Contains core language classes related to permission management.
|
java.util |
Contains utility classes including the collections framework and date manipulation.
|
Modifier and Type | Field and Description |
---|---|
protected InputStream |
FilterInputStream.in
The input stream to be filtered.
|
Modifier and Type | Method and Description |
---|---|
String |
InputStreamReader.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
Modifier and Type | Method and Description |
---|---|
PrintStream |
PrintStream.append(CharSequence csq)
Appends the specified character sequence to this output stream.
|
Writer |
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
PrintStream |
PrintStream.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this output stream.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
void |
PrintStream.print(Object obj)
Prints an object.
|
void |
PrintStream.print(String s)
Prints a string.
|
void |
PrintStream.println(Object x)
Prints an Object and then terminate the line.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
Constructor and Description |
---|
FilterInputStream(InputStream in)
Creates a
FilterInputStream by assigning the argument in to the field
this.in so as to remember it for later use. |
FilterOutputStream(OutputStream out)
Creates an output stream filter built on top of the specified underlying output stream.
|
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message and cause. |
IOException(Throwable cause)
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 ). |
Modifier and Type | Method and Description |
---|---|
T |
Class.cast(Object obj)
Casts an object to the class or interface represented by this
Class object. |
Throwable |
Throwable.getCause()
Returns the cause of this throwable or
null if the cause is nonexistent or unknown. |
Throwable |
ExceptionInInitializerError.getCause()
Returns the cause of this error (the exception that occurred during a static initialization that
caused this error to be created).
|
Throwable |
ClassNotFoundException.getCause()
Returns the cause of this exception (the exception that was raised if an error occurred while
attempting to load the class; otherwise
null ). |
static Thread.UncaughtExceptionHandler |
Thread.getDefaultUncaughtExceptionHandler()
Returns the default handler invoked when a thread abruptly terminates due to
an uncaught exception.
|
Throwable |
ExceptionInInitializerError.getException()
Returns the exception that occurred during a static initialization that caused this error to be
created.
|
Throwable |
ClassNotFoundException.getException()
Returns the exception that was raised if an error occurred while attempting to load the class.
|
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point represented by this stack
trace element.
|
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the specified name.
|
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property with the specified name. |
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
Package |
Class.getPackage()
Gets the package for this class.
|
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
static SecurityManager |
System.getSecurityManager()
Gets the system security interface.
|
Class<? super T> |
Class.getSuperclass()
Returns the
Class representing the superclass of the entity (class, interface, primitive
type or void) represented by this Class . |
Thread.UncaughtExceptionHandler |
Thread.getUncaughtExceptionHandler()
Returns the handler invoked when this thread abruptly terminates due to an
uncaught exception.
|
Modifier and Type | Method and Description |
---|---|
void |
Throwable.addSuppressed(Throwable exception)
Appends the specified exception to the exceptions that were suppressed in order to deliver this
exception.
|
Appendable |
Appendable.append(CharSequence csq)
Appends the specified character sequence to this
Appendable . |
StringBuffer |
StringBuffer.append(CharSequence s)
Appends the specified
CharSequence to this sequence. |
StringBuilder |
StringBuilder.append(CharSequence csq)
Appends the specified character sequence to this
Appendable . |
Appendable |
Appendable.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this
Appendable . |
StringBuffer |
StringBuffer.append(CharSequence s,
int start,
int end)
Appends a subsequence of the specified
CharSequence to this sequence. |
StringBuilder |
StringBuilder.append(CharSequence s,
int start,
int end)
Appends a subsequence of the specified
CharSequence to this sequence. |
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object argument.
|
StringBuilder |
StringBuilder.append(Object obj)
Appends the string representation of the Object argument.
|
StringBuffer |
StringBuffer.append(String str)
Appends the specified string to this character sequence.
|
StringBuilder |
StringBuilder.append(String str)
Appends the specified string to this character sequence.
|
StringBuffer |
StringBuffer.append(StringBuffer sb)
Appends the specified
StringBuffer to this sequence. |
StringBuilder |
StringBuilder.append(StringBuffer sb)
Appends the specified
StringBuffer to this sequence. |
T |
Class.cast(Object obj)
Casts an object to the class or interface represented by this
Class object. |
boolean |
Float.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Boolean.equals(Object obj)
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. |
boolean |
Long.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Short.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Enum.equals(Object other)
Returns true if the specified object is equal to this enum constant.
|
boolean |
String.equals(Object anObject)
Compares this string to the specified object.
|
boolean |
Byte.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Integer.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Object.equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another
StackTraceElement instance representing
the same execution point as this instance. |
boolean |
Character.equals(Object obj)
Compares this object against the specified object.
|
static int |
System.identityHashCode(Object x)
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().
|
Throwable |
Throwable.initCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
|
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s)
Inserts the specified
CharSequence into this sequence. |
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s)
Inserts the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s,
int start,
int end)
Inserts a subsequence of the specified
CharSequence into this sequence. |
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s,
int start,
int end)
Inserts a subsequence of the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this character sequence.
|
StringBuilder |
StringBuilder.insert(int offset,
String str)
Inserts the string into this character sequence.
|
boolean |
Class.isInstance(Object obj)
Determines if the specified
Object is assignment-compatible with the object represented
by this Class . |
static boolean |
Boolean.parseBoolean(String s)
Parses the string argument as a boolean.
|
static void |
Thread.setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
Set the default handler invoked when a thread abruptly terminates due to an uncaught exception,
and no other handler has been defined for that thread.
|
static void |
System.setSecurityManager(SecurityManager s)
Sets the System security.
|
void |
Thread.setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
Set the handler invoked when this thread abruptly terminates due to an uncaught exception.
|
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the specified string. |
Constructor and Description |
---|
AssertionError(String message,
Throwable cause)
Constructs a new
AssertionError with the specified detail message and cause. |
Boolean(String s)
Allocates a
Boolean object representing the value true if the string argument is
not null and is equal, ignoring case, to the string "true" . |
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and cause.
|
Error(Throwable cause)
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 ). |
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
Exception(Throwable cause)
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 ). |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalArgumentException(Throwable cause)
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 ). |
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalStateException(Throwable cause)
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 ). |
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail message and cause. |
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ReflectiveOperationException(Throwable cause)
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 ). |
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
|
RuntimeException(Throwable cause)
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(String name,
String actions)
Creates a new RuntimePermission object with the specified name.
|
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified detail message and cause. |
SecurityException(Throwable cause)
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 ). |
Thread(Runnable target)
Allocates a new Thread object with a specific target object whose run method is called.
|
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
Throwable(Throwable cause)
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 ). |
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
UnsupportedOperationException(Throwable cause)
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 ). |
Modifier and Type | Method and Description |
---|---|
boolean |
Annotation.equals(Object obj)
Returns true if the specified object represents an annotation that is logically equivalent to
this one.
|
Modifier and Type | Method and Description |
---|---|
T |
Reference.get()
Returns this reference object's referent.
|
Reference<? extends T> |
ReferenceQueue.poll()
Polls this queue to see if a reference object is available.
|
Reference<? extends T> |
ReferenceQueue.remove(long timeout)
Removes the next reference object in this queue, blocking until either one becomes available or
the given timeout period expires.
|
Constructor and Description |
---|
WeakReference(T referent,
ReferenceQueue<? super T> q)
Creates a new weak reference that refers to the given object and is registered with the given
queue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BasicPermission.equals(Object obj)
Checks two BasicPermission objects for equality.
|
abstract boolean |
Permission.equals(Object obj)
Checks two Permission objects for equality.
|
Constructor and Description |
---|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
Modifier and Type | Method and Description |
---|---|
abstract V |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary.
|
V |
Map.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
HashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
AbstractMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
abstract V |
Dictionary.put(K key,
V value)
Maps the specified
key to the specified value in this dictionary. |
V |
Map.put(K key,
V value)
Associates the specified value with the specified key in this map (optional operation).
|
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
HashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
Hashtable.put(K key,
V value)
Maps the specified
key to the specified value in this hashtable. |
V |
AbstractMap.put(K key,
V value)
Associates the specified value with the specified key in this map (optional operation).
|
abstract V |
Dictionary.remove(Object key)
Removes the
key (and its corresponding value ) from this dictionary. |
V |
Map.remove(Object key)
Removes the mapping for a key from this map if it is present (optional operation).
|
V |
WeakHashMap.remove(Object key)
Removes the mapping for a key from this weak hash map if it is present.
|
V |
HashMap.remove(Object key)
Removes the mapping for the specified key from this map if present.
|
V |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this hashtable.
|
V |
AbstractMap.remove(Object key)
Removes the mapping for a key from this map if it is present (optional operation).
|
V |
Map.Entry.setValue(V value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
V |
AbstractMap.SimpleEntry.setValue(V value)
Replaces the value corresponding to this entry with the specified value.
|
V |
AbstractMap.SimpleImmutableEntry.setValue(V value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
Modifier and Type | Method and Description |
---|---|
boolean |
WeakHashMap.containsKey(Object key)
Returns
true if this map contains a mapping for the specified key. |
boolean |
WeakHashMap.containsValue(Object value)
Returns
true if this map maps one or more keys to the specified value. |
void |
Observable.deleteObserver(Observer o)
Deletes an observer from the set of observers of this object.
|
boolean |
PropertyPermission.equals(Object obj)
Checks two PropertyPermission objects for equality.
|
boolean |
Comparator.equals(Object obj)
Indicates whether some other object is "equal to" this comparator.
|
boolean |
Map.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Map.Entry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified Object . |
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality.
|
boolean |
List.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
Collection.equals(Object o)
Compares the specified object with this collection for equality.
|
boolean |
Hashtable.equals(Object o)
Compares the specified Object with this Map for equality, as per the definition in the Map
interface.
|
boolean |
AbstractList.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
AbstractSet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
AbstractMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
AbstractMap.SimpleEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
AbstractMap.SimpleImmutableEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
boolean |
TimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone.
|
void |
Observable.notifyObservers(Object arg)
If this object has changed, as indicated by the
hasChanged method, then notify all
of its observers and then call the clearChanged method to indicate that this object
has no longer changed. |
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
WeakHashMap.remove(Object key)
Removes the mapping for a key from this weak hash map if it is present.
|
void |
Observer.update(Observable o,
Object arg)
This method is called whenever the observed object is changed.
|
Constructor and Description |
---|
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ConcurrentModificationException(Throwable cause)
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 . |