|
CDC 1.1.2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Object | |
java.io | Provides for system input and output through data streams, serialization and the file system. |
java.lang | Provides classes that are fundamental to the design of the Java programming language. |
java.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector. |
java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
java.math | Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). |
java.net | Provides the classes for implementing networking applications. |
java.security | Provides the classes and interfaces for the security framework. |
java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. |
java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
javax.microedition.io | Provides a simplified mechanism for applications to use various types of I/O protocols in resource-constrained environments. |
Uses of Object in java.io |
Subclasses of Object in java.io | |
class |
BufferedInputStream
A BufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods. |
class |
BufferedOutputStream
The class implements a buffered output stream. |
class |
BufferedReader
Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines. |
class |
BufferedWriter
Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings. |
class |
ByteArrayInputStream
A ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream. |
class |
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array. |
class |
CharConversionException
Base class for character conversion exceptions. |
class |
DataInputStream
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way. |
class |
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a portable way. |
class |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input. |
class |
File
An abstract representation of file and directory pathnames. |
class |
FileDescriptor
Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes. |
class |
FileInputStream
A FileInputStream obtains input bytes
from a file in a file system. |
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname has failed. |
class |
FileOutputStream
A file output stream is an output stream for writing data to a File or to a FileDescriptor . |
class |
FilePermission
This class represents access to a file or directory. |
class |
FileReader
Convenience class for reading character files. |
class |
FileWriter
Convenience class for writing character files. |
class |
FilterInputStream
A FilterInputStream contains
some other input stream, which it uses as
its basic source of data, possibly transforming
the data along the way or providing additional
functionality. |
class |
FilterOutputStream
This class is the superclass of all classes that filter output streams. |
class |
InputStream
This abstract class is the superclass of all classes representing an input stream of bytes. |
class |
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters according to a specified character encoding. |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted. |
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following problems with a Class. |
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation tests. |
class |
IOException
Signals that an I/O exception of some sort has occurred. |
class |
NotActiveException
Thrown when serialization or deserialization is not active. |
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface. |
class |
ObjectInputStream
An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream. |
static class |
ObjectInputStream.GetField
Provide access to the persistent fields read from the input stream. |
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream. |
static class |
ObjectOutputStream.PutField
Provide programatic access to the persistent fields to be written to ObjectOutput. |
class |
ObjectStreamClass
Serialization's descriptor for classes. |
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes. |
class |
ObjectStreamField
A description of a Serializable field from a Serializable class. |
class |
OptionalDataException
Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream. |
class |
OutputStream
This abstract class is the superclass of all classes representing an output stream of bytes. |
class |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes according to a specified character encoding. |
class |
PipedInputStream
A piped input stream should be connected to a piped output stream; the piped input stream then provides whatever data bytes are written to the piped output stream. |
class |
PipedOutputStream
A piped output stream can be connected to a piped input stream to create a communications pipe. |
class |
PrintStream
A PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently. |
class |
PrintWriter
Print formatted representations of objects to a text-output stream. |
class |
PushbackInputStream
A PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
class |
Reader
Abstract class for reading character streams. |
class |
SerializablePermission
This class is for Serializable permissions. |
class |
StreamCorruptedException
Thrown when control information that was read from an object stream violates internal consistency checks. |
class |
StreamTokenizer
The StreamTokenizer class takes an input stream and
parses it into "tokens", allowing the tokens to be
read one at a time. |
class |
SyncFailedException
Signals that a sync operation has failed. |
class |
UnsupportedEncodingException
The Character Encoding is not supported. |
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface. |
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a write operation. |
class |
Writer
Abstract class for writing to character streams. |
Fields in java.io declared as Object | |
protected Object |
Writer.lock
The object used to synchronize operations on this stream. |
protected Object |
Reader.lock
The object used to synchronize operations on this stream. |
Methods in java.io that return Object | |
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization. |
Object |
ObjectInput.readObject()
Read and return an object. |
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream. |
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor. |
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream. |
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization. |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field. |
Methods in java.io with parameters of type Object | |
void |
PrintWriter.print(Object obj)
Print an object. |
void |
PrintWriter.println(Object x)
Print an Object and then terminate the line. |
void |
PrintStream.print(Object obj)
Print an object. |
void |
PrintStream.println(Object x)
Print an Object and then terminate the line. |
void |
ObjectOutputStream.writeObject(Object obj)
Write the specified object to the ObjectOutputStream. |
protected void |
ObjectOutputStream.writeObjectOverride(Object obj)
Method used by subclasses to override the default writeObject method. |
void |
ObjectOutputStream.writeUnshared(Object obj)
Writes an "unshared" object to the ObjectOutputStream. |
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization. |
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field. |
int |
ObjectStreamField.compareTo(Object obj)
Compare this field with another ObjectStreamField . |
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization. |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field. |
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream. |
boolean |
FilePermission.equals(Object obj)
Checks two FilePermission objects for equality. |
int |
File.compareTo(Object o)
Compares this abstract pathname to another object. |
boolean |
File.equals(Object obj)
Tests this abstract pathname for equality with the given object. |
Constructors in java.io with parameters of type Object | |
Writer(Object lock)
Create a new character-stream writer whose critical sections will synchronize on the given object. |
|
Reader(Object lock)
Create a new character-stream reader whose critical sections will synchronize on the given object. |
Uses of Object in java.lang |
Subclasses of Object in java.lang | |
class |
AbstractMethodError
Thrown when an application tries to call an abstract method. |
class |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred. |
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index. |
class |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. |
class |
AssertionError
Thrown to indicate that an assertion has failed. |
class |
Boolean
The Boolean class wraps a value of the primitive type boolean in an object. |
class |
Byte
The Byte class wraps a value of primitive type
byte in an object. |
class |
Character
The Character class wraps a value of the primitive
type char in an object. |
static class |
Character.Subset
Instances of this class represent particular subsets of the Unicode character set. |
static class |
Character.UnicodeBlock
A family of character subsets representing the character blocks in the Unicode specification. |
class |
Class
Instances of the class Class represent classes and interfaces
in a running Java application. |
class |
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. |
class |
ClassCircularityError
Thrown when a circularity has been detected while initializing a class. |
class |
ClassFormatError
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. |
class |
ClassLoader
A class loader is an object that is responsible for loading classes. |
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using: The forName method in class Class . |
class |
CloneNotSupportedException
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. |
class |
Double
The Double class wraps a value of the primitive type
double in an object. |
class |
Error
An Error is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch. |
class |
Exception
The class Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch. |
class |
ExceptionInInitializerError
Signals that an unexpected exception has occurred in a static initializer. |
class |
Float
The Float class wraps a value of primitive type
float in an object. |
class |
IllegalAccessError
Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to. |
class |
IllegalAccessException
An IllegalAccessException is thrown when an application tries to reflectively 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. |
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument. |
class |
IllegalMonitorStateException
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. |
class |
IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time. |
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation. |
class |
IncompatibleClassChangeError
Thrown when an incompatible class change has occurred to some class definition. |
class |
IndexOutOfBoundsException
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. |
class |
InheritableThreadLocal
This class extends ThreadLocal to provide inheritance of values from parent thread to child thread: when a child thread is created, the child receives initial values for all inheritable thread-local variables for which the parent has values. |
class |
InstantiationError
Thrown when an application tries to use the Java new
construct to instantiate an abstract class or an interface. |
class |
InstantiationException
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 because it is an interface or is an abstract class. |
class |
Integer
The Integer class wraps a value of the primitive type
int in an object. |
class |
InternalError
Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine. |
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread . |
class |
LinkageError
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. |
class |
Long
The Long class wraps a value of the primitive type
long in an object. |
class |
Math
The class Math contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions. |
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size. |
class |
NoClassDefFoundError
Thrown if the Java Virtual Machine or a ClassLoader instance
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. |
class |
NoSuchFieldError
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field. |
class |
NoSuchFieldException
Signals that the class doesn't have a field of a specified name. |
class |
NoSuchMethodError
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method. |
class |
NoSuchMethodException
Thrown when a particular method cannot be found. |
class |
NullPointerException
Thrown when an application attempts to use null in a
case where an object is required. |
class |
Number
The abstract class Number is the superclass of classes
BigDecimal , BigInteger ,
Byte , Double , Float ,
Integer , Long , and Short . |
class |
NumberFormatException
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. |
class |
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector. |
class |
Package
Package objects contain version information
about the implementation and specification of a Java package. |
class |
Process
The Runtime.exec methods create a native process and
return an instance of a subclass of Process that can
be used to control the process and obtain information about it. |
class |
Runtime
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. |
class |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
class |
RuntimePermission
This class is for runtime permissions. |
class |
SecurityException
Thrown by the security manager to indicate a security violation. |
class |
SecurityManager
The security manager is a class that allows applications to implement a security policy. |
class |
Short
The Short class wraps a value of primitive type
short in an object. |
class |
StackOverflowError
Thrown when a stack overflow occurs because an application recurses too deeply. |
class |
StackTraceElement
An element in a stack trace, as returned by Throwable.getStackTrace() . |
class |
StrictMath
The class StrictMath contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions. |
class |
String
The String class represents character strings. |
class |
StringBuffer
A string buffer implements a mutable sequence of characters. |
class |
StringIndexOutOfBoundsException
Thrown by String methods to indicate that an index
is either negative or greater than the size of the string. |
class |
System
The System class contains several useful class fields
and methods. |
class |
Thread
A thread is a thread of execution in a program. |
class |
ThreadDeath
An instance of ThreadDeath is thrown in the victim
thread when the stop method with zero arguments in
class Thread is called. |
class |
ThreadGroup
A thread group represents a set of threads. |
class |
ThreadLocal
This class provides thread-local variables. |
class |
Throwable
The Throwable class is the superclass of all errors and
exceptions in the Java language. |
class |
UnsatisfiedLinkError
Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native . |
class |
UnsupportedClassVersionError
Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported. |
class |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported. |
class |
VerifyError
Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. |
class |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating. |
class |
Void
The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void. |
Methods in java.lang that return Object | |
protected Object |
ThreadLocal.initialValue()
Returns the current thread's initial value for this thread-local variable. |
Object |
ThreadLocal.get()
Returns the value in the current thread's copy of this thread-local variable. |
Object |
SecurityManager.getSecurityContext()
Creates an object that encapsulates the current execution environment. |
protected Object |
Object.clone()
Creates and returns a copy of this object. |
protected Object |
InheritableThreadLocal.childValue(Object parentValue)
Computes the child's initial value for this inheritable thread-local variable as a function of the parent's value at the time the child thread is created. |
Object |
Class.newInstance()
Creates a new instance of the class represented by this Class object. |
Object[] |
Class.getSigners()
Gets the signers of this class. |
Methods in java.lang with parameters of type Object | |
void |
ThreadLocal.set(Object value)
Sets the current thread's copy of this thread-local variable to the specified value. |
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object
argument to this string buffer. |
StringBuffer |
StringBuffer.insert(int offset,
Object obj)
Inserts the string representation of the Object
argument into this string buffer. |
static boolean |
Thread.holdsLock(Object obj)
Returns true if and only if the current thread holds the monitor lock on the specified object. |
static void |
System.arraycopy(Object src,
int srcPos,
Object dest,
int destPos,
int length)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array. |
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(). |
boolean |
String.equals(Object anObject)
Compares this string to the specified object. |
int |
String.compareTo(Object o)
Compares this String to another Object. |
static String |
String.valueOf(Object obj)
Returns the string representation of the Object argument. |
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another StackTraceElement instance representing the same execution point as this instance. |
void |
SecurityManager.checkPermission(Permission perm,
Object context)
Throws a SecurityException if the
specified security context is denied access to the resource
specified by the given permission. |
void |
SecurityManager.checkRead(String file,
Object context)
Throws a SecurityException if the
specified security context is not allowed to read the file
specified by the string argument. |
void |
SecurityManager.checkConnect(String host,
int port,
Object context)
Throws a SecurityException if the
specified security context is not allowed to open a socket
connection to the specified host and port number. |
boolean |
SecurityManager.checkTopLevelWindow(Object window)
Returns false if the calling
thread is not trusted to bring up the top-level window indicated
by the window argument, or the AWT package is not
available. |
boolean |
Object.equals(Object obj)
Indicates whether some other object is "equal to" this one. |
boolean |
Short.equals(Object obj)
Compares this object to the specified object. |
int |
Short.compareTo(Object o)
Compares this Short object to another object. |
protected Object |
InheritableThreadLocal.childValue(Object parentValue)
Computes the child's initial value for this inheritable thread-local variable as a function of the parent's value at the time the child thread is created. |
boolean |
Integer.equals(Object obj)
Compares this object to the specified object. |
int |
Integer.compareTo(Object o)
Compares this Integer object to another object. |
boolean |
Long.equals(Object obj)
Compares this object to the specified object. |
int |
Long.compareTo(Object o)
Compares this Long object to another object. |
boolean |
Double.equals(Object obj)
Compares this object against the specified object. |
int |
Double.compareTo(Object o)
Compares this Double object to another object. |
int |
Comparable.compareTo(Object o)
Compares this object with the specified object for order. |
protected void |
ClassLoader.setSigners(Class c,
Object[] signers)
Sets the signers of a class. |
boolean |
Character.equals(Object obj)
Compares this object against the specified object. |
int |
Character.compareTo(Object o)
Compares this Character object to another object. |
boolean |
Character.Subset.equals(Object obj)
Compares two Subset objects for equality. |
boolean |
Float.equals(Object obj)
Compares this object against the specified object. |
int |
Float.compareTo(Object o)
Compares this Float object to another object. |
boolean |
Class.isInstance(Object obj)
Determines if the specified Object is assignment-compatible
with the object represented by this Class . |
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 |
Byte.equals(Object obj)
Compares this object to the specified object. |
int |
Byte.compareTo(Object o)
Compares this Byte object to another object. |
Constructors in java.lang with parameters of type Object | |
AssertionError(Object detailMessage)
Constructs an AssertionError with its detail message derived from the specified object, which is converted to a string as defined in The Java Language Specification, Second Edition, Section 15.18.1.1. |
Uses of Object in java.lang.ref |
Subclasses of Object in java.lang.ref | |
class |
PhantomReference
Phantom reference objects, which are enqueued after the collector determines that their referents may otherwise be reclaimed. |
class |
Reference
Abstract base class for reference objects. |
class |
ReferenceQueue
Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected. |
class |
SoftReference
Soft reference objects, which are cleared at the discretion of the garbage collector in response to memory demand. |
class |
WeakReference
Weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed. |
Methods in java.lang.ref that return Object | |
Object |
SoftReference.get()
Returns this reference object's referent. |
Object |
Reference.get()
Returns this reference object's referent. |
Object |
PhantomReference.get()
Returns this reference object's referent. |
Constructors in java.lang.ref with parameters of type Object | |
WeakReference(Object referent)
Creates a new weak reference that refers to the given object. |
|
WeakReference(Object referent,
ReferenceQueue q)
Creates a new weak reference that refers to the given object and is registered with the given queue. |
|
SoftReference(Object referent)
Creates a new soft reference that refers to the given object. |
|
SoftReference(Object referent,
ReferenceQueue q)
Creates a new soft reference that refers to the given object and is registered with the given queue. |
|
PhantomReference(Object referent,
ReferenceQueue q)
Creates a new phantom reference that refers to the given object and is registered with the given queue. |
Uses of Object in java.lang.reflect |
Subclasses of Object in java.lang.reflect | |
class |
AccessibleObject
The AccessibleObject class is the base class for Field, Method and Constructor objects. |
class |
Array
The Array class provides static methods to dynamically create and
access Java arrays. |
class |
Constructor
Constructor provides information about, and access to, a single
constructor for a class. |
class |
Field
A Field provides information about, and dynamic access to, a
single field of a class or an interface. |
class |
InvocationTargetException
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. |
class |
Method
A Method provides information about, and access to, a single method
on a class or interface. |
class |
Modifier
The Modifier class provides static methods and
constants to decode class and member access modifiers. |
class |
Proxy
Proxy provides static methods for creating dynamic proxy
classes and instances, and it is also the superclass of all
dynamic proxy classes created by those methods. |
class |
ReflectPermission
The Permission class for reflective operations. |
class |
UndeclaredThrowableException
Thrown by a method invocation on a proxy instance if its invocation handler's invoke method throws a
checked exception (a Throwable that is not assignable
to RuntimeException or Error ) that
is not assignable to any of the exception types declared in the
throws clause of the method that was invoked on the
proxy instance and dispatched to the invocation handler. |
Methods in java.lang.reflect that return Object | |
Object |
Method.invoke(Object obj,
Object[] args)
Invokes the underlying method represented by this Method
object, on the specified object with the specified parameters. |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns the result. |
Object |
Constructor.newInstance(Object[] initargs)
Uses the constructor represented by this Constructor object to
create and initialize a new instance of the constructor's
declaring class, with the specified initialization parameters. |
static Object |
Array.newInstance(Class componentType,
int length)
Creates a new array with the specified component type and length. |
static Object |
Array.newInstance(Class componentType,
int[] dimensions)
Creates a new array with the specified component type and dimensions. |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified array object. |
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler. |
Object |
Field.get(Object obj)
Returns the value of the field represented by this Field , on
the specified object. |
Methods in java.lang.reflect with parameters of type Object | |
boolean |
Method.equals(Object obj)
Compares this Method against the specified object. |
Object |
Method.invoke(Object obj,
Object[] args)
Invokes the underlying method represented by this Method
object, on the specified object with the specified parameters. |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns the result. |
boolean |
Constructor.equals(Object obj)
Compares this Constructor against the specified object. |
Object |
Constructor.newInstance(Object[] initargs)
Uses the constructor represented by this Constructor object to
create and initialize a new instance of the constructor's
declaring class, with the specified initialization parameters. |
static int |
Array.getLength(Object array)
Returns the length of the specified array object, as an int . |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified array object. |
static boolean |
Array.getBoolean(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a boolean . |
static byte |
Array.getByte(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a byte . |
static char |
Array.getChar(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a char . |
static short |
Array.getShort(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a short . |
static int |
Array.getInt(Object array,
int index)
Returns the value of the indexed component in the specified array object, as an int . |
static long |
Array.getLong(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a long . |
static float |
Array.getFloat(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a float . |
static double |
Array.getDouble(Object array,
int index)
Returns the value of the indexed component in the specified array object, as a double . |
static void |
Array.set(Object array,
int index,
Object value)
Sets the value of the indexed component of the specified array object to the specified new value. |
static void |
Array.setBoolean(Object array,
int index,
boolean z)
Sets the value of the indexed component of the specified array object to the specified boolean value. |
static void |
Array.setByte(Object array,
int index,
byte b)
Sets the value of the indexed component of the specified array object to the specified byte value. |
static void |
Array.setChar(Object array,
int index,
char c)
Sets the value of the indexed component of the specified array object to the specified char value. |
static void |
Array.setShort(Object array,
int index,
short s)
Sets the value of the indexed component of the specified array object to the specified short value. |
static void |
Array.setInt(Object array,
int index,
int i)
Sets the value of the indexed component of the specified array object to the specified int value. |
static void |
Array.setLong(Object array,
int index,
long l)
Sets the value of the indexed component of the specified array object to the specified long value. |
static void |
Array.setFloat(Object array,
int index,
float f)
Sets the value of the indexed component of the specified array object to the specified float value. |
static void |
Array.setDouble(Object array,
int index,
double d)
Sets the value of the indexed component of the specified array object to the specified double value. |
static InvocationHandler |
Proxy.getInvocationHandler(Object proxy)
Returns the invocation handler for the specified proxy instance. |
boolean |
Field.equals(Object obj)
Compares this Field against the specified object. |
Object |
Field.get(Object obj)
Returns the value of the field represented by this Field , on
the specified object. |
boolean |
Field.getBoolean(Object obj)
Gets the value of a static or instance boolean field. |
byte |
Field.getByte(Object obj)
Gets the value of a static or instance byte field. |
char |
Field.getChar(Object obj)
Gets the value of a static or instance field of type char or of another primitive type convertible to
type char via a widening conversion. |
short |
Field.getShort(Object obj)
Gets the value of a static or instance field of type short or of another primitive type convertible to
type short via a widening conversion. |
int |
Field.getInt(Object obj)
Gets the value of a static or instance field of type int or of another primitive type convertible to
type int via a widening conversion. |
long |
Field.getLong(Object obj)
Gets the value of a static or instance field of type long or of another primitive type convertible to
type long via a widening conversion. |
float |
Field.getFloat(Object obj)
Gets the value of a static or instance field of type float or of another primitive type convertible to
type float via a widening conversion. |
double |
Field.getDouble(Object obj)
Gets the value of a static or instance field of type double or of another primitive type convertible to
type double via a widening conversion. |
void |
Field.set(Object obj,
Object value)
Sets the field represented by this Field object on the
specified object argument to the specified new value. |
void |
Field.setBoolean(Object obj,
boolean z)
Sets the value of a field as a boolean on the specified object. |
void |
Field.setByte(Object obj,
byte b)
Sets the value of a field as a byte on the specified object. |
void |
Field.setChar(Object obj,
char c)
Sets the value of a field as a char on the specified object. |
void |
Field.setShort(Object obj,
short s)
Sets the value of a field as a short on the specified object. |
void |
Field.setInt(Object obj,
int i)
Sets the value of a field as an int on the specified object. |
void |
Field.setLong(Object obj,
long l)
Sets the value of a field as a long on the specified object. |
void |
Field.setFloat(Object obj,
float f)
Sets the value of a field as a float on the specified object. |
void |
Field.setDouble(Object obj,
double d)
Sets the value of a field as a double on the specified object. |
Uses of Object in java.math |
Subclasses of Object in java.math | |
class |
BigInteger
Immutable arbitrary-precision integers. |
Methods in java.math with parameters of type Object | |
int |
BigInteger.compareTo(Object o)
Compares this BigInteger with the specified Object. |
boolean |
BigInteger.equals(Object x)
Compares this BigInteger with the specified Object for equality. |
Uses of Object in java.net |
Subclasses of Object in java.net | |
class |
BindException
Signals that an error occurred while attempting to bind a socket to a local address and port. |
class |
ContentHandler
The abstract class ContentHandler is the superclass
of all classes that read an Object from a
URLConnection . |
class |
DatagramPacket
This class represents a datagram packet. |
class |
DatagramSocket
This class represents a socket for sending and receiving datagram packets. |
class |
DatagramSocketImpl
Abstract datagram and multicast socket implementation base class. |
class |
Inet4Address
This class represents an Internet Protocol version 4 (IPv4) address. |
class |
Inet6Address
This class represents an Internet Protocol version 6 (IPv6) address. |
class |
InetAddress
This class represents an Internet Protocol (IP) address. |
class |
InetSocketAddress
This class implements an IP Socket Address (IP address + port number) It can also be a pair (hostname + port number), in which case an attempt will be made to resolve the hostname. |
class |
JarURLConnection
A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file. |
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred. |
class |
NetPermission
This class is for various network permissions. |
class |
NetworkInterface
This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface. |
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been received on a connected datagram. |
class |
ProtocolException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. |
class |
SocketAddress
This class represents a Socket Address with no protocol attachment. |
class |
SocketException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. |
class |
SocketPermission
This class represents access to a network via sockets. |
class |
SocketTimeoutException
Signals that a timeout has occurred on a socket read or accept. |
class |
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined. |
class |
UnknownServiceException
Thrown to indicate that an unknown service exception has occurred. |
class |
URL
Class URL represents a Uniform Resource
Locator, a pointer to a "resource" on the World
Wide Web. |
class |
URLClassLoader
This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories. |
class |
URLConnection
The abstract class URLConnection is the superclass
of all classes that represent a communications link between the
application and a URL. |
class |
URLStreamHandler
The abstract class URLStreamHandler is the common
superclass for all stream protocol handlers. |
Methods in java.net that return Object | |
Object |
URLConnection.getContent()
Retrieves the contents of this URL connection. |
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection. |
Object |
URL.getContent()
Gets the contents of this URL. |
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL. |
Object |
SocketOptions.getOption(int optID)
Fetch the value of an option. |
abstract Object |
ContentHandler.getContent(URLConnection urlc)
Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it. |
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified. |
Methods in java.net with parameters of type Object | |
boolean |
URL.equals(Object obj)
Compares this URL for equality with another object. |
boolean |
SocketPermission.equals(Object obj)
Checks two SocketPermission objects for equality. |
void |
SocketOptions.setOption(int optID,
Object value)
Enable/disable the option specified by optID. |
boolean |
NetworkInterface.equals(Object obj)
Compares this object against the specified object. |
boolean |
InetSocketAddress.equals(Object obj)
Compares this object against the specified object. |
boolean |
InetAddress.equals(Object obj)
Compares this object against the specified object. |
boolean |
Inet6Address.equals(Object obj)
Compares this object against the specified object. |
boolean |
Inet4Address.equals(Object obj)
Compares this object against the specified object. |
Uses of Object in java.security |
Subclasses of Object in java.security | |
class |
AccessControlContext
An AccessControlContext is used to make system resource access decisions based on the context it encapsulates. |
class |
AccessControlException
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. |
class |
AccessController
The AccessController class is used for access control operations and decisions. |
class |
AllPermission
The AllPermission is a permission that implies all other permissions. |
class |
BasicPermission
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. |
class |
CodeSource
This class extends the concept of a codebase to encapsulate not only the location (URL) but also the certificate(s) that were used to verify signed code originating from that location. |
class |
DigestException
This is the generic Message Digest exception. |
class |
DigestOutputStream
A transparent stream that updates the associated message digest using the bits going through the stream. |
class |
GeneralSecurityException
The GeneralSecurityException class is a generic
security exception class that provides type safety for all the
security-related exception classes that extend from it. |
class |
GuardedObject
A GuardedObject is an object that is used to protect access to another object. |
class |
InvalidAlgorithmParameterException
This is the exception for invalid or inappropriate algorithm parameters. |
class |
InvalidKeyException
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc). |
class |
InvalidParameterException
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. |
class |
KeyException
This is the basic key exception. |
class |
MessageDigest
This MessageDigest class provides applications the functionality of a message digest algorithm, such as MD5 or SHA. |
class |
MessageDigestSpi
This class defines the Service Provider Interface (SPI) for the MessageDigest class, which provides the functionality
of a message digest algorithm, such as MD5 or SHA. |
class |
NoSuchAlgorithmException
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment. |
class |
NoSuchProviderException
This exception is thrown when a particular security provider is requested but is not available in the environment. |
class |
Permission
Abstract class for representing access to a system resource. |
class |
PermissionCollection
Abstract class representing a collection of Permission objects. |
class |
Permissions
This class represents a heterogeneous collection of Permissions. |
class |
Policy
This is an abstract class for representing the system security policy for a Java application environment (specifying which permissions are available for code from various sources). |
class |
PrivilegedActionException
This exception is thrown by doPrivileged(PrivilegedExceptionAction) and
doPrivileged(PrivilegedExceptionAction,
AccessControlContext context) to indicate
that the action being performed threw a checked exception. |
class |
ProtectionDomain
This ProtectionDomain class encapsulates the characteristics of a domain, which encloses a set of classes whose instances are granted a set of permissions when being executed on behalf of a given set of Principals. |
class |
Provider
This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. |
class |
ProviderException
A runtime exception for Provider exceptions (such as misconfiguration errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors. |
class |
SecureClassLoader
This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default. |
class |
Security
This class centralizes all security properties and common security methods. |
class |
SecurityPermission
This class is for security permissions. |
class |
SignatureException
This is the generic Signature exception. |
class |
UnresolvedPermission
The UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized. |
Methods in java.security that return Object | |
Object |
PrivilegedExceptionAction.run()
Performs the computation. |
Object |
Provider.put(Object key,
Object value)
Sets the key property to have the specified
value . |
Object |
Provider.remove(Object key)
Removes the key property (and its corresponding
value ). |
Object |
PrivilegedAction.run()
Performs the computation. |
Object |
MessageDigestSpi.clone()
Returns a clone if the implementation is cloneable. |
Object |
MessageDigest.clone()
Returns a clone if the implementation is cloneable. |
Object |
GuardedObject.getObject()
Retrieves the guarded object, or throws an exception if access to the guarded object is denied by the guard. |
static Object |
AccessController.doPrivileged(PrivilegedAction action)
Performs the specified PrivilegedAction with privileges
enabled. |
static Object |
AccessController.doPrivileged(PrivilegedAction action,
AccessControlContext context)
Performs the specified PrivilegedAction with privileges
enabled and restricted by the specified AccessControlContext . |
static Object |
AccessController.doPrivileged(PrivilegedExceptionAction action)
Performs the specified PrivilegedExceptionAction with
privileges enabled. |
static Object |
AccessController.doPrivileged(PrivilegedExceptionAction action,
AccessControlContext context)
Performs the specified PrivilegedExceptionAction with
privileges enabled and restricted by the specified
AccessControlContext . |
Methods in java.security with parameters of type Object | |
boolean |
UnresolvedPermission.equals(Object obj)
Checks two UnresolvedPermission objects for equality. |
boolean |
Principal.equals(Object another)
Compares this principal to the specified object. |
Object |
Provider.put(Object key,
Object value)
Sets the key property to have the specified
value . |
Object |
Provider.remove(Object key)
Removes the key property (and its corresponding
value ). |
void |
Permission.checkGuard(Object object)
Implements the guard interface for a permission. |
abstract boolean |
Permission.equals(Object obj)
Checks two Permission objects for equality. |
void |
Guard.checkGuard(Object object)
Determines whether or not to allow access to the guarded object object . |
boolean |
CodeSource.equals(Object obj)
Tests for equality between the specified object and this object. |
boolean |
AccessControlContext.equals(Object obj)
Checks two AccessControlContext objects for equality. |
boolean |
AllPermission.equals(Object obj)
Checks two AllPermission objects for equality. |
boolean |
BasicPermission.equals(Object obj)
Checks two BasicPermission objects for equality. |
Constructors in java.security with parameters of type Object | |
GuardedObject(Object object,
Guard guard)
Constructs a GuardedObject using the specified object and guard. |
Uses of Object in java.security.cert |
Subclasses of Object in java.security.cert | |
class |
Certificate
Abstract class for managing a variety of identity certificates. |
protected static class |
Certificate.CertificateRep
Alternate Certificate class for serialization. |
class |
CertificateEncodingException
Certificate Encoding Exception. |
class |
CertificateException
This exception indicates one of a variety of certificate problems. |
Methods in java.security.cert that return Object | |
protected Object |
Certificate.writeReplace()
Replace the Certificate to be serialized. |
protected Object |
Certificate.CertificateRep.readResolve()
Resolve the Certificate Object. |
Methods in java.security.cert with parameters of type Object | |
boolean |
Certificate.equals(Object other)
Compares this certificate for equality with the specified object. |
Uses of Object in java.text |
Subclasses of Object in java.text | |
class |
Annotation
An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics. |
static class |
AttributedCharacterIterator.Attribute
Defines attribute keys that are used to identify text attributes. |
class |
AttributedString
An AttributedString holds text and related attribute information. |
class |
ChoiceFormat
A ChoiceFormat allows you to attach a format to a range of numbers. |
class |
DateFormat
DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner. |
static class |
DateFormat.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned
from DateFormat.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
DateFormatSymbols
DateFormatSymbols is a public class for encapsulating
localizable date-time formatting data, such as the names of the
months, the names of the days of the week, and the time zone data. |
class |
DecimalFormat
DecimalFormat is a concrete subclass of
NumberFormat that formats decimal numbers. |
class |
DecimalFormatSymbols
This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by DecimalFormat
to format numbers. |
class |
FieldPosition
FieldPosition is a simple class used by Format
and its subclasses to identify fields in formatted output. |
class |
Format
Format is an abstract base class for formatting locale-sensitive
information such as dates, messages, and numbers. |
static class |
Format.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned
from Format.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
MessageFormat
MessageFormat provides a means to produce concatenated
messages in language-neutral way. |
static class |
MessageFormat.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned
from MessageFormat.formatToCharacterIterator . |
class |
NumberFormat
NumberFormat is the abstract base class for all number
formats. |
static class |
NumberFormat.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned
from NumberFormat.formatToCharacterIterator and as
field identifiers in FieldPosition . |
class |
ParseException
Signals that an error has been reached unexpectedly while parsing. |
class |
ParsePosition
ParsePosition is a simple class used by Format
and its subclasses to keep track of the current position during parsing. |
class |
SimpleDateFormat
SimpleDateFormat is a concrete class for formatting and
parsing dates in a locale-sensitive manner. |
Methods in java.text that return Object | |
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string. |
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object array. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array. |
Object |
MessageFormat.clone()
Creates and returns a copy of this object. |
protected Object |
MessageFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants. |
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object. |
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object. |
Object |
Format.clone()
Creates and returns a copy of this object. |
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a Number . |
Object |
NumberFormat.clone()
Overrides Cloneable |
protected Object |
NumberFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants. |
Object |
SimpleDateFormat.clone()
Creates a copy of this SimpleDateFormat . |
Object |
DecimalFormatSymbols.clone()
Standard override. |
Object |
DateFormatSymbols.clone()
Overrides Cloneable |
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a Date . |
Object |
DateFormat.clone()
Overrides Cloneable |
protected Object |
DateFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants. |
Object |
CharacterIterator.clone()
Create a copy of this iterator |
Object |
Annotation.getValue()
Returns the value of the attribute, which may be null. |
Object |
AttributedCharacterIterator.getAttribute(AttributedCharacterIterator.Attribute attribute)
Returns the value of the named attribute for the current character. |
protected Object |
AttributedCharacterIterator.Attribute.readResolve()
Resolves instances being deserialized to the predefined constants. |
Object[] |
ChoiceFormat.getFormats()
Get the formats passed in the constructor. |
Object |
ChoiceFormat.clone()
Overrides Cloneable |
Object |
DecimalFormat.clone()
Standard override; no change in semantics. |
Methods in java.text with parameters of type Object | |
boolean |
ParsePosition.equals(Object obj)
Overrides equals |
StringBuffer |
MessageFormat.format(Object[] arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the MessageFormat 's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer . |
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Creates a MessageFormat with the given pattern and uses it to format the given arguments. |
StringBuffer |
MessageFormat.format(Object arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the MessageFormat 's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer . |
AttributedCharacterIterator |
MessageFormat.formatToCharacterIterator(Object arguments)
Formats an array of objects and inserts them into the MessageFormat 's pattern, producing an
AttributedCharacterIterator . |
boolean |
MessageFormat.equals(Object obj)
Equality comparison between two message format objects |
String |
Format.format(Object obj)
Formats an object to produce a string. |
abstract StringBuffer |
Format.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the resulting text to a given string buffer. |
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object obj)
Formats an Object producing an AttributedCharacterIterator . |
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object to produce a string. |
boolean |
NumberFormat.equals(Object obj)
Overrides equals |
AttributedCharacterIterator |
SimpleDateFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an AttributedCharacterIterator . |
boolean |
SimpleDateFormat.equals(Object obj)
Compares the given object with this SimpleDateFormat for
equality. |
boolean |
DecimalFormatSymbols.equals(Object obj)
Override equals. |
boolean |
DateFormatSymbols.equals(Object obj)
Override equals |
boolean |
FieldPosition.equals(Object obj)
Overrides equals |
StringBuffer |
DateFormat.format(Object obj,
StringBuffer toAppendTo,
FieldPosition fieldPosition)
Overrides Format. |
boolean |
DateFormat.equals(Object obj)
Overrides equals |
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value)
Adds an attribute to the entire string. |
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value,
int beginIndex,
int endIndex)
Adds an attribute to a subrange of the string. |
boolean |
AttributedCharacterIterator.Attribute.equals(Object obj)
Compares two objects for equality. |
boolean |
ChoiceFormat.equals(Object obj)
Equality comparision between two |
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an AttributedCharacterIterator . |
boolean |
DecimalFormat.equals(Object obj)
Overrides equals |
Constructors in java.text with parameters of type Object | |
Annotation(Object value)
Constructs an annotation record with the given value, which may be null. |
Uses of Object in java.util |
Subclasses of Object in java.util | |
class |
AbstractCollection
This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface. |
class |
AbstractList
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). |
class |
AbstractMap
This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface. |
class |
AbstractSequentialList
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). |
class |
AbstractSet
This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface. |
class |
ArrayList
Resizable-array implementation of the List interface. |
class |
Arrays
This class contains various methods for manipulating arrays (such as sorting and searching). |
class |
BitSet
This class implements a vector of bits that grows as needed. |
class |
Calendar
Calendar is an abstract base class for converting between
a Date object and a set of integer fields such as
YEAR , MONTH , DAY , HOUR ,
and so on. |
class |
Collections
This class consists exclusively of static methods that operate on or return collections. |
class |
ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. |
class |
Currency
Represents a currency. |
class |
Date
The class Date represents a specific instant
in time, with millisecond precision. |
class |
Dictionary
The Dictionary class is the abstract parent of any
class, such as Hashtable , which maps keys to values. |
class |
EmptyStackException
Thrown by methods in the Stack class to indicate
that the stack is empty. |
class |
GregorianCalendar
GregorianCalendar is a concrete subclass of
Calendar
and provides the standard calendar used by most of the world. |
class |
HashMap
Hash table based implementation of the Map interface. |
class |
HashSet
This class implements the Set interface, backed by a hash table (actually a HashMap instance). |
class |
Hashtable
This class implements a hashtable, which maps keys to values. |
class |
IdentityHashMap
This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values). |
class |
LinkedHashMap
Hash table and linked list implementation of the Map interface, with predictable iteration order. |
class |
LinkedHashSet
Hash table and linked list implementation of the Set interface, with predictable iteration order. |
class |
LinkedList
Linked list implementation of the List interface. |
class |
ListResourceBundle
ListResourceBundle is an abstract subclass of
ResourceBundle that manages resources for a locale
in a convenient and easy to use list. |
class |
Locale
A Locale object represents a specific geographical, political,
or cultural region. |
class |
MissingResourceException
Signals that a resource is missing. |
class |
NoSuchElementException
Thrown by the nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration. |
class |
Properties
The Properties class represents a persistent set of
properties. |
class |
PropertyPermission
This class is for property permissions. |
class |
PropertyResourceBundle
PropertyResourceBundle is a concrete subclass of
ResourceBundle that manages resources for a locale
using a set of static strings from a property file. |
class |
Random
An instance of this class is used to generate a stream of pseudorandom numbers. |
class |
ResourceBundle
Resource bundles contain locale-specific objects. |
class |
SimpleTimeZone
SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar. |
class |
Stack
The Stack class represents a last-in-first-out
(LIFO) stack of objects. |
class |
StringTokenizer
The string tokenizer class allows an application to break a string into tokens. |
class |
TimeZone
TimeZone represents a time zone offset, and also figures out daylight
savings. |
class |
TreeMap
Red-Black tree based implementation of the SortedMap interface. |
class |
TreeSet
This class implements the Set interface, backed by a TreeMap instance. |
class |
Vector
The Vector class implements a growable array of
objects. |
class |
WeakHashMap
A hashtable-based Map implementation with weak keys. |
Fields in java.util declared as Object | |
protected Object[] |
Vector.elementData
The array buffer into which the components of the vector are stored. |
Methods in java.util that return Object | |
Object |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped in this weak hash map, or null if the map contains no mapping for this key. |
Object |
WeakHashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
WeakHashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
Object |
Vector.elementAt(int index)
Returns the component at the specified index. |
Object |
Vector.firstElement()
Returns the first component (the item at index 0) of this vector. |
Object |
Vector.lastElement()
Returns the last component of the vector. |
Object |
Vector.clone()
Returns a clone of this vector. |
Object[] |
Vector.toArray()
Returns an array containing all of the elements in this Vector in the correct order. |
Object[] |
Vector.toArray(Object[] a)
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. |
Object |
Vector.get(int index)
Returns the element at the specified position in this Vector. |
Object |
Vector.set(int index,
Object element)
Replaces the element at the specified position in this Vector with the specified element. |
Object |
Vector.remove(int index)
Removes the element at the specified position in this Vector. |
Object |
TreeMap.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
TreeMap.firstKey()
Returns the first (lowest) key currently in this sorted map. |
Object |
TreeMap.lastKey()
Returns the last (highest) key currently in this sorted map. |
Object |
TreeMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
TreeMap.remove(Object key)
Removes the mapping for this key from this TreeMap if present. |
Object |
TreeMap.clone()
Returns a shallow copy of this TreeMap instance. |
Object |
TreeSet.first()
Returns the first (lowest) element currently in this sorted set. |
Object |
TreeSet.last()
Returns the last (highest) element currently in this sorted set. |
Object |
TreeSet.clone()
Returns a shallow copy of this TreeSet instance. |
Object |
StringTokenizer.nextElement()
Returns the same value as the nextToken method,
except that its declared return value is Object rather than
String . |
Object |
TimeZone.clone()
Creates a copy of this TimeZone . |
Object |
SimpleTimeZone.clone()
Returns a clone of this SimpleTimeZone instance. |
Object |
SortedSet.first()
Returns the first (lowest) element currently in this sorted set. |
Object |
SortedSet.last()
Returns the last (highest) element currently in this sorted set. |
Object |
SortedMap.firstKey()
Returns the first (lowest) key currently in this sorted map. |
Object |
SortedMap.lastKey()
Returns the last (highest) key currently in this sorted map. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents. |
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle. |
Object |
PropertyResourceBundle.handleGetObject(String key)
|
Object[] |
Set.toArray()
Returns an array containing all of the elements in this set. |
Object[] |
Set.toArray(Object[] a)
Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array. |
Object |
Stack.push(Object item)
Pushes an item onto the top of this stack. |
Object |
Stack.pop()
Removes the object at the top of this stack and returns that object as the value of this function. |
Object |
Stack.peek()
Looks at the object at the top of this stack without removing it from the stack. |
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method put . |
Object |
LinkedList.getFirst()
Returns the first element in this list. |
Object |
LinkedList.getLast()
Returns the last element in this list. |
Object |
LinkedList.removeFirst()
Removes and returns the first element from this list. |
Object |
LinkedList.removeLast()
Removes and returns the last element from this list. |
Object |
LinkedList.get(int index)
Returns the element at the specified position in this list. |
Object |
LinkedList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
Object |
LinkedList.remove(int index)
Removes the element at the specified position in this list. |
Object |
LinkedList.clone()
Returns a shallow copy of this LinkedList. |
Object[] |
LinkedList.toArray()
Returns an array containing all of the elements in this list in the correct order. |
Object[] |
LinkedList.toArray(Object[] a)
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array. |
Object |
ListResourceBundle.handleGetObject(String key)
|
protected abstract Object[][] |
ListResourceBundle.getContents()
See class description. |
Object |
ListIterator.next()
Returns the next element in the list. |
Object |
ListIterator.previous()
Returns the previous element in the list. |
Object |
Locale.clone()
Overrides Cloneable |
Object |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key. |
Object |
IdentityHashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this identity hash map. |
Object |
IdentityHashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
Object |
IdentityHashMap.clone()
Returns a shallow copy of this identity hash map: the keys and values themselves are not cloned. |
Object |
LinkedHashMap.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
Iterator.next()
Returns the next element in the iteration. |
Object |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped in this hashtable. |
Object |
Hashtable.put(Object key,
Object value)
Maps the specified key to the specified
value in this hashtable. |
Object |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this hashtable. |
Object |
Hashtable.clone()
Creates a shallow copy of this hashtable. |
Object |
HashMap.get(Object key)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key. |
Object |
HashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
HashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
Object |
HashMap.clone()
Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned. |
Object |
Enumeration.nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
abstract Object |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary. |
abstract Object |
Dictionary.put(Object key,
Object value)
Maps the specified key to the specified
value in this dictionary. |
abstract Object |
Dictionary.remove(Object key)
Removes the key (and its corresponding
value ) from this dictionary. |
Object |
Map.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
Map.put(Object key,
Object value)
Associates the specified value with the specified key in this map (optional operation). |
Object |
Map.remove(Object key)
Removes the mapping for this key from this map if it is present (optional operation). |
Object |
Map.Entry.getKey()
Returns the key corresponding to this entry. |
Object |
Map.Entry.getValue()
Returns the value corresponding to this entry. |
Object |
Map.Entry.setValue(Object value)
Replaces the value corresponding to this entry with the specified value (optional operation). |
Object |
Calendar.clone()
Overrides Cloneable |
Object |
BitSet.clone()
Cloning this BitSet produces a new BitSet
that is equal to it. |
static Object |
Collections.min(Collection coll)
Returns the minimum element of the given collection, according to the natural ordering of its elements. |
static Object |
Collections.min(Collection coll,
Comparator comp)
Returns the minimum element of the given collection, according to the order induced by the specified comparator. |
static Object |
Collections.max(Collection coll)
Returns the maximum element of the given collection, according to the natural ordering of its elements. |
static Object |
Collections.max(Collection coll,
Comparator comp)
Returns the maximum element of the given collection, according to the order induced by the specified comparator. |
Object[] |
Collection.toArray()
Returns an array containing all of the elements in this collection. |
Object[] |
Collection.toArray(Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
Object |
AbstractMap.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
AbstractMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map (optional operation). |
Object |
AbstractMap.remove(Object key)
Removes the mapping for this key from this map if present (optional operation). |
protected Object |
AbstractMap.clone()
Returns a shallow copy of this AbstractMap instance: the keys and values themselves are not cloned. |
Object[] |
AbstractCollection.toArray()
Returns an array containing all of the elements in this collection. |
Object[] |
AbstractCollection.toArray(Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
abstract Object |
AbstractList.get(int index)
Returns the element at the specified position in this list. |
Object |
AbstractList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element (optional operation). |
Object |
AbstractList.remove(int index)
Removes the element at the specified position in this list (optional operation). |
Object |
AbstractSequentialList.get(int index)
Returns the element at the specified position in this list. |
Object |
AbstractSequentialList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
Object |
AbstractSequentialList.remove(int index)
Removes the element at the specified position in this list. |
Object |
HashSet.clone()
Returns a shallow copy of this HashSet instance: the elements themselves are not cloned. |
Object[] |
List.toArray()
Returns an array containing all of the elements in this list in proper sequence. |
Object[] |
List.toArray(Object[] a)
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array. |
Object |
List.get(int index)
Returns the element at the specified position in this list. |
Object |
List.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element (optional operation). |
Object |
List.remove(int index)
Removes the element at the specified position in this list (optional operation). |
Object |
ArrayList.clone()
Returns a shallow copy of this ArrayList instance. |
Object[] |
ArrayList.toArray()
Returns an array containing all of the elements in this list in the correct order. |
Object[] |
ArrayList.toArray(Object[] a)
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array. |
Object |
ArrayList.get(int index)
Returns the element at the specified position in this list. |
Object |
ArrayList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
Object |
ArrayList.remove(int index)
Removes the element at the specified position in this list. |
Object |
Date.clone()
Return a copy of this object. |
Methods in java.util with parameters of type Object | |
Object |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped in this weak hash map, or null if the map contains no mapping for this key. |
boolean |
WeakHashMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
Object |
WeakHashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
WeakHashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
boolean |
WeakHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
void |
Vector.copyInto(Object[] anArray)
Copies the components of this vector into the specified array. |
boolean |
Vector.contains(Object elem)
Tests if the specified object is a component in this vector. |
int |
Vector.indexOf(Object elem)
Searches for the first occurence of the given argument, testing for equality using the equals method. |
int |
Vector.indexOf(Object elem,
int index)
Searches for the first occurence of the given argument, beginning the search at index , and testing for equality using
the equals method. |
int |
Vector.lastIndexOf(Object elem)
Returns the index of the last occurrence of the specified object in this vector. |
int |
Vector.lastIndexOf(Object elem,
int index)
Searches backwards for the specified object, starting from the specified index, and returns an index to it. |
void |
Vector.setElementAt(Object obj,
int index)
Sets the component at the specified index of this
vector to be the specified object. |
void |
Vector.insertElementAt(Object obj,
int index)
Inserts the specified object as a component in this vector at the specified index . |
void |
Vector.addElement(Object obj)
Adds the specified component to the end of this vector, increasing its size by one. |
boolean |
Vector.removeElement(Object obj)
Removes the first (lowest-indexed) occurrence of the argument from this vector. |
Object[] |
Vector.toArray(Object[] a)
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. |
Object |
Vector.set(int index,
Object element)
Replaces the element at the specified position in this Vector with the specified element. |
boolean |
Vector.add(Object o)
Appends the specified element to the end of this Vector. |
boolean |
Vector.remove(Object o)
Removes the first occurrence of the specified element in this Vector If the Vector does not contain the element, it is unchanged. |
void |
Vector.add(int index,
Object element)
Inserts the specified element at the specified position in this Vector. |
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality. |
boolean |
TreeMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
TreeMap.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
Object |
TreeMap.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
TreeMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
TreeMap.remove(Object key)
Removes the mapping for this key from this TreeMap if present. |
SortedMap |
TreeMap.subMap(Object fromKey,
Object toKey)
Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive. |
SortedMap |
TreeMap.headMap(Object toKey)
Returns a view of the portion of this map whose keys are strictly less than toKey. |
SortedMap |
TreeMap.tailMap(Object fromKey)
Returns a view of the portion of this map whose keys are greater than or equal to fromKey. |
boolean |
TreeSet.contains(Object o)
Returns true if this set contains the specified element. |
boolean |
TreeSet.add(Object o)
Adds the specified element to this set if it is not already present. |
boolean |
TreeSet.remove(Object o)
Removes the specified element from this set if it is present. |
SortedSet |
TreeSet.subSet(Object fromElement,
Object toElement)
Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive. |
SortedSet |
TreeSet.headSet(Object toElement)
Returns a view of the portion of this set whose elements are strictly less than toElement. |
SortedSet |
TreeSet.tailSet(Object fromElement)
Returns a view of the portion of this set whose elements are greater than or equal to fromElement. |
boolean |
SimpleTimeZone.equals(Object obj)
Compares the equality of two SimpleTimeZone objects. |
SortedSet |
SortedSet.subSet(Object fromElement,
Object toElement)
Returns a view of the portion of this sorted set whose elements range from fromElement, inclusive, to toElement, exclusive. |
SortedSet |
SortedSet.headSet(Object toElement)
Returns a view of the portion of this sorted set whose elements are strictly less than toElement. |
SortedSet |
SortedSet.tailSet(Object fromElement)
Returns a view of the portion of this sorted set whose elements are greater than or equal to fromElement. |
SortedMap |
SortedMap.subMap(Object fromKey,
Object toKey)
Returns a view of the portion of this sorted map whose keys range from fromKey, inclusive, to toKey, exclusive. |
SortedMap |
SortedMap.headMap(Object toKey)
Returns a view of the portion of this sorted map whose keys are strictly less than toKey. |
SortedMap |
SortedMap.tailMap(Object fromKey)
Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey. |
boolean |
Set.contains(Object o)
Returns true if this set contains the specified element. |
Object[] |
Set.toArray(Object[] a)
Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array. |
boolean |
Set.add(Object o)
Adds the specified element to this set if it is not already present (optional operation). |
boolean |
Set.remove(Object o)
Removes the specified element from this set if it is present (optional operation). |
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality. |
Object |
Stack.push(Object item)
Pushes an item onto the top of this stack. |
int |
Stack.search(Object o)
Returns the 1-based position where an object is on this stack. |
void |
LinkedList.addFirst(Object o)
Inserts the given element at the beginning of this list. |
void |
LinkedList.addLast(Object o)
Appends the given element to the end of this list. |
boolean |
LinkedList.contains(Object o)
Returns true if this list contains the specified element. |
boolean |
LinkedList.add(Object o)
Appends the specified element to the end of this list. |
boolean |
LinkedList.remove(Object o)
Removes the first occurrence of the specified element in this list. |
Object |
LinkedList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
void |
LinkedList.add(int index,
Object element)
Inserts the specified element at the specified position in this list. |
int |
LinkedList.indexOf(Object o)
Returns the index in this list of the first occurrence of the specified element, or -1 if the List does not contain this element. |
int |
LinkedList.lastIndexOf(Object o)
Returns the index in this list of the last occurrence of the specified element, or -1 if the list does not contain this element. |
Object[] |
LinkedList.toArray(Object[] a)
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array. |
void |
ListIterator.set(Object o)
Replaces the last element returned by next or previous with the specified element (optional operation). |
void |
ListIterator.add(Object o)
Inserts the specified element into the list (optional operation). |
boolean |
PropertyPermission.equals(Object obj)
Checks two PropertyPermission objects for equality. |
boolean |
Locale.equals(Object obj)
Returns true if this Locale is equal to another object. |
Object |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key. |
boolean |
IdentityHashMap.containsKey(Object key)
Tests whether the specified object reference is a key in this identity hash map. |
boolean |
IdentityHashMap.containsValue(Object value)
Tests whether the specified object reference is a value in this identity hash map. |
Object |
IdentityHashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this identity hash map. |
Object |
IdentityHashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
boolean |
IdentityHashMap.equals(Object o)
Compares the specified object with this map for equality. |
boolean |
LinkedHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
Object |
LinkedHashMap.get(Object key)
Returns the value to which this map maps the specified key. |
boolean |
Hashtable.contains(Object value)
Tests if some key maps into the specified value in this hashtable. |
boolean |
Hashtable.containsValue(Object value)
Returns true if this Hashtable maps one or more keys to this value. |
boolean |
Hashtable.containsKey(Object key)
Tests if the specified object is a key in this hashtable. |
Object |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped in this hashtable. |
Object |
Hashtable.put(Object key,
Object value)
Maps the specified key to the specified
value in this hashtable. |
Object |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this hashtable. |
boolean |
Hashtable.equals(Object o)
Compares the specified Object with this Map for equality, as per the definition in the Map interface. |
boolean |
GregorianCalendar.equals(Object obj)
Compares this GregorianCalendar to an object reference. |
Object |
HashMap.get(Object key)
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key. |
boolean |
HashMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
Object |
HashMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
Object |
HashMap.remove(Object key)
Removes the mapping for this key from this map if present. |
boolean |
HashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
abstract Object |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary. |
abstract Object |
Dictionary.put(Object key,
Object value)
Maps the specified key to the specified
value in this dictionary. |
abstract Object |
Dictionary.remove(Object key)
Removes the key (and its corresponding
value ) from this dictionary. |
boolean |
Map.containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
Map.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
Object |
Map.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
Map.put(Object key,
Object value)
Associates the specified value with the specified key in this map (optional operation). |
Object |
Map.remove(Object key)
Removes the mapping for this key from this map if it is present (optional operation). |
boolean |
Map.equals(Object o)
Compares the specified object with this map for equality. |
Object |
Map.Entry.setValue(Object value)
Replaces the value corresponding to this entry with the specified value (optional operation). |
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 |
Calendar.before(Object when)
Compares the time field records. |
boolean |
Calendar.after(Object when)
Compares the time field records. |
boolean |
BitSet.equals(Object obj)
Compares this object against the specified object. |
static void |
Arrays.sort(Object[] a)
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements. |
static void |
Arrays.sort(Object[] a,
int fromIndex,
int toIndex)
Sorts the specified range of the specified array of objects into ascending order, according to the natural ordering of its elements. |
static void |
Arrays.sort(Object[] a,
Comparator c)
Sorts the specified array of objects according to the order induced by the specified comparator. |
static void |
Arrays.sort(Object[] a,
int fromIndex,
int toIndex,
Comparator c)
Sorts the specified range of the specified array of objects according to the order induced by the specified comparator. |
static int |
Arrays.binarySearch(Object[] a,
Object key)
Searches the specified array for the specified object using the binary search algorithm. |
static int |
Arrays.binarySearch(Object[] a,
Object key,
Comparator c)
Searches the specified array for the specified object using the binary search algorithm. |
static boolean |
Arrays.equals(Object[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are equal to one another. |
static void |
Arrays.fill(Object[] a,
Object val)
Assigns the specified Object reference to each element of the specified array of Objects. |
static void |
Arrays.fill(Object[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified range of the specified array of Objects. |
static List |
Arrays.asList(Object[] a)
Returns a fixed-size list backed by the specified array. |
static int |
Collections.binarySearch(List list,
Object key)
Searches the specified list for the specified object using the binary search algorithm. |
static int |
Collections.binarySearch(List list,
Object key,
Comparator c)
Searches the specified list for the specified object using the binary search algorithm. |
static void |
Collections.fill(List list,
Object obj)
Replaces all of the elements of the specified list with the specified element. |
static boolean |
Collections.replaceAll(List list,
Object oldVal,
Object newVal)
Replaces all occurrences of one specified value in a list with another. |
static Set |
Collections.singleton(Object o)
Returns an immutable set containing only the specified object. |
static List |
Collections.singletonList(Object o)
Returns an immutable list containing only the specified object. |
static Map |
Collections.singletonMap(Object key,
Object value)
Returns an immutable map, mapping only the specified key to the specified value. |
static List |
Collections.nCopies(int n,
Object o)
Returns an immutable list consisting of n copies of the specified object. |
boolean |
Collection.contains(Object o)
Returns true if this collection contains the specified element. |
Object[] |
Collection.toArray(Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
boolean |
Collection.add(Object o)
Ensures that this collection contains the specified element (optional operation). |
boolean |
Collection.remove(Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
Collection.equals(Object o)
Compares the specified object with this collection for equality. |
int |
Comparator.compare(Object o1,
Object o2)
Compares its two arguments for order. |
boolean |
Comparator.equals(Object obj)
Indicates whether some other object is "equal to" this Comparator. |
boolean |
AbstractMap.containsValue(Object value)
Returns true if this map maps one or more keys to this value. |
boolean |
AbstractMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
Object |
AbstractMap.get(Object key)
Returns the value to which this map maps the specified key. |
Object |
AbstractMap.put(Object key,
Object value)
Associates the specified value with the specified key in this map (optional operation). |
Object |
AbstractMap.remove(Object key)
Removes the mapping for this key from this map if present (optional operation). |
boolean |
AbstractMap.equals(Object o)
Compares the specified object with this map for equality. |
boolean |
AbstractCollection.contains(Object o)
Returns true if this collection contains the specified element. |
Object[] |
AbstractCollection.toArray(Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
boolean |
AbstractCollection.add(Object o)
Ensures that this collection contains the specified element (optional operation). |
boolean |
AbstractCollection.remove(Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
AbstractSet.equals(Object o)
Compares the specified object with this set for equality. |
boolean |
AbstractList.add(Object o)
Appends the specified element to the end of this List (optional operation). |
Object |
AbstractList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element (optional operation). |
void |
AbstractList.add(int index,
Object element)
Inserts the specified element at the specified position in this list (optional operation). |
int |
AbstractList.indexOf(Object o)
Returns the index in this list of the first occurence of the specified element, or -1 if the list does not contain this element. |
int |
AbstractList.lastIndexOf(Object o)
Returns the index in this list of the last occurence of the specified element, or -1 if the list does not contain this element. |
boolean |
AbstractList.equals(Object o)
Compares the specified object with this list for equality. |
Object |
AbstractSequentialList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
void |
AbstractSequentialList.add(int index,
Object element)
Inserts the specified element at the specified position in this list. |
boolean |
HashSet.contains(Object o)
Returns true if this set contains the specified element. |
boolean |
HashSet.add(Object o)
Adds the specified element to this set if it is not already present. |
boolean |
HashSet.remove(Object o)
Removes the specified element from this set if it is present. |
boolean |
List.contains(Object o)
Returns true if this list contains the specified element. |
Object[] |
List.toArray(Object[] a)
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array. |
boolean |
List.add(Object o)
Appends the specified element to the end of this list (optional operation). |
boolean |
List.remove(Object o)
Removes the first occurrence in this list of the specified element (optional operation). |
boolean |
List.equals(Object o)
Compares the specified object with this list for equality. |
Object |
List.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element (optional operation). |
void |
List.add(int index,
Object element)
Inserts the specified element at the specified position in this list (optional operation). |
int |
List.indexOf(Object o)
Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element. |
int |
List.lastIndexOf(Object o)
Returns the index in this list of the last occurrence of the specified element, or -1 if this list does not contain this element. |
boolean |
ArrayList.contains(Object elem)
Returns true if this list contains the specified element. |
int |
ArrayList.indexOf(Object elem)
Searches for the first occurence of the given argument, testing for equality using the equals method. |
int |
ArrayList.lastIndexOf(Object elem)
Returns the index of the last occurrence of the specified object in this list. |
Object[] |
ArrayList.toArray(Object[] a)
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array. |
Object |
ArrayList.set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element. |
boolean |
ArrayList.add(Object o)
Appends the specified element to the end of this list. |
void |
ArrayList.add(int index,
Object element)
Inserts the specified element at the specified position in this list. |
boolean |
Date.equals(Object obj)
Compares two dates for equality. |
int |
Date.compareTo(Object o)
Compares this Date to another Object. |
Uses of Object in java.util.jar |
Subclasses of Object in java.util.jar | |
class |
Attributes
The Attributes class maps Manifest attribute names to associated string values. |
static class |
Attributes.Name
The Attributes.Name class represents an attribute name stored in this Map. |
class |
JarEntry
This class is used to represent a JAR file entry. |
class |
JarException
Signals that an error of some sort has occurred while reading from or writing to a JAR file. |
class |
JarFile
The JarFile class is used to read the contents of a JAR file
from any file that can be opened with java.io.RandomAccessFile . |
class |
JarInputStream
The JarInputStream class is used to read the contents of
a JAR file from any input stream. |
class |
Manifest
The Manifest class is used to maintain Manifest entry names and their associated Attributes. |
Methods in java.util.jar that return Object | |
Object |
Manifest.clone()
Returns a shallow copy of this Manifest. |
Object |
Attributes.get(Object name)
Returns the value of the specified attribute name, or null if the attribute name was not found. |
Object |
Attributes.put(Object name,
Object value)
Associates the specified value with the specified attribute name (key) in this Map. |
Object |
Attributes.remove(Object name)
Removes the attribute with the specified name (key) from this Map. |
Object |
Attributes.clone()
Returns a copy of the Attributes, implemented as follows: |
Methods in java.util.jar with parameters of type Object | |
boolean |
Manifest.equals(Object o)
Returns true if the specified Object is also a Manifest and has the same main Attributes and entries. |
Object |
Attributes.get(Object name)
Returns the value of the specified attribute name, or null if the attribute name was not found. |
Object |
Attributes.put(Object name,
Object value)
Associates the specified value with the specified attribute name (key) in this Map. |
Object |
Attributes.remove(Object name)
Removes the attribute with the specified name (key) from this Map. |
boolean |
Attributes.containsValue(Object value)
Returns true if this Map maps one or more attribute names (keys) to the specified value. |
boolean |
Attributes.containsKey(Object name)
Returns true if this Map contains the specified attribute name (key). |
boolean |
Attributes.equals(Object o)
Compares the specified Attributes object with this Map for equality. |
boolean |
Attributes.Name.equals(Object o)
Compares this attribute name to another for equality. |
Uses of Object in java.util.zip |
Subclasses of Object in java.util.zip | |
class |
CRC32
A class that can be used to compute the CRC-32 of a data stream. |
class |
DataFormatException
Signals that a data format error has occurred. |
class |
Inflater
This class provides support for general purpose decompression using popular ZLIB compression library. |
class |
InflaterInputStream
This class implements a stream filter for uncompressing data in the "deflate" compression format. |
class |
ZipEntry
This class is used to represent a ZIP file entry. |
class |
ZipException
Signals that a Zip exception of some sort has occurred. |
class |
ZipFile
This class is used to read entries from a zip file. |
class |
ZipInputStream
This class implements an input stream filter for reading files in the ZIP file format. |
Methods in java.util.zip that return Object | |
Object |
ZipEntry.clone()
Returns a copy of this entry. |
Uses of Object in javax.microedition.io |
Subclasses of Object in javax.microedition.io | |
class |
ConnectionNotFoundException
This class is used to signal that a connection target cannot be found, or the protocol type is not supported. |
class |
Connector
This class is a factory for creating new Connection objects. |
|
CDC 1.1.2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |