Uses of Class
java.lang.Object
Package
Description
This package comprises the interfaces and classes used to define the
signing mechanism used by the
jarsigner
tool.Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines connections between the virtual machine
using the JDI and the target virtual machine.
This package comprises the interfaces and classes used to
develop new
TransportService
implementations.This package is used to request that a JDI
event be sent under specified conditions.
This package contains the JDK's extension to
the standard implementation of the
java.lang.management
API and also defines the management
interface for some other components of the platform.Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations.
A Java API for Stream Control Transport Protocol.
Provides implementations of
Principal
.Provides an implementation of
CallbackHandler
.Provides an implementation of
Configuration
.Provides implementations of
LoginModule
.This package defines classes and interfaces for the JDK extensions
to the GSS-API.
Provides interfaces to represent source code as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Provides the API to attach to a Java virtual machine.
Only developers who are defining new attach providers should need to make
direct use of this package.
This package provides a legacy entry point for the javac tool.
This package contains the JConsole API.
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes for color spaces.
Provides interfaces and classes for transferring data between and within
applications.
Provides interfaces and classes for interaction with various desktop
capabilities.
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides classes and interface relating to fonts.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes and interfaces for the input method framework.
Provides interfaces that enable the development of input methods that can be
used with any Java runtime environment.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
Provides classes and interfaces for a general printing API.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides library support for the Java programming language
annotation facility.
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.Provides services that allow Java programming language agents to instrument
programs running on the JVM.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
Provides reference-object classes, which support a limited degree
of interaction with the garbage collector.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
The
java.lang.runtime
package provides low-level runtime support
for the Java language.Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger
) and arbitrary-precision decimal
arithmetic (BigDecimal
).Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Service-provider classes for the
java.net
package.Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
Service-provider classes for the
java.nio.channels
package.Defines charsets, decoders, and encoders, for translating between
bytes and Unicode characters.
Service-provider classes for the
java.nio.charset
package.Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Interfaces and classes providing access to file and file system attributes.
Service-provider classes for the
java.nio.file
package.Provides the RMI package.
Provides classes and interface for RMI distributed
garbage-collection (DGC).
Provides a class and two interfaces for the RMI registry.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Service provider classes for the classes in the java.text package.
The main API for dates, times, instants, and durations.
Generic API for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
Access to date and time using fields and units, and date time adjusters.
Support for time-zones and their rules.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
Functional interfaces provide target types for lambda expressions
and method references.
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.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and system
preference and configuration data.
This package contains classes and interfaces that support a generic API
for random number generation.
Classes for matching character sequences against patterns specified
by regular expressions.
Service provider classes for the classes in the java.util package.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Provides classes for reading and writing the standard ZIP and GZIP file
formats.
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
Provides the classes and interfaces for cryptographic
operations.
Provides classes and interfaces for key specifications and
algorithm parameter specifications.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with reading and writing
metadata.
Package containing the public classes used by the built-in BMP plug-in.
Classes supporting the built-in JPEG plug-in.
Public classes used by the built-in TIFF plug-ins.
A package of the Java Image I/O API containing the plug-in interfaces for
readers, writers, transcoders, and streams, and a runtime registry.
A package of the Java Image I/O API dealing with low-level I/O from files and
streams.
Types and hierarchies of packages comprising a Java language model, a model of the declarations and types of the Java
programming language.
Interfaces used to model elements of the Java programming language.
Interfaces used to model Java programming language types.
Utilities to assist in the processing of
program elements and
types.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
loading.
Provides the definition of the ModelMBean classes.
Provides the definition of the monitor classes.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access to
JMX MBean servers.
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
Provides the definition of the Timer MBean.
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for event notification when accessing naming and
directory services.
Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.Provides classes for networking applications.
Provides classes for the secure socket package.
Provides the principal classes and interfaces for the Java Print
Service API.
Provides classes and interfaces that describe the types of Java Print
Service attributes and how they can be collected into attribute sets.
Package
javax.print.attribute.standard
contains classes for specific
printing attributes.Package
javax.print.event
contains event classes and listener
interfaces.Provides implementations of
RMIClientSocketFactory
and RMIServerSocketFactory
over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
This package provides a framework for authentication and
authorization.
This package provides the classes necessary for services
to interact with applications in order to retrieve
information (authentication data including usernames
or passwords, for example) or to display information
(error and warning messages, for example).
This package contains utility classes related to the Kerberos network
authentication protocol.
This package provides a pluggable authentication framework.
This package contains the classes that should be used to store
X500 Principal and X500 Private Credentials in a
Subject.
Provides classes for public key certificates.
Contains class and interfaces for supporting SASL.
Java™ Smart Card I/O API.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Supplies interfaces for service providers to implement when offering new MIDI
devices, MIDI file readers and writers, or sound bank readers.
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
Supplies abstract classes for service providers to subclass when offering new
audio devices, sound file readers and writers, or audio format converters.
Provides the API for server side data source access and processing from
the Java programming language.
Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swing
component.
Contains classes and interfaces used by the
JColorChooser
component.Provides for events fired by Swing components.
Contains classes and interfaces used by the
JFileChooser
component.Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides user interface objects built according to the cross-platform Nimbus
look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with
javax.swing.JTable
.Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.Provides the default HTML parser, along with support classes.
Provides a class (
RTFEditorKit
) for creating Rich-Text-Format text
editors.Provides classes and interfaces for dealing with
javax.swing.JTree
.Allows developers to provide support for undo/redo in applications such as
text editors.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
Provides the API that defines the contract between the transaction manager
and the resource manager, which allows the transaction manager to enlist
and delist resource objects (supplied by the resource manager driver) in
JTA transactions.
Defines constants for XML processing.
Provides the classes for implementing
XML Catalogs OASIS Standard V1.1, 7 October 2005.
Common classes for XML cryptography.
DOM-specific classes for the
javax.xml.crypto
package.Classes for generating and validating XML digital
signatures.
DOM-specific classes for the
javax.xml.crypto.dsig
package.Classes for parsing and processing
KeyInfo
elements and structures.Parameter classes for XML digital signatures.
Defines XML/Java Type Mappings.
Defines XML Namespace processing.
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines event interfaces for the Streaming API for XML (StAX).
Provides utility classes for the Streaming API for XML (StAX).
Defines the generic APIs for processing transformation instructions,
and performing a transformation from source to result.
Provides DOM specific transformation classes.
Provides SAX specific transformation classes.
Provides StAX specific transformation classes.
Provides stream and URI specific transformation classes.
Provides an API for validation of XML documents.
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
Contains interfaces and classes that are used to link an
invokedynamic
call site.Contains the linker for ordinary Java objects.
Contains interfaces and classes needed by language runtimes to implement
their own language-specific object models and type conversions.
Contains classes that make it more convenient for language runtimes to
implement their own language-specific object models and type conversions
by providing basic implementations of some classes as well as various
utilities.
Contains classes that make using Dynalink more convenient by providing
basic implementations of some classes as well as various utilities.
Classes to support low-level and efficient foreign memory/function access, directly from Java.
Incubating Feature. Will be removed in a future release.
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
Platform specific socket options for the
java.net
and java.nio.channels
socket classes.Defines JDK-specific
channel
APIs.This package defines APIs for signing jar files.
Provides Java code the ability to access the JavaScript engine and the
HTML DOM in the web browser.
This package presents a framework that allows application developers to
make use of security services like authentication, data integrity and
data confidentiality from a variety of underlying security mechanisms
like Kerberos, using a unified API.
Provides the interfaces for the Document Object Model (DOM).
Provides a factory for obtaining instances of
DOMImplementation
.
Provides interfaces for DOM Level 2 Events.
Provides interfaces for DOM Level 3 Load and Save.
Provides interfaces for DOM Level 2 Range.
Provides interfaces for DOM Level 3 XPath Specification.
Provides the interfaces for the Simple API for XML (SAX).
Provides interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
Provides helper classes, including
support for bootstrapping SAX-based applications.
-
Uses of Object in com.sun.jarsigner
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class has been deprecated. -
Uses of Object in com.sun.java.accessibility.util
Modifier and TypeClassDescriptionclass
AccessibilityEventMonitor
implements a PropertyChange listener on every UI object that implements interfaceAccessible
in the Java Virtual Machine.class
TheAccessibilityListenerList
is a copy of the SwingEventListerList
class.class
TheAWTEventMonitor
implements a suite of listeners that are conditionally installed on every AWT component instance in the Java Virtual Machine.class
EventID contains integer constants that map to event support in AWT and Swing.class
TheEventQueueMonitor
class provides key core functionality for Assistive Technologies (and other system-level technologies that need some of the same things that Assistive Technology needs).class
SwingEventMonitor
extendsAWTEventMonitor
by adding a suite of listeners conditionally installed on every Swing component instance in the Java Virtual Machine.class
TheTranslator
class provides a translation to interfaceAccessible
for objects that do not implement interfaceAccessible
.Modifier and TypeFieldDescriptionprotected Object[]
AccessibilityListenerList.listenerList
The list of listener type, listener pairsprotected Object
Translator.source
The source object needing translating.Modifier and TypeMethodDescriptionObject[]
AccessibilityListenerList.getListenerList()
Passes back the event listener list as an array of listener type, listener pairs.Translator.getSource()
Get the sourceObject
of theTranslator
.Modifier and TypeMethodDescriptionboolean
Returns true if this object is the same as the one passed in.static Accessible
Translator.getAccessible
(Object o) Obtain an object that implements interfaceAccessible
.void
Set the source object of theTranslator
.ModifierConstructorDescriptionTranslator
(Object o) Create a newTranslator
with the source object o. -
Uses of Object in com.sun.jdi
Modifier and TypeClassDescriptionclass
Thrown to indicate line number or variable information is not available.class
Initial class that provides access to the default implementation of JDI interfaces.class
Thrown to indicate that the requested class has not yet been loaded through the appropriate class loader.class
Thrown to indicate that the requested operation cannot be completed because the specified class has not yet been prepared.class
Thrown to indicate that the requested operation cannot be completed while the specified thread is in its current state.class
Thrown to indicate that there is an inconistency in the debug information provided by the target VM.class
Thrown to indicate that an unexpected internal error has occurred.class
Deprecated.This exception is no longer thrownclass
Deprecated.This exception is no longer thrownclass
Thrown to indicate that the requested module is invalid or became invalid after the module was unloaded.class
Thrown to indicate that the requested operation cannot be completed because the specified stack frame is no longer valid.class
Thrown to indicate a type mismatch in setting the value of a field or variable, or in specifying the return value of a method.class
Thrown to indicate an exception occurred in an invoked method within the target VM.final class
TheJDIPermission
class represents access rights to theVirtualMachineManager
.class
Thrown to indicate an operation cannot be completed because it is not valid for a native method.class
Thrown to indicate that the requested operation cannot be completed because the specified object has been garbage collected.class
Thrown to indicate that the operation is invalid because it would modify the VM and the VM is read-only.class
Unchecked exception thrown to indicate that the requested operation cannot be completed because there is no longer a connection to the target VM.class
Thrown to indicate that the requested operation cannot be completed because the a mirror from one target VM is being combined with a mirror from another target VM.class
Thrown to indicate that the requested operation cannot be completed because the target VM has run out of memory.Modifier and TypeMethodDescriptionboolean
Compares the specified Object with this BooleanValue for equality.boolean
Compares the specified Object with this ByteValue for equality.boolean
Compares the specified Object with this CharValue for equality.boolean
Compares the specified Object with this DoubleValue for equality.boolean
Compares the specified Object with this field for equality.boolean
Compares the specified Object with this FloatValue for equality.boolean
Compares the specified Object with this IntegerValue for equality.boolean
Compares the specified Object with this LocalVariable for equality.boolean
Compares the specified Object with this Location for equality.boolean
Compares the specified Object with this LongValue for equality.boolean
Compares the specified Object with this method for equality.boolean
Compares the specified Object with this ObjectReference for equality.boolean
Compares the specified Object with this ReferenceType for equality.boolean
Compares the specified Object with this ShortValue for equality.boolean
Compares the specified Object with this VoidValue for equality. -
Uses of Object in com.sun.jdi.connect
Modifier and TypeClassDescriptionclass
Thrown to indicate an invalid argument or inconsistent passed to aConnector
.class
This exception may be thrown as a result of a timeout when attaching to a target VM, or waiting to accept a connection from a target VM.class
A target VM was successfully launched, but terminated with an error before a connection could be established. -
Uses of Object in com.sun.jdi.connect.spi
Modifier and TypeClassDescriptionclass
This exception may be thrown as a result of an asynchronous close of aConnection
while an I/O operation is in progress.class
A connection between a debugger and a target VM which it debugs.class
A transport service for connections between a debugger and a target VM.static class
The transport service capabilities.static class
A listen key. -
Uses of Object in com.sun.jdi.request
Modifier and TypeClassDescriptionclass
Thrown to indicate a duplicate event request.class
Thrown to indicate that the requested event cannot be modified because it is enabled.Modifier and TypeMethodDescriptionEventRequest.getProperty
(Object key) Returns the value of the property with the specified key.Modifier and TypeMethodDescriptionEventRequest.getProperty
(Object key) Returns the value of the property with the specified key.void
EventRequest.putProperty
(Object key, Object value) Add an arbitrary key/value "property" to this request. -
Uses of Object in com.sun.management
Modifier and TypeClassDescriptionclass
The information about a garbage collectionclass
Garbage collection information.class
Information about a VM option including its value and where the value came from which is referred as itsorigin
. -
Uses of Object in com.sun.net.httpserver
Modifier and TypeClassDescriptionclass
Authenticator represents an implementation of an HTTP authentication mechanism.static class
Indicates an authentication failure.static class
Base class for return type fromAuthenticator.authenticate(HttpExchange)
method.static class
Indicates an authentication must be retried.static class
Indicates an authentication has succeeded and the authenticated user principal can be acquired by callingAuthenticator.Success.getPrincipal()
.class
BasicAuthenticator provides an implementation of HTTP Basic authentication.class
A filter used to pre- and post-process incoming requests.static class
A chain of filters associated with aHttpServer
.class
class
HttpContext
represents a mapping between the rootURI
path of an application to aHttpHandler
which is invoked to handle requests destined for that path on the associatedHttpServer
orHttpsServer
.class
This class encapsulates a HTTP request received and a response to be generated in one exchange.class
Represents a user authenticated by HTTP Basic or Digest authentication.class
This class is used to configure the https parameters for each incoming https connection on aHttpsServer
.class
This class implements a simple HTTP server.class
This class encapsulates a HTTPS request received and a response to be generated in one exchange and defines the extensions toHttpExchange
that are specific to the HTTPS protocol.class
Represents the set of parameters for each https connection negotiated with clients.class
This class is an extension ofHttpServer
which provides support for HTTPS.Modifier and TypeMethodDescriptionabstract Object
HttpExchange.getAttribute
(String name) Filter
modules may store arbitrary objects withHttpExchange
instances as an out-of-band communication mechanism.Modifier and TypeMethodDescriptionboolean
Headers.containsKey
(Object key) boolean
Headers.containsValue
(Object value) boolean
boolean
Compare two instances ofHttpPrincipal
.abstract void
HttpExchange.setAttribute
(String name, Object value) Filter
modules may store arbitrary objects withHttpExchange
instances as an out-of-band communication mechanism. -
Uses of Object in com.sun.net.httpserver.spi
-
Uses of Object in com.sun.nio.sctp
Modifier and TypeClassDescriptionclass
A skeletal handler that consumes notifications and continues.class
A class that represents an SCTP association.class
Notification emitted when an association has either opened or closed.class
Unchecked exception thrown when an attempt is made to invoke thereceive
method ofSctpChannel
orSctpMultiChannel
from a notification handler.class
Unchecked exception thrown when an attempt is made to remove an address that is not bound to the channel, or remove an address from a channel that has only one address bound to it.class
Unchecked exception thrown when an attempt is made to send a message to an invalid stream.class
TheMessageInfo
class provides additional ancillary information about messages.class
Notification emitted when a destination address on a multi-homed peer encounters a change.class
A selectable channel for message-oriented connected SCTP sockets.class
A selectable channel for message-oriented SCTP sockets.class
A selectable channel for message-oriented listening SCTP sockets.class
SCTP channels supports the socket options defined by this class (as well as those listed in the particular channel class) and may support additional Implementation specific socket options.static class
This class is used to set the maximum number of inbound/outbound streams used by the local endpoint during association initialization.class
Notification emitted when a send failed notification has been received.class
Notification emitted when a peers shutdowns an the association. -
Uses of Object in com.sun.security.auth
Modifier and TypeClassDescriptionfinal class
A principal identified by a distinguished name as specified by RFC 2253.class
This class implements thePrincipal
interface and represents the name of the Windows NT domain into which the user authenticated.class
This class abstracts an NT security token and provides a mechanism to do same-process security impersonation.class
This class implements thePrincipal
interface and represents information about a Windows NT user, group or realm.class
This class extendsNTSid
and represents a Windows NT user's domain SID.class
This class extendsNTSid
and represents one of the groups to which a Windows NT user belongs.class
This class extendsNTSid
and represents a Windows NT user's primary group SID.class
This class extendsNTSid
and represents a Windows NT user's SID.class
This class implements thePrincipal
interface and represents a Windows NT user.class
This class implements thePrincipal
interface and represents a user's Unix group identification number (GID).class
This class implements thePrincipal
interface and represents a user's Unix identification number (UID).class
This class implements thePrincipal
interface and represents a Unix user.final class
A user principal identified by a username or account name.Modifier and TypeMethodDescriptionboolean
Compares this principal to the specified object.boolean
Compares the specified Object with thisNTDomainPrincipal
for equality.boolean
Compares the specified Object with thisNTNumericCredential
for equality.boolean
Compares the specified Object with thisNTSid
for equality.boolean
Compares the specified Object with thisNTSidDomainPrincipal
for equality.boolean
Compares the specified Object with thisNTSidGroupPrincipal
for equality.boolean
Compares the specified Object with thisNTSidPrimaryGroupPrincipal
for equality.boolean
Compares the specified Object with thisNTSidUserPrincipal
for equality.boolean
Compares the specified Object with thisNTUserPrincipal
for equality.boolean
Compares the specified Object with thisUnixNumericGroupPrincipal
for equality.boolean
Compares the specified Object with thisUnixNumericUserPrincipal
for equality.boolean
Compares the specified Object with thisUnixPrincipal
for equality.boolean
Compares this principal to the specified object. -
Uses of Object in com.sun.security.auth.callback
Modifier and TypeClassDescriptionclass
Prompts and reads from the command line for answers to authentication questions. -
Uses of Object in com.sun.security.auth.login
Modifier and TypeClassDescriptionclass
This class represents a default implementation forjavax.security.auth.login.Configuration
. -
Uses of Object in com.sun.security.auth.module
Modifier and TypeClassDescriptionclass
The module prompts for a username and password and then verifies the password against the password stored in a directory service configured under JNDI.class
Provides a JAAS login module that prompts for a key store alias and populates the subject with the alias's principal and credentials.class
ThisLoginModule
authenticates users using Kerberos protocols.class
ThisLoginModule
performs LDAP-based authentication.class
ThisLoginModule
renders a user's NT security information as some number ofPrincipal
s and associates them with aSubject
.class
This class implementation retrieves and makes available NT security information for the current user.class
ThisLoginModule
imports a user's UnixPrincipal
information (UnixPrincipal
,UnixNumericUserPrincipal
, andUnixNumericGroupPrincipal
) and associates them with the currentSubject
.class
This class implementation retrieves and makes available Unix UID/GID/groups information for the current user. -
Uses of Object in com.sun.security.jgss
Modifier and TypeClassDescriptionfinal class
Kerberos 5 AuthorizationData entry.class
GSS-API Utilities for using in conjunction with Sun Microsystem's implementation of Java GSS-API.final class
This class is used to protect various attributes of an established GSS security context that can be accessed using theExtendedGSSContext.inquireSecContext(com.sun.security.jgss.InquireType)
method.Modifier and TypeMethodDescriptionExtendedGSSContext.inquireSecContext
(InquireType type) Return the mechanism-specific attribute associated withtype
. -
Uses of Object in com.sun.source.tree
-
Uses of Object in com.sun.source.util
Modifier and TypeClassDescriptionclass
A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelDocCommentTree
node.class
DocTreePathScanner<R,
P> A DocTreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.class
Provides access to syntax trees for doc comments.class
DocTreeScanner<R,
P> A DocTreeVisitor that visits all the child tree nodes.class
Provides access to functionality specific to the JDK Java Compiler, javac.class
SimpleDocTreeVisitor<R,
P> A simple visitor for tree nodes.class
SimpleTreeVisitor<R,
P> A simple visitor for tree nodes.final class
Provides details about work that has been done by the JDK Java Compiler, javac.class
A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelCompilationUnitTree
node.class
TreePathScanner<R,
P> A TreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.class
Bridges JSR 199, JSR 269, and the Tree API.class
TreeScanner<R,
P> A TreeVisitor that visits all the child tree nodes.Modifier and TypeFieldDescriptionprotected final R
SimpleDocTreeVisitor.DEFAULT_VALUE
The default value, returned by thedefault action
.protected final R
SimpleTreeVisitor.DEFAULT_VALUE
The default value, returned by thedefault action
. -
Uses of Object in com.sun.tools.attach
Modifier and TypeClassDescriptionclass
The exception thrown when an agent fails to initialize in the target Java virtual machine.class
The exception thrown when an agent cannot be loaded into the target Java virtual machine.class
Thrown byVirtualMachine.attach
when attempting to attach to a Java virtual machine for which a compatibleAttachProvider
does not exist.class
Exception type to signal that an attach operation failed in the target VM.final class
When aSecurityManager
set, this is the permission which will be checked when code invokesVirtualMachine.attach
to attach to a target virtual machine.class
A Java virtual machine.class
Describes a Java virtual machine. -
Uses of Object in com.sun.tools.attach.spi
Modifier and TypeClassDescriptionclass
Attach provider class for attaching to a Java virtual machine. -
Uses of Object in com.sun.tools.javac
Modifier and TypeClassDescriptionclass
A legacy programmatic interface for the Java Programming Language compiler, javac. -
Uses of Object in com.sun.tools.jconsole
-
Uses of Object in java.applet
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.protected class
Deprecated, for removal: This API element is subject to removal in a future version.This class implements accessibility support for theApplet
class. -
Uses of Object in java.awt
Modifier and TypeClassDescriptionfinal class
TheAlphaComposite
class implements basic alpha compositing rules for combining source and destination colors to achieve blending and transparency effects with graphics and images.class
Thrown when a serious Abstract Window Toolkit error has occurred.class
The root event class for all AWT events.class
AWTEventMulticaster
implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.event
package.class
Signals that an Abstract Window Toolkit exception has occurred.class
AnAWTKeyStroke
represents a key action on the keyboard, or equivalent input device.final class
This class is for AWT permissions.class
TheBasicStroke
class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with aGraphics2D
object that has its Stroke attribute set to thisBasicStroke
.class
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.class
Capabilities and properties of buffers.static final class
A type-safe enumeration of the possible back buffer contents after page-flippingclass
This class creates a labeled button.protected class
This class implements accessibility support for theButton
class.class
ACanvas
component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.protected class
This class implements accessibility support for theCanvas
class.class
ACardLayout
object is a layout manager for a container.class
A check box is a graphical component that can be in either an "on" (true
) or "off" (false
) state.protected class
This class implements accessibility support for theCheckbox
class.class
TheCheckboxGroup
class is used to group together a set ofCheckbox
buttons.class
This class represents a check box that can be included in a menu.protected class
Inner class of CheckboxMenuItem used to provide default support for accessibility.class
TheChoice
class presents a pop-up menu of choices.protected class
This class implements accessibility support for theChoice
class.class
TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.class
A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.protected class
Inner class of Component used to provide default support for accessibility.protected class
Fire PropertyChange listener, if one is registered, when shown/hidden..protected class
Fire PropertyChange listener, if one is registered, when focus events happenprotected class
Inner class for blitting offscreen surfaces to a component.protected class
Inner class for flipping buffers on a component.final class
The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.class
A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.protected class
Inner class of Container used to provide default support for accessibility.protected class
FirePropertyChange
listener, if one is registered, when children are added or removed.class
A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.class
A class to encapsulate the bitmap representation of the mouse cursor.class
A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.class
The default KeyboardFocusManager for AWT applications.class
TheDesktop
class allows interact with various desktop capabilities.class
A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.protected class
This class implements accessibility support for theDialog
class.class
TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.final class
TheDisplayMode
class encapsulates the bit depth, height, width, and refresh rate of aGraphicsDevice
.class
Deprecated.It is recommended thatAWTEvent
and its subclasses be used insteadclass
EventQueue
is a platform-independent class that queues events, both from the underlying peer classes and from trusted application classes.class
TheFileDialog
class displays a dialog window from which the user can select a file.class
A flow layout arranges components in a directional flow, much like lines of text in a paragraph.class
A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.class
TheFont
class represents fonts, which are used to render text in a visible way.class
Thrown by method createFont in theFont
class to indicate that the specified font is bad.class
TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.class
AFrame
is a top-level window with a title and a border.protected class
This class implements accessibility support for theFrame
class.class
TheGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.class
TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.class
ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.class
TheGraphicsConfigTemplate
class is used to obtain a validGraphicsConfiguration
.class
TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.class
TheGraphicsDevice
class describes the graphics devices that might be available in a particular graphics environment.class
TheGraphicsEnvironment
class describes the collection ofGraphicsDevice
objects andFont
objects available to a Java(tm) application on a particular platform.class
TheGridBagConstraints
class specifies constraints for components that are laid out using theGridBagLayout
class.class
TheGridBagLayout
class is a flexible layout manager that aligns components vertically, horizontally or along their baseline without requiring that the components be of the same size.class
TheGridBagLayoutInfo
is an utility class forGridBagLayout
layout manager.class
TheGridLayout
class is a layout manager that lays out a container's components in a rectangular grid.class
Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.class
Signals that an AWT component is not in an appropriate state for the requested operation.class
The abstract classImage
is the superclass of all classes that represent graphical images.class
Capabilities and properties of images.class
AnInsets
object is a representation of the borders of a container.final class
A set of attributes which control a print job.static final class
A type-safe enumeration of possible default selection states.static final class
A type-safe enumeration of possible job destinations.static final class
A type-safe enumeration of possible dialogs to display to the user.static final class
A type-safe enumeration of possible multiple copy handling states.static final class
A type-safe enumeration of possible multi-page impositions.class
The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.class
ALabel
object is a component for placing text in a container.protected class
This class implements accessibility support for theLabel
class.final class
TheLinearGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.class
TheList
component presents the user with a scrolling list of text items.protected class
This class implements accessibility support for theList
class.protected class
This class implements accessibility support for List children.class
TheMediaTracker
class is a utility class to track the status of a number of media objects.class
AMenu
object is a pull-down menu component that is deployed from a menu bar.protected class
Inner class of Menu used to provide default support for accessibility.class
TheMenuBar
class encapsulates the platform's concept of a menu bar bound to a frame.protected class
Inner class of MenuBar used to provide default support for accessibility.class
The abstract classMenuComponent
is the superclass of all menu-related components.protected class
Inner class ofMenuComponent
used to provide default support for accessibility.class
All items in a menu must belong to the classMenuItem
, or one of its subclasses.protected class
Inner class of MenuItem used to provide default support for accessibility.class
TheMenuShortcut
class represents a keyboard accelerator for a MenuItem.class
MouseInfo
provides methods for getting information about the mouse, such as mouse pointer location and the number of mouse buttons.class
This is the superclass for Paints which use a multiple color gradient to fill in their raster.final class
A set of attributes which control the output of a printed page.static final class
A type-safe enumeration of possible color states.static final class
A type-safe enumeration of possible paper sizes.static final class
A type-safe enumeration of possible orientations.static final class
A type-safe enumeration of possible origins.static final class
A type-safe enumeration of possible print qualities.class
Panel
is the simplest container class.protected class
This class implements accessibility support for thePanel
class.class
A point representing a location in(x,y)
coordinate space, specified in integer precision.class
A class that describes the pointer position.class
ThePolygon
class encapsulates a description of a closed, two-dimensional region within a coordinate space.class
A class that implements a menu which can be dynamically popped up at a specified position within a component.protected class
Inner class of PopupMenu used to provide default support for accessibility.class
An abstract class which initiates and executes a print job.final class
TheRadialGradientPaint
class provides a way to fill a shape with a circular radial color gradient pattern.class
ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.class
TheRenderingHints
class defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.static class
Defines the base type of all keys used along with theRenderingHints
class to control various algorithm choices in the rendering and imaging pipelines.class
This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed.class
TheScrollbar
class embodies a scroll bar, a familiar user-interface object.protected class
This class implements accessibility support for theScrollbar
class.class
A container class which implements automatic horizontal and/or vertical scrolling for a single child component.protected class
This class implements accessibility support for theScrollPane
class.class
This class represents the state of a horizontal or vertical scrollbar of aScrollPane
.final class
The splash screen can be displayed at application startup, before the Java Virtual Machine (JVM) starts.final class
A class to encapsulate symbolic colors representing the color of native GUI objects on a system.class
TheSystemTray
class represents the system tray for a desktop.class
TheTaskbar
class allows a Java application to interact with the system task area (taskbar, Dock, etc.).class
ATextArea
object is a multi-line region that displays text.protected class
This class implements accessibility support for theTextArea
class.class
TheTextComponent
class is the superclass of any component that allows the editing of some text.protected class
This class implements accessibility support for theTextComponent
class.class
ATextField
object is a text component that allows for the editing of a single line of text.protected class
This class implements accessibility support for theTextField
class.class
TheTexturePaint
class provides a way to fill aShape
with a texture that is specified as aBufferedImage
.class
This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit.class
ATrayIcon
object represents a tray icon that can be added to thesystem tray
.class
AWindow
object is a top-level window with no borders and no menubar.protected class
This class implements accessibility support for theWindow
class.Modifier and TypeFieldDescriptionEvent.arg
Deprecated.An arbitrary argument of the event.Event.target
Deprecated.The target component.static final Object
Image.UndefinedProperty
TheUndefinedProperty
object should be returned whenever a property which was not defined for a particular image is fetched.static final Object
RenderingHints.VALUE_ALPHA_INTERPOLATION_DEFAULT
Alpha interpolation hint value -- alpha blending algorithms are chosen by the implementation for a good tradeoff of performance vs. quality.static final Object
RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY
Alpha interpolation hint value -- alpha blending algorithms are chosen with a preference for precision and visual quality.static final Object
RenderingHints.VALUE_ALPHA_INTERPOLATION_SPEED
Alpha interpolation hint value -- alpha blending algorithms are chosen with a preference for calculation speed.static final Object
RenderingHints.VALUE_ANTIALIAS_DEFAULT
Antialiasing hint value -- rendering is done with a default antialiasing mode chosen by the implementation.static final Object
RenderingHints.VALUE_ANTIALIAS_OFF
Antialiasing hint value -- rendering is done without antialiasing.static final Object
RenderingHints.VALUE_ANTIALIAS_ON
Antialiasing hint value -- rendering is done with antialiasing.static final Object
RenderingHints.VALUE_COLOR_RENDER_DEFAULT
Color rendering hint value -- perform color conversion calculations as chosen by the implementation to represent the best available tradeoff between performance and accuracy.static final Object
RenderingHints.VALUE_COLOR_RENDER_QUALITY
Color rendering hint value -- perform the color conversion calculations with the highest accuracy and visual quality.static final Object
RenderingHints.VALUE_COLOR_RENDER_SPEED
Color rendering hint value -- perform the fastest color conversion to the format of the output device.static final Object
RenderingHints.VALUE_DITHER_DEFAULT
Dithering hint value -- use a default for dithering chosen by the implementation.static final Object
RenderingHints.VALUE_DITHER_DISABLE
Dithering hint value -- do not dither when rendering geometry.static final Object
RenderingHints.VALUE_DITHER_ENABLE
Dithering hint value -- dither when rendering geometry, if needed.static final Object
RenderingHints.VALUE_FRACTIONALMETRICS_DEFAULT
Font fractional metrics hint value -- character glyphs are positioned with accuracy chosen by the implementation.static final Object
RenderingHints.VALUE_FRACTIONALMETRICS_OFF
Font fractional metrics hint value -- character glyphs are positioned with advance widths rounded to pixel boundaries.static final Object
RenderingHints.VALUE_FRACTIONALMETRICS_ON
Font fractional metrics hint value -- character glyphs are positioned with sub-pixel accuracy.static final Object
RenderingHints.VALUE_INTERPOLATION_BICUBIC
Interpolation hint value -- the color samples of 9 nearby integer coordinate samples in the image are interpolated using a cubic function in bothX
andY
to produce a color sample.static final Object
RenderingHints.VALUE_INTERPOLATION_BILINEAR
Interpolation hint value -- the color samples of the 4 nearest neighboring integer coordinate samples in the image are interpolated linearly to produce a color sample.static final Object
RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR
Interpolation hint value -- the color sample of the nearest neighboring integer coordinate sample in the image is used.static final Object
RenderingHints.VALUE_RENDER_DEFAULT
Rendering hint value -- rendering algorithms are chosen by the implementation for a good tradeoff of performance vs. quality.static final Object
RenderingHints.VALUE_RENDER_QUALITY
Rendering hint value -- rendering algorithms are chosen with a preference for output quality.static final Object
RenderingHints.VALUE_RENDER_SPEED
Rendering hint value -- rendering algorithms are chosen with a preference for output speed.static final Object
RenderingHints.VALUE_RESOLUTION_VARIANT_BASE
Image resolution variant hint value -- the standard resolution of an image is always used.static final Object
RenderingHints.VALUE_RESOLUTION_VARIANT_DEFAULT
Image resolution variant hint value -- an image resolution variant is chosen based on a default heuristic which may depend on the policies of the platformstatic final Object
RenderingHints.VALUE_RESOLUTION_VARIANT_DPI_FIT
Image resolution variant hint value -- an image resolution variant is chosen based only on the DPI of the screen.static final Object
RenderingHints.VALUE_RESOLUTION_VARIANT_SIZE_FIT
Image resolution variant hint value -- an image resolution variant is chosen based on the DPI of the screen and the transform in the Graphics2D context.static final Object
RenderingHints.VALUE_STROKE_DEFAULT
Stroke normalization control hint value -- geometry may be modified or left pure depending on the tradeoffs in a given implementation.static final Object
RenderingHints.VALUE_STROKE_NORMALIZE
Stroke normalization control hint value -- geometry should be normalized to improve uniformity or spacing of lines and overall aesthetics.static final Object
RenderingHints.VALUE_STROKE_PURE
Stroke normalization control hint value -- geometry should be left unmodified and rendered with sub-pixel accuracy.static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT
Text antialiasing hint value -- text rendering is done according to theRenderingHints.KEY_ANTIALIASING
hint or a default chosen by the implementation.static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_GASP
Text antialiasing hint value -- text rendering is requested to use information in the font resource which specifies for each point size whether to applyRenderingHints.VALUE_TEXT_ANTIALIAS_ON
orRenderingHints.VALUE_TEXT_ANTIALIAS_OFF
.static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixels in order from display left to right of B,G,R such that the horizontal subpixel resolution is three times that of the full pixel horizontal resolution (HBGR).static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixels in order from display left to right of R,G,B such that the horizontal subpixel resolution is three times that of the full pixel horizontal resolution (HRGB).static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixel organisation from display top to bottom of B,G,R such that the vertical subpixel resolution is three times that of the full pixel vertical resolution (VBGR).static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixel organisation from display top to bottom of R,G,B such that the vertical subpixel resolution is three times that of the full pixel vertical resolution (VRGB).static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF
Text antialiasing hint value -- text rendering is done without any form of antialiasing.static final Object
RenderingHints.VALUE_TEXT_ANTIALIAS_ON
Text antialiasing hint value -- text rendering is done with some form of antialiasing.Modifier and TypeMethodDescriptionBufferCapabilities.clone()
GridBagConstraints.clone()
Creates a copy of this grid bag constraint.ImageCapabilities.clone()
Insets.clone()
Create a copy of this object.JobAttributes.clone()
Creates and returns a copy of thisJobAttributes
.PageAttributes.clone()
Creates and returns a copy of this PageAttributes.RenderingHints.clone()
Creates a clone of thisRenderingHints
object that has the same contents as thisRenderingHints
object.Returns the value to which the specified key is mapped.BorderLayout.getConstraints
(Component comp) Gets the constraints for the specified componentfinal Object
Toolkit.getDesktopProperty
(String propertyName) Obtains a value for the specified desktop property.Object[]
MediaTracker.getErrorsAny()
Returns a list of all media that have encountered an error.Object[]
MediaTracker.getErrorsID
(int id) Returns a list of media with the specified ID that have encountered an error.abstract Object
Image.getProperty
(String name, ImageObserver observer) Gets a property of this image by name.abstract Object
Graphics2D.getRenderingHint
(RenderingHints.Key hintKey) Returns the value of a single preference for the rendering algorithms.Object[]
Checkbox.getSelectedObjects()
Returns an array (length 1) containing the checkbox label or null if the checkbox is not selected.Object[]
CheckboxMenuItem.getSelectedObjects()
Returns the an array (length 1) containing the checkbox menu item label or null if the checkbox is not selected.Object[]
Choice.getSelectedObjects()
Returns an array (length 1) containing the currently selected item.Object[]
ItemSelectable.getSelectedObjects()
Returns the selected items ornull
if no items are selected.Object[]
List.getSelectedObjects()
Gets the selected items on this scrolling list in an array of Objects.final Object
Component.getTreeLock()
Gets this component's locking object (the object that owns the thread synchronization monitor) for AWT component-tree and layout operations.protected final Object
MenuComponent.getTreeLock()
Gets this component's locking object (the object that owns the thread synchronization monitor) for AWT component-tree and layout operations.protected Object
Toolkit.lazilyLoadDesktopProperty
(String name) An opportunity to lazily evaluate desktop property values.Maps the specifiedkey
to the specifiedvalue
in thisRenderingHints
object.protected Object
AWTKeyStroke.readResolve()
Returns a cached instance ofAWTKeyStroke
(or a subclass ofAWTKeyStroke
) which is equal to this instance.Removes the key and its corresponding value from thisRenderingHints
object.Modifier and TypeMethodDescriptionRenderingHints.entrySet()
Returns aSet
view of the mappings contained in thisRenderingHints
.RenderingHints.entrySet()
Returns aSet
view of the mappings contained in thisRenderingHints
.RenderingHints.keySet()
Returns aSet
view of the Keys contained in thisRenderingHints
.RenderingHints.values()
Returns aCollection
view of the values contained in thisRenderingHints
.Modifier and TypeMethodDescriptionboolean
Deprecated.As of JDK version 1.1, should register this component as ActionListener on component which fires action events.void
Adds the specified component to the end of this container.void
Adds the specified component to this container with the specified constraints at the specified index.protected void
Adds the specified component to this container at the specified index.protected final void
Adds the specified component to this scroll pane container.void
BorderLayout.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to the layout, using the specified constraint object.void
CardLayout.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to this card layout's internal table of names.void
GridBagLayout.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to the layout, using the specifiedconstraints
object.void
LayoutManager2.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to the layout, using the specified constraint object.boolean
RenderingHints.containsKey
(Object key) Returnstrue
if thisRenderingHints
contains a mapping for the specified key.boolean
RenderingHints.containsValue
(Object value) Returns true if this RenderingHints maps one or more keys to the specified value.boolean
Determines whether the specified object is equal to thisAlphaComposite
.final boolean
Returns true if this object is identical to the specified object.boolean
Tests if a specified object is equal to thisBasicStroke
by first testing if it is aBasicStroke
and then comparing its width, join, cap, miter limit, dash, and dash phase attributes with those of thisBasicStroke
.boolean
Determines whether another object is equal to thisColor
.boolean
Checks whether two dimension objects have equal values.boolean
Compares thisFont
object to the specifiedObject
.boolean
Checks whether two insets objects are equal.boolean
Determines whether two JobAttributes are equal to each other.boolean
Returns whether this MenuShortcut is the same as another: equality is defined to mean that both MenuShortcuts use the same key and both either use or don't use the SHIFT key.boolean
Determines whether two PageAttributes are equal to each other.boolean
Determines whether or not two points are equal.boolean
Checks whether two rectangles are equal.boolean
Compares the specifiedObject
with thisRenderingHints
for equality.final boolean
The equals method for all Key objects will return the same result as the equality operator '=='.protected void
Component.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes for Object properties.protected void
KeyboardFocusManager.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Fires a PropertyChangeEvent in response to a change in a bound property.protected void
KeyboardFocusManager.fireVetoableChange
(String propertyName, Object oldValue, Object newValue) Fires a PropertyChangeEvent in response to a change in a vetoable property.Returns the value to which the specified key is mapped.BorderLayout.getLayoutComponent
(Container target, Object constraints) Returns the component that corresponds to the given constraint location based on the targetContainer
's component orientation.BorderLayout.getLayoutComponent
(Object constraints) Gets the component that was added using the given constraintboolean
Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).abstract boolean
RenderingHints.Key.isCompatibleValue
(Object val) Returns true if the specified object is a valid value for this Key.boolean
Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).Maps the specifiedkey
to the specifiedvalue
in thisRenderingHints
object.Removes the key and its corresponding value from thisRenderingHints
object.protected final void
Toolkit.setDesktopProperty
(String name, Object newValue) Sets the named desktop property to the specified value and fires a property change event to notify any listeners that the value has changed.abstract void
Graphics2D.setRenderingHint
(RenderingHints.Key hintKey, Object hintValue) Sets the value of a single preference for the rendering algorithms.void
Retargets an event to a new source.ModifierConstructorDescriptionConstructs an AWTEvent object with the specified source object and type.Deprecated.NOTE: TheEvent
class is obsolete and is available only for backwards compatibility.Deprecated.NOTE: TheEvent
class is obsolete and is available only for backwards compatibility.Deprecated.NOTE: TheEvent
class is obsolete and is available only for backwards compatibility.RenderingHints
(RenderingHints.Key key, Object value) Constructs a new object with the specified key/value pair. -
Uses of Object in java.awt.color
Modifier and TypeClassDescriptionclass
This exception is thrown if the native CMM returns an error.class
This abstract class is used to serve as a color space tag to identify the specific color space of aColor
object or, via aColorModel
object, of anImage
, aBufferedImage
, or aGraphicsDevice
.class
TheICC_ColorSpace
class is an implementation of the abstractColorSpace
class.class
A representation of color profile data for device independent and device dependent color spaces based on the International Color Consortium Specification ICC.1:2001-12, File Format for Color Profiles, (see http://www.color.org).class
TheICC_ProfileGray
class is a subclass of theICC_Profile
class that represents profiles which meet the following criteria: the color space type of the profile isTYPE_GRAY
and the profile includes thegrayTRCTag
andmediaWhitePointTag
tags.class
TheICC_ProfileRGB
class is a subclass of theICC_Profile
class that represents profiles which meet the following criteria: the profile's color space type is RGB, and the profile includes theredColorantTag
,greenColorantTag
,blueColorantTag
,redTRCTag
,greenTRCTag
,blueTRCTag
,mediaWhitePointTag
tags.class
This exception is thrown when an error occurs in accessing or processing anICC_Profile
object.Modifier and TypeMethodDescriptionprotected Object
ICC_Profile.readResolve()
Resolves instances being deserialized into instances registered with CMM. -
Uses of Object in java.awt.datatransfer
Modifier and TypeClassDescriptionclass
A class that implements a mechanism to transfer data using cut/copy/paste operations.class
ADataFlavor
provides meta information about data.class
FlavorEvent
is used to notify interested parties that availableDataFlavor
s have changed in theClipboard
(the event source).class
A class to encapsulate MimeType parsing related exceptions.class
ATransferable
which implements the capability required to transfer aString
.final class
The SystemFlavorMap is a configurable map between "natives" (Strings), which correspond to platform-specific data formats, and "flavors" (DataFlavors), which correspond to platform-independent MIME types.class
Signals that the requested data is not supported in this flavor.Modifier and TypeMethodDescriptionDataFlavor.clone()
Returns a clone of thisDataFlavor
.Clipboard.getData
(DataFlavor flavor) Returns an object representing the current contents of this clipboard in the specifiedDataFlavor
.StringSelection.getTransferData
(DataFlavor flavor) Returns theTransferable
's data in the requestedDataFlavor
if possible.Transferable.getTransferData
(DataFlavor flavor) Returns an object which represents the data to be transferred.Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.Clipboard.getContents
(Object requestor) Returns a transferable object representing the current contents of the clipboard. -
Uses of Object in java.awt.desktop
Modifier and TypeClassDescriptionfinal class
Event sent when the application is asked to open its about window.class
AppEvents are sent to listeners and handlers installed on theDesktop
instance of the current desktop context.final class
Event sent when the application has become the foreground app, and when it is no longer the foreground app.final class
Event sent when the application has been hidden or shown.final class
Event sent when the application is asked to re-open itself.class
Auxiliary event containing a list of files.final class
Event sent when the app is asked to open a list of files.final class
Event sent when the app is asked to open aURI
.final class
Event sent when the application is asked to open its preferences window.final class
Event sent when the app is asked to print a list of files.final class
Event sent when the application is asked to quit.final class
Event sent when the displays attached to the system enter and exit power save sleep.final class
Event sent when the system enters and exits power save sleep.final class
Event sent when the user session has been changed. -
Uses of Object in java.awt.dnd
Modifier and TypeClassDescriptionfinal class
This class contains constant values representing the type of action(s) to be performed by a Drag and Drop operation.class
ADragGestureEvent
is passed toDragGestureListener
's dragGestureRecognized() method when a particularDragGestureRecognizer
detects that a platform dependent drag initiating gesture has occurred on theComponent
that it is tracking.class
TheDragGestureRecognizer
is an abstract base class for the specification of a platform-dependent listener that can be associated with a particularComponent
in order to identify platform-dependent drag initiating gestures.class
TheDragSource
is the entity responsible for the initiation of the Drag and Drop operation, and may be used in a number of scenarios: 1 default instance per JVM for the lifetime of that JVM.class
An abstract adapter class for receiving drag source events.class
TheDragSourceContext
class is responsible for managing the initiator side of the Drag and Drop protocol.class
TheDragSourceDragEvent
is delivered from theDragSourceContextPeer
, via theDragSourceContext
, to theDragSourceListener
registered with thatDragSourceContext
and with its associatedDragSource
.class
TheDragSourceDropEvent
is delivered from theDragSourceContextPeer
, via theDragSourceContext
, to thedragDropEnd
method ofDragSourceListener
s registered with thatDragSourceContext
and with its associatedDragSource
.class
This class is the base class forDragSourceDragEvent
andDragSourceDropEvent
.class
TheDropTarget
is associated with aComponent
when thatComponent
wishes to accept drops during Drag and Drop operations.protected static class
this protected nested class implements autoscrollingclass
An abstract adapter class for receiving drop target events.class
ADropTargetContext
is created whenever the logical cursor associated with a Drag and Drop operation coincides with the visible geometry of aComponent
associated with aDropTarget
.protected class
TransferableProxy
is a helper inner class that implementsTransferable
interface and serves as a proxy for anotherTransferable
object which represents data transfer for a particular drag-n-drop operation.class
TheDropTargetDragEvent
is delivered to aDropTargetListener
via its dragEnter() and dragOver() methods.class
TheDropTargetDropEvent
is delivered via theDropTargetListener
drop() method.class
TheDropTargetEvent
is the base class for both theDropTargetDragEvent
and theDropTargetDropEvent
.class
This exception is thrown by various methods in the java.awt.dnd package.class
This abstract subclass ofDragGestureRecognizer
defines aDragGestureRecognizer
for mouse-based gestures.Modifier and TypeMethodDescriptionDropTargetContext.TransferableProxy.getTransferData
(DataFlavor df) Returns an object which represents the data provided by the encapsulated transferable for the requested data flavor.Object[]
DragGestureEvent.toArray()
Returns anObject
array of the events comprising the drag gesture.Object[]
Returns an array of the events comprising the drag gesture. -
Uses of Object in java.awt.event
Modifier and TypeClassDescriptionclass
A semantic event which indicates that a component-defined action occurred.class
The adjustment event emitted by Adjustable objects likeScrollbar
andScrollPane
.class
A class which extends theEventListenerProxy
specifically for adding anAWTEventListener
for a specific event mask.class
An abstract adapter class for receiving component events.class
A low-level event which indicates that a component moved, changed size, or changed visibility (also, the root class for the other component-level events).class
An abstract adapter class for receiving container events.class
A low-level event which indicates that a container's contents changed because a component was added or removed.class
An abstract adapter class for receiving keyboard focus events.class
A low-level event which indicates that a Component has gained or lost the input focus.class
An abstract adapter class for receiving ancestor moved and resized events.class
An event which indicates a change to theComponent
hierarchy to whichComponent
belongs.class
The root event class for all component-level input events.class
Input method events contain information about text that is being composed using an input method.class
An event which executes therun()
method on aRunnable
when dispatched by the AWT event dispatcher thread.class
A semantic event which indicates that an item was selected or deselected.class
An abstract adapter class for receiving keyboard events.class
An event which indicates that a keystroke occurred in a component.class
An abstract adapter class for receiving mouse events.class
An event which indicates that a mouse action occurred in a component.class
An abstract adapter class for receiving mouse motion events.class
An event which indicates that the mouse wheel was rotated in a component.class
The component-level paint event.class
A semantic event which indicates that an object's text changed.class
An abstract adapter class for receiving window events.class
A low-level event that indicates that a window has changed its status.Modifier and TypeFieldDescriptionprotected Object
InvocationEvent.notifier
The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method has returned or thrown an exception or after the event was disposed.ModifierConstructorDescriptionActionEvent
(Object source, int id, String command) Constructs anActionEvent
object.ActionEvent
(Object source, int id, String command, int modifiers) Constructs anActionEvent
object with modifier keys.ActionEvent
(Object source, int id, String command, long when, int modifiers) Constructs anActionEvent
object with the specified modifier keys and timestamp.protected
InvocationEvent
(Object source, int id, Runnable runnable, Object notifier, boolean catchThrowables) Constructs anInvocationEvent
with the specified source and ID which will execute the runnable'srun()
method when dispatched.InvocationEvent
(Object source, Runnable runnable) Constructs anInvocationEvent
with the specified source which will execute the runnable'srun()
method when dispatched.InvocationEvent
(Object source, Runnable runnable, Object notifier, boolean catchThrowables) Constructs anInvocationEvent
with the specified source which will execute the runnable'srun()
method when dispatched.InvocationEvent
(Object source, Runnable runnable, Runnable listener, boolean catchThrowables) Constructs anInvocationEvent
with the specified source which will execute the runnable'srun()
method when dispatched.ItemEvent
(ItemSelectable source, int id, Object item, int stateChange) Constructs anItemEvent
object.Constructs aTextEvent
object. -
Uses of Object in java.awt.font
Modifier and TypeClassDescriptionclass
TheFontRenderContext
class is a container for the information needed to correctly measure text.final class
TheGlyphJustificationInfo
class represents information about the justification properties of a glyph.final class
TheGlyphMetrics
class represents information for a single glyph.class
AGlyphVector
object is a collection of glyphs containing geometric information for the placement of each glyph in a transformed coordinate space which corresponds to the device on which theGlyphVector
is ultimately displayed.class
This class is used with the CHAR_REPLACEMENT attribute.final class
TheImageGraphicAttribute
class is an implementation ofGraphicAttribute
which draws images in aTextLayout
.class
LayoutPath provides a mapping between locations relative to the baseline and points in user space.final class
TheLineBreakMeasurer
class allows styled text to be broken into lines (or segments) that fit within a particular visual advance.class
TheLineMetrics
class allows access to the metrics needed to layout characters along a line and to layout of a set of lines.final class
TheNumericShaper
class is used to convert Latin-1 (European) digits to other Unicode decimal digits.final class
TheShapeGraphicAttribute
class is an implementation ofGraphicAttribute
that draws shapes in aTextLayout
.final class
TheTextAttribute
class defines attribute keys and attribute values used for text rendering.final class
TheTextHitInfo
class represents a character position in a text model, and a bias, or "side," of the character.final class
TextLayout
is an immutable graphical representation of styled character data.static class
Defines a policy for determining the strong caret location.final class
TheTextMeasurer
class provides the primitive operations needed for line break: measuring up to a given advance, determining the advance of a range of characters, and generating aTextLayout
for a range of characters.final class
TheTransformAttribute
class provides an immutable wrapper for a transform so that it is safe to use as an attribute.Modifier and TypeMethodDescriptionprotected Object
TextLayout.clone()
Creates a copy of thisTextLayout
.protected Object
TextMeasurer.clone()
FontRenderContext.getAntiAliasingHint()
Return the text anti-aliasing rendering mode hint used in thisFontRenderContext
.FontRenderContext.getFractionalMetricsHint()
Return the text fractional metrics rendering mode hint used in thisFontRenderContext
.protected Object
TextAttribute.readResolve()
Resolves instances being deserialized to the predefined constants.Modifier and TypeMethodDescriptionboolean
Return true if obj is an instance of FontRenderContext and has the same transform, antialiasing, and fractional metrics values as this.boolean
Compares thisImageGraphicAttribute
to the specifiedObject
.boolean
Returnstrue
if the specified object is an instance ofNumericShaper
and shapes identically to this one, regardless of the range representations, the bit mask or the enum.boolean
Compares thisShapeGraphicAttribute
to the specifiedObject
.boolean
Returnstrue
if the specifiedObject
is aTextHitInfo
and equals thisTextHitInfo
.boolean
Returnstrue
if rhs is aTransformAttribute
whose transform is equal to thisTransformAttribute
's transform.ModifierConstructorDescriptionFontRenderContext
(AffineTransform tx, Object aaHint, Object fmHint) Constructs aFontRenderContext
object from an optionalAffineTransform
and twoObject
values that determine if the newly constructed object has anti-aliasing or fractional metrics. -
Uses of Object in java.awt.geom
Modifier and TypeClassDescriptionclass
TheAffineTransform
class represents a 2D affine transform that performs a linear mapping from 2D coordinates to other 2D coordinates that preserves the "straightness" and "parallelness" of lines.class
Arc2D
is the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN
,CHORD
, orPIE
).static class
This class defines an arc specified indouble
precision.static class
This class defines an arc specified infloat
precision.class
AnArea
object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.class
TheCubicCurve2D
class defines a cubic parametric curve segment in(x,y)
coordinate space.static class
A cubic parametric curve segment specified withdouble
coordinates.static class
A cubic parametric curve segment specified withfloat
coordinates.class
TheDimension2D
class is to encapsulate a width and a height dimension.class
TheEllipse2D
class describes an ellipse that is defined by a framing rectangle.static class
TheDouble
class defines an ellipse specified indouble
precision.static class
TheFloat
class defines an ellipse specified infloat
precision.class
TheFlatteningPathIterator
class returns a flattened view of anotherPathIterator
object.final class
TheGeneralPath
class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.class
TheIllegalPathStateException
represents an exception that is thrown if an operation is performed on a path that is in an illegal state with respect to the particular operation being performed, such as appending a path segment to aGeneralPath
without an initial moveto.class
ThisLine2D
represents a line segment in(x,y)
coordinate space.static class
A line segment specified with double coordinates.static class
A line segment specified with float coordinates.class
TheNoninvertibleTransformException
class represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransform
object but theAffineTransform
is in a non-invertible state.class
ThePath2D
class provides a simple, yet flexible shape which represents an arbitrary geometric path.static class
TheDouble
class defines a geometric path with coordinates stored in double precision floating point.static class
TheFloat
class defines a geometric path with coordinates stored in single precision floating point.class
ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.static class
TheDouble
class defines a point specified indouble
precision.static class
TheFloat
class defines a point specified in float precision.class
TheQuadCurve2D
class defines a quadratic parametric curve segment in(x,y)
coordinate space.static class
A quadratic parametric curve segment specified withdouble
coordinates.static class
A quadratic parametric curve segment specified withfloat
coordinates.class
TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.static class
TheDouble
class defines a rectangle specified in double coordinates.static class
TheFloat
class defines a rectangle specified in float coordinates.class
RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame.class
TheRoundRectangle2D
class defines a rectangle with rounded corners defined by a location(x,y)
, a dimension(w x h)
, and the width and height of an arc with which to round the corners.static class
TheDouble
class defines a rectangle with rounded corners all specified indouble
coordinates.static class
TheFloat
class defines a rectangle with rounded corners all specified infloat
coordinates.Modifier and TypeMethodDescriptionAffineTransform.clone()
Returns a copy of thisAffineTransform
object.Area.clone()
Returns an exact copy of thisArea
object.CubicCurve2D.clone()
Creates a new object of the same class as this object.Dimension2D.clone()
Creates a new object of the same class as this object.Line2D.clone()
Creates a new object of the same class as this object.abstract Object
Path2D.clone()
Creates a new object of the same class as this object.final Object
Path2D.Double.clone()
Creates a new object of the same class as this object.final Object
Path2D.Float.clone()
Creates a new object of the same class as this object.Point2D.clone()
Creates a new object of the same class and with the same contents as this object.QuadCurve2D.clone()
Creates a new object of the same class and with the same contents as this object.RectangularShape.clone()
Creates a new object of the same class and with the same contents as this object.Modifier and TypeMethodDescriptionboolean
Returnstrue
if thisAffineTransform
represents the same affine coordinate transform as the specified argument.boolean
Determines whether or not the specifiedObject
is equal to thisArc2D
.boolean
Determines whether or not the specifiedObject
is equal to thisEllipse2D
.boolean
Determines whether or not two points are equal.boolean
Determines whether or not the specifiedObject
is equal to thisRectangle2D
.boolean
Determines whether or not the specifiedObject
is equal to thisRoundRectangle2D
. -
Uses of Object in java.awt.im
Modifier and TypeClassDescriptionclass
Provides methods to control text input facilities such as input methods and keyboard layouts.class
An InputMethodHighlight is used to describe the highlight attributes of text being composed.final class
Defines additional Unicode subsets for use by input methods.Modifier and TypeMethodDescriptionInputContext.getInputMethodControlObject()
Returns a control object from the current input method, or null. -
Uses of Object in java.awt.im.spi
Modifier and TypeMethodDescriptionInputMethod.getControlObject()
Returns a control object from this input method, or null. -
Uses of Object in java.awt.image
Modifier and TypeClassDescriptionclass
This class provides default implementations of severalImage
methods for classes that want to implement theMultiResolutionImage
interface.class
This class uses an affine transform to perform a linear mapping from 2D coordinates in the source image orRaster
to 2D coordinates in the destination image orRaster
.class
An ImageFilter class for scaling images using a simple area averaging algorithm that produces smoother results than the nearest neighbor algorithm.class
This class performs an arbitrary linear combination of the bands in aRaster
, using a specified matrix.final class
This class represents image data which is stored in a band interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer.class
This class is an array-based implementation of theAbstractMultiResolutionImage
class.class
TheBufferedImage
subclass describes anImage
with an accessible buffer of image data.class
TheBufferedImageFilter
class subclasses anImageFilter
to provide a simple means of using a single-source/single-destination image operator (BufferedImageOp
) to filter aBufferedImage
in the Image Producer/Consumer/Observer paradigm.class
TheBufferStrategy
class represents the mechanism with which to organize complex memory on a particularCanvas
orWindow
.class
This class defines a lookup table object.class
This class performs a pixel-by-pixel color conversion of the data in the source image.class
TheColorModel
abstract class encapsulates the methods for translating a pixel value to color components (for example, red, green, and blue) and an alpha component.class
AColorModel
class that works with pixel values that represent color and alpha information as separate samples and that store each sample in a separate data element.class
This class represents image data which is stored such that each sample of a pixel occupies one data element of the DataBuffer.class
This class implements a convolution from the source to the destination.class
An ImageFilter class for cropping images.class
This class exists to wrap one or more data arrays.final class
This class extendsDataBuffer
and stores data internally as bytes.final class
This class extendsDataBuffer
and stores data internally indouble
form.final class
This class extendsDataBuffer
and stores data internally infloat
form.final class
This class extendsDataBuffer
and stores data internally as integers.final class
This class extendsDataBuffer
and stores data internally as shorts.final class
This class extendsDataBuffer
and stores data internally as shorts.class
TheDirectColorModel
class is aColorModel
class that works with pixel values that represent RGB color and alpha information as separate samples and that pack all samples for a single pixel into a single int, short, or byte quantity.class
This class is an implementation of the ImageProducer interface which takes an existing image and a filter object and uses them to produce image data for a new filtered version of the original image.class
This class implements a filter for the set of interface methods that are used to deliver data from an ImageProducer to an ImageConsumer.class
TheImagingOpException
is thrown if one of theBufferedImageOp
orRasterOp
filter methods cannot process the image.class
TheIndexColorModel
class is aColorModel
class that works with pixel values consisting of a single sample that is an index into a fixed colormap in the default sRGB color space.class
TheKernel
class defines a matrix that describes how a specified pixel and its surrounding pixels affect the value computed for the pixel's position in the output image of a filtering operation.class
This class implements a lookup operation from the source to the destination.class
This abstract class defines a lookup table object.class
This class is an implementation of the ImageProducer interface which uses an array to produce pixel values for an Image.class
TheMultiPixelPackedSampleModel
class represents one-banded images and can pack multiple one-sample pixels into one data element.class
ThePackedColorModel
class is an abstractColorModel
class that works with pixel values which represent color and alpha information as separate samples and which pack all samples for a single pixel into a single int, short, or byte quantity.class
The PixelGrabber class implements an ImageConsumer which can be attached to an Image or ImageProducer object to retrieve a subset of the pixels in that image.class
This class represents image data which is stored in a pixel interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer.class
A class representing a rectangular array of pixels.class
TheRasterFormatException
is thrown if there is invalid layout information in theRaster
.class
An ImageFilter class for scaling images using the simplest algorithm.class
This class performs a pixel-by-pixel rescaling of the data in the source image by multiplying the sample values for each pixel by a scale factor and then adding an offset.class
This class provides an easy way to create an ImageFilter which modifies the pixels of an image in the default RGB ColorModel.class
This abstract class defines an interface for extracting samples of pixels in an image.class
This class defines a lookup table object.class
This class represents pixel data packed such that the N samples which make up a single pixel are stored in a single data array element, and each data data array element holds samples for only one pixel.class
VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications).class
This class extends Raster to provide pixel writing capabilities.Modifier and TypeFieldDescriptionprotected Object
ReplicateScaleFilter.outpixbuf
Abyte
array initialized with a size ofReplicateScaleFilter.destWidth
and used to deliver a row of pixel data to theImageConsumer
.Modifier and TypeMethodDescriptionImageFilter.clone()
Clones this object.Kernel.clone()
Clones this object.BandedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.ColorModel.getDataElements
(float[] normComponents, int normOffset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of normalized color/alpha components.ColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.ColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.ComponentColorModel.getDataElements
(float[] normComponents, int normOffset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of normalized color/alpha components.ComponentColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.ComponentColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.ComponentSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of typeTransferType
.DirectColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.DirectColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.IndexColorModel.getDataElements
(int[] components, int offset, Object pixel) Returns a data element array representation of a pixel in thisColorModel
given an array of unnormalized color/alpha components.IndexColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the default RGB color model.MultiPixelPackedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.Raster.getDataElements
(int x, int y, int w, int h, Object outData) Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType.Raster.getDataElements
(int x, int y, Object outData) Returns data for a single pixel in a primitive array of type TransferType.SampleModel.getDataElements
(int x, int y, int w, int h, Object obj, DataBuffer data) Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType.abstract Object
SampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.SinglePixelPackedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.PixelGrabber.getPixels()
Get the pixel buffer.AbstractMultiResolutionImage.getProperty
(String name, ImageObserver observer) This method simply delegates to the same method on the base image and it is equivalent to:getBaseImage().getProperty(name, observer)
.BufferedImage.getProperty
(String name) Returns a property of the image by name.BufferedImage.getProperty
(String name, ImageObserver observer) Returns a property of the image by name.RenderedImage.getProperty
(String name) Gets a property from the property set of this image.Modifier and TypeMethodDescriptionboolean
This method simply delegates to the default implementation inObject
which is identical to an==
test since this class cannot enforce the issues of a proper equality test among multiple independent subclass branches.boolean
Tests if the specifiedObject
is an instance ofComponentColorModel
and equals thisComponentColorModel
.boolean
Tests if the specifiedObject
is an instance ofIndexColorModel
and if it equals thisIndexColorModel
boolean
Tests if the specifiedObject
is an instance ofPackedColorModel
and equals thisPackedColorModel
.int
Returns the alpha component for the specified pixel, scaled from 0 to 255.int
Returns the alpha component for the specified pixel, scaled from 0 to 255.int
Returns the alpha component for the specified pixel, scaled from 0 to 255.int
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int[]
ColorModel.getComponents
(Object pixel, int[] components, int offset) Returns an array of unnormalized color/alpha components given a pixel in thisColorModel
.int[]
ComponentColorModel.getComponents
(Object pixel, int[] components, int offset) Returns an array of unnormalized color/alpha components given a pixel in thisColorModel
.final int[]
DirectColorModel.getComponents
(Object pixel, int[] components, int offset) Returns an array of unnormalized color/alpha components given a pixel in thisColorModel
.int[]
IndexColorModel.getComponents
(Object pixel, int[] components, int offset) Returns an array of unnormalized color/alpha components for a specified pixel in thisColorModel
.BandedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.ColorModel.getDataElements
(float[] normComponents, int normOffset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of normalized color/alpha components.ColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.ColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.ComponentColorModel.getDataElements
(float[] normComponents, int normOffset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of normalized color/alpha components.ComponentColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.ComponentColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.ComponentSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of typeTransferType
.DirectColorModel.getDataElements
(int[] components, int offset, Object obj) Returns a data element array representation of a pixel in thisColorModel
, given an array of unnormalized color/alpha components.DirectColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in thisColorModel
, given an integer pixel representation in the default RGB color model.IndexColorModel.getDataElements
(int[] components, int offset, Object pixel) Returns a data element array representation of a pixel in thisColorModel
given an array of unnormalized color/alpha components.IndexColorModel.getDataElements
(int rgb, Object pixel) Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the default RGB color model.MultiPixelPackedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.Raster.getDataElements
(int x, int y, int w, int h, Object outData) Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType.Raster.getDataElements
(int x, int y, Object outData) Returns data for a single pixel in a primitive array of type TransferType.SampleModel.getDataElements
(int x, int y, int w, int h, Object obj, DataBuffer data) Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType.abstract Object
SampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.SinglePixelPackedSampleModel.getDataElements
(int x, int y, Object obj, DataBuffer data) Returns data for a single pixel in a primitive array of type TransferType.int
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.float[]
ColorModel.getNormalizedComponents
(Object pixel, float[] normComponents, int normOffset) Returns an array of all of the color/alpha components in normalized form, given a pixel in thisColorModel
.float[]
ComponentColorModel.getNormalizedComponents
(Object pixel, float[] normComponents, int normOffset) Returns an array of all of the color/alpha components in normalized form, given a pixel in thisColorModel
.int
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB.int
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGBColorSpace
, sRGB.int
Returns the color/alpha components for the specified pixel in the default RGB color model format.int
Returns the color/alpha components for the specified pixel in the default RGB color model format.int
Returns the color/alpha components for the specified pixel in the default RGB color model format.void
BandedSampleModel.setDataElements
(int x, int y, Object obj, DataBuffer data) Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType.void
ComponentSampleModel.setDataElements
(int x, int y, Object obj, DataBuffer data) Sets the data for a single pixel in the specifiedDataBuffer
from a primitive array of typeTransferType
.void
MultiPixelPackedSampleModel.setDataElements
(int x, int y, Object obj, DataBuffer data) Sets the data for a single pixel in the specifiedDataBuffer
from a primitive array of type TransferType.void
SampleModel.setDataElements
(int x, int y, int w, int h, Object obj, DataBuffer data) Sets the data for a rectangle of pixels in the specified DataBuffer from a primitive array of type TransferType.abstract void
SampleModel.setDataElements
(int x, int y, Object obj, DataBuffer data) Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType.void
SinglePixelPackedSampleModel.setDataElements
(int x, int y, Object obj, DataBuffer data) Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType.void
WritableRaster.setDataElements
(int x, int y, int w, int h, Object inData) Sets the data for a rectangle of pixels from a primitive array of type TransferType.void
WritableRaster.setDataElements
(int x, int y, Object inData) Sets the data for a single pixel from a primitive array of type TransferType. -
Uses of Object in java.awt.image.renderable
Modifier and TypeClassDescriptionclass
AParameterBlock
encapsulates all the information about sources and parameters (Objects) required by a RenderableImageOp, or other classes that process images.class
This class handles the renderable aspects of an operation with help from its associated instance of a ContextualRenderedImageFactory.class
An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage.class
A RenderContext encapsulates the information needed to produce a specific rendering from a RenderableImage.Modifier and TypeFieldDescriptionParameterBlock.parameters
A Vector of non-source parameters, stored as arbitrary Objects.ParameterBlock.sources
A Vector of sources, stored as arbitrary Objects.Modifier and TypeMethodDescriptionParameterBlock.clone()
Creates a copy of aParameterBlock
.RenderContext.clone()
Makes a copy of a RenderContext.ParameterBlock.getObjectParameter
(int index) Gets a parameter as an object.ContextualRenderedImageFactory.getProperty
(ParameterBlock paramBlock, String name) Gets the appropriate instance of the property specified by the name parameter.RenderableImage.getProperty
(String name) Gets a property from the property set of this image.RenderableImageOp.getProperty
(String name) Gets a property from the property set of this image.ParameterBlock.getSource
(int index) Returns a source as a general Object.ParameterBlock.shallowClone()
Creates a shallow copy of aParameterBlock
.Modifier and TypeMethodDescriptionParameterBlock.getParameters()
Returns the entire Vector of parameters.ParameterBlock.getSources()
Returns the entire Vector of sources.Modifier and TypeMethodDescriptionAdds an object to the list of parameters.Adds an image to end of the list of sources.Replaces an Object in the list of parameters.Replaces an entry in the list of source with a new source.Modifier and TypeMethodDescriptionvoid
ParameterBlock.setParameters
(Vector<Object> parameters) Sets the entire Vector of parameters to a given Vector.void
ParameterBlock.setSources
(Vector<Object> sources) Sets the entire Vector of sources to a given Vector.ModifierConstructorDescriptionParameterBlock
(Vector<Object> sources) Constructs aParameterBlock
with a given Vector of sources.ParameterBlock
(Vector<Object> sources, Vector<Object> parameters) Constructs aParameterBlock
with a given Vector of sources and Vector of parameters. -
Uses of Object in java.awt.print
Modifier and TypeClassDescriptionclass
TheBook
class provides a representation of a document in which pages may have different page formats and page painters.class
ThePageFormat
class describes the size and orientation of a page to be printed.class
ThePaper
class describes the physical characteristics of a piece of paper.class
ThePrinterAbortException
class is a subclass ofPrinterException
and is used to indicate that a user or application has terminated the print job while it was in the process of printing.class
ThePrinterException
class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.class
ThePrinterIOException
class is a subclass ofPrinterException
and is used to indicate that an IO error of some sort has occurred while printing.class
ThePrinterJob
class is the principal class that controls printing. -
Uses of Object in java.beans
Modifier and TypeClassDescriptionclass
A BeanDescriptor provides global information about a "bean", including its Java class, its displayName, etc.class
This class provides some general purpose beans control methods.class
TheDefaultPersistenceDelegate
is a concrete implementation of the abstractPersistenceDelegate
class and is the delegate used by default for classes about which no information is available.class
AnEncoder
is a class which can be used to create files or streams that encode the state of a collection of JavaBeans in terms of their public APIs.class
TheEventHandler
class provides support for dynamically generating event listeners whose methods execute a simple statement involving an incoming event object and a target object.class
An EventSetDescriptor describes a group of events that a given Java bean fires.class
AnExpression
object represents a primitive expression in which a single method is applied to a target and a set of arguments to return a result - as in"a.getFoo()"
.class
The FeatureDescriptor class is the common baseclass for PropertyDescriptor, EventSetDescriptor, and MethodDescriptor, etc.class
An "IndexedPropertyChange" event gets delivered whenever a component that conforms to the JavaBeans specification (a "bean") changes a bound indexed property.class
An IndexedPropertyDescriptor describes a property that acts like an array and has an indexed read and/or indexed write method to access specific elements of the array.class
Thrown when an exception happens during Introspection.class
The Introspector class provides a standard way for tools to learn about the properties, events, and methods supported by a target Java Bean.class
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.class
The ParameterDescriptor class allows bean implementors to provide additional information on each of their parameters, beyond the low level type information provided by the java.lang.reflect.Method class.class
The PersistenceDelegate class takes the responsibility for expressing the state of an instance of a given class in terms of the methods in the class's public API.class
A "PropertyChange" event gets delivered whenever a bean changes a "bound" or "constrained" property.class
A class which extends theEventListenerProxy
specifically for adding aPropertyChangeListener
with a "bound" property.class
This is a utility class that can be used by beans that support bound properties.class
A PropertyDescriptor describes one property that a Java Bean exports via a pair of accessor methods.class
The PropertyEditorManager can be used to locate a property editor for any given type name.class
This is a support class to help build property editors.class
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.class
This is a support class to make it easier for people to provide BeanInfo classes.class
AStatement
object represents a primitive statement in which a single method is applied to a target and a set of arguments - as in"a.setFoo(b)"
.class
A class which extends theEventListenerProxy
specifically for adding aVetoableChangeListener
with a "constrained" property.class
This is a utility class that can be used by beans that support constrained properties.class
TheXMLDecoder
class is used to read XML documents created using theXMLEncoder
and is used just like theObjectInputStream
.class
TheXMLEncoder
class is a complementary alternative to theObjectOutputStream
and can used to generate a textual representation of a JavaBean in the same way that theObjectOutputStream
can be used to create binary representation ofSerializable
objects.Modifier and TypeMethodDescriptionReturns a tentative value foroldInstance
in the environment created by this stream.Object[]
Statement.getArguments()
Returns the arguments for the method to invoke.static Object
Beans.getInstanceOf
(Object bean, Class<?> targetType) From a given bean, obtain an object representing a specified type view of that source object.PropertyChangeEvent.getNewValue()
Gets the new value for the property, expressed as an Object.PropertyChangeEvent.getOldValue()
Gets the old value for the property, expressed as an Object.XMLDecoder.getOwner()
Gets the owner of this decoder.XMLEncoder.getOwner()
Gets the owner of this encoder.PropertyChangeEvent.getPropagationId()
The "propagationId" field is reserved for future use.PropertyEditorSupport.getSource()
Returns the bean that is used as the source of events.EventHandler.getTarget()
Returns the object to which this event handler will send a message.Statement.getTarget()
Returns the target object of this statement.Expression.getValue()
If the value property of this instance is not already set, this method dynamically finds the method with the specified methodName on this target with these arguments and calls it.Retrieve a named attribute with this feature.PropertyEditor.getValue()
Gets the property value.PropertyEditorSupport.getValue()
Gets the value of the property.static Object
Beans.instantiate
(ClassLoader cls, String beanName) Instantiate a JavaBean.static Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext) Instantiate a JavaBean.static Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer) Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to useBeans.instantiate(ClassLoader, String, BeanContext)
, because the Applet API is deprecated.Extract the appropriate property value from the event and pass it to the action associated with thisEventHandler
.XMLDecoder.readObject()
Reads the next object from the underlying input stream.Removes the entry for this instance, returning the old entry.Modifier and TypeMethodDescriptionstatic <T> T
Creates an implementation oflistenerInterface
in which all of the methods in the listener interface apply the handler'saction
to thetarget
.static <T> T
EventHandler.create
(Class<T> listenerInterface, Object target, String action, String eventPropertyName) /** Creates an implementation oflistenerInterface
in which all of the methods pass the value of the event expression,eventPropertyName
, to the final method in the statement,action
, which is applied to thetarget
.static <T> T
EventHandler.create
(Class<T> listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName) Creates an implementation oflistenerInterface
in which the method namedlistenerMethodName
passes the value of the event expression,eventPropertyName
, to the final method in the statement,action
, which is applied to thetarget
.static DefaultHandler
XMLDecoder.createHandler
(Object owner, ExceptionListener el, ClassLoader cl) Creates a new handler for SAX parser that can be used to parse embedded XML archives created by theXMLEncoder
class.PropertyDescriptor.createPropertyEditor
(Object bean) Constructs an instance of a property editor using the current property editor class.boolean
Compares thisPropertyDescriptor
against the specified object.boolean
Compares thisPropertyDescriptor
against the specified object.void
PropertyChangeSupport.fireIndexedPropertyChange
(String propertyName, int index, Object oldValue, Object newValue) Reports a bound indexed property update to listeners that have been registered to track updates of all properties or a property with the specified name.void
PropertyChangeSupport.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.void
VetoableChangeSupport.fireVetoableChange
(String propertyName, Object oldValue, Object newValue) Reports a constrained property update to listeners that have been registered to track updates of all properties or a property with the specified name.Returns a tentative value foroldInstance
in the environment created by this stream.static Object
Beans.getInstanceOf
(Object bean, Class<?> targetType) From a given bean, obtain an object representing a specified type view of that source object.protected void
DefaultPersistenceDelegate.initialize
(Class<?> type, Object oldInstance, Object newInstance, Encoder out) This default implementation of theinitialize
method assumes all state held in objects of this type is exposed via the matching pairs of "setter" and "getter" methods in the order they are returned by the Introspector.protected void
PersistenceDelegate.initialize
(Class<?> type, Object oldInstance, Object newInstance, Encoder out) Produce a series of statements with side effects onnewInstance
so that the new instance becomes equivalent tooldInstance
.protected Expression
DefaultPersistenceDelegate.instantiate
(Object oldInstance, Encoder out) This default implementation of theinstantiate
method returns an expression containing the predefined method name "new" which denotes a call to a constructor with the arguments as specified in theDefaultPersistenceDelegate
's constructor.protected abstract Expression
PersistenceDelegate.instantiate
(Object oldInstance, Encoder out) Returns an expression whose value isoldInstance
.Extract the appropriate property value from the event and pass it to the action associated with thisEventHandler
.static boolean
Beans.isInstanceOf
(Object bean, Class<?> targetType) Check if a bean can be viewed as a given target type.protected boolean
If the number of arguments in the specified constructor is non-zero and the class ofoldInstance
explicitly declares an "equals" method this method returns the value ofoldInstance.equals(newInstance)
.protected boolean
Returns true if an equivalent copy ofoldInstance
may be created by applying a series of statements tonewInstance
.Removes the entry for this instance, returning the old entry.void
Set the object to be customized.void
Sets the owner of this decoder toowner
.void
Sets the owner of this encoder toowner
.void
PropertyChangeEvent.setPropagationId
(Object propagationId) Sets the propagationId object for the event.void
Sets the source bean.void
Sets the value of this expression tovalue
.void
Associate a named attribute with this feature.void
Set (or change) the object that is to be edited.void
Set (or change) the object that is to be edited.protected void
Encoder.writeObject
(Object o) Write the specified object to the output stream.void
PersistenceDelegate.writeObject
(Object oldInstance, Encoder out) ThewriteObject
is a single entry point to the persistence and is used by anEncoder
in the traditional mode of delegation.void
XMLEncoder.writeObject
(Object o) Write an XML representation of the specified object to the output.ModifierConstructorDescriptionEventHandler
(Object target, String action, String eventPropertyName, String listenerMethodName) Creates a newEventHandler
object; you generally use one of thecreate
methods instead of invoking this constructor directly.Expression
(Object value, Object target, String methodName, Object[] arguments) Creates a newExpression
object with the specified value for the specified target object to invoke the method specified by the name and by the array of arguments.Expression
(Object target, String methodName, Object[] arguments) Creates a newExpression
object for the specified target object to invoke the method specified by the name and by the array of arguments.IndexedPropertyChangeEvent
(Object source, String propertyName, Object oldValue, Object newValue, int index) Constructs a newIndexedPropertyChangeEvent
object.PropertyChangeEvent
(Object source, String propertyName, Object oldValue, Object newValue) Constructs a newPropertyChangeEvent
.PropertyChangeSupport
(Object sourceBean) Constructs aPropertyChangeSupport
object.PropertyEditorSupport
(Object source) Constructs aPropertyEditorSupport
object.Creates a newStatement
object for the specified target object to invoke the method specified by the name and by the array of arguments.VetoableChangeSupport
(Object sourceBean) Constructs aVetoableChangeSupport
object.XMLDecoder
(InputStream in, Object owner) Creates a new input stream for reading archives created by theXMLEncoder
class.XMLDecoder
(InputStream in, Object owner, ExceptionListener exceptionListener) Creates a new input stream for reading archives created by theXMLEncoder
class.XMLDecoder
(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl) Creates a new input stream for reading archives created by theXMLEncoder
class. -
Uses of Object in java.beans.beancontext
Modifier and TypeClassDescriptionclass
This is a general support class to provide support for implementing the BeanContextChild protocol.class
BeanContextEvent
is the abstract root event class for all events emitted from, and pertaining to the semantics of, aBeanContext
.class
ABeanContextMembershipEvent
encapsulates the list of children added to, or removed from, the membership of a particularBeanContext
.class
This event type is used by the BeanContextServicesListener in order to identify the service being registered.class
This event type is used by theBeanContextServiceRevokedListener
in order to identify the service being revoked.class
This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.protected class
protected class
protected static class
subclasses may subclass this nested class to add behaviors for each BeanContextServicesProvider.class
This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.protected class
protected static final class
protected final subclass that encapsulates an iterator but implements a noop remove() method.Modifier and TypeFieldDescriptionstatic final Object
BeanContext.globalHierarchyLock
This global lock is used by bothBeanContext
andBeanContextServices
implementors to serialize changes in aBeanContext
hierarchy and any service requests etc.Modifier and TypeFieldDescriptionprotected HashMap<Object,
BeanContextSupport.BCSChild> BeanContextSupport.children
all accesses to theprotected HashMap children
field shall be synchronized on that object.BeanContextServicesSupport.services
all accesses to theprotected transient HashMap services
field should be synchronized on that objectModifier and TypeMethodDescriptionprotected final Object[]
BeanContextSupport.copyChildren()
Gets a copy of the this BeanContext's children.BeanContextServiceProvider.getService
(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) Invoked byBeanContextServices
, this method requests an instance of a service from thisBeanContextServiceProvider
.BeanContextServices.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) ABeanContextChild
, or any arbitrary object associated with aBeanContextChild
, may obtain a reference to a currently registered service from its nestingBeanContextServices
via invocation of this method.BeanContextServicesSupport.BCSSProxyServiceProvider.getService
(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) BeanContextServicesSupport.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) obtain a service which may be delegatedBeanContext.instantiateChild
(String beanName) Instantiate the javaBean named as a child of thisBeanContext
.BeanContextSupport.instantiateChild
(String beanName) The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into aBeanContext
.BeanContextSupport.BCSIterator.next()
Object[]
BeanContextMembershipEvent.toArray()
Gets the array of children affected by this event.Object[]
BeanContextSupport.toArray()
Gets all JavaBean orBeanContext
instances currently nested in this BeanContext.Object[]
Gets an array containing all children of thisBeanContext
that match the types contained in arry.Modifier and TypeMethodDescriptionBeanContextServicesSupport.getCurrentServiceClasses()
BeanContextSupport.iterator()
Gets all JavaBean orBeanContext
instances currently nested in thisBeanContext
.Modifier and TypeMethodDescriptionboolean
Adds/nests a child within thisBeanContext
.protected void
BeanContextSupport.childDeserializedHook
(Object child, BeanContextSupport.BCSChild bcsc) Called by readObject with the newly deserialized child and BCSChild.protected void
BeanContextSupport.childJustAddedHook
(Object child, BeanContextSupport.BCSChild bcsc) subclasses may override this method to simply extend add() semantics after the child has been added and before the event notification has occurred.protected void
BeanContextServicesSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) called from superclass child removal operations after a child has been successfully removed. called with child synchronized.protected void
BeanContextSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) subclasses may override this method to simply extend remove() semantics after the child has been removed and before the event notification has occurred.boolean
Is the child specified affected by the event?boolean
Determines whether or not the specified object is currently a child of thisBeanContext
.boolean
BeanContextSupport.containsKey
(Object o) Determines whether or not the specified object is currently a child of thisBeanContext
.protected BeanContextSupport.BCSChild
BeanContextServicesSupport.createBCSChild
(Object targetChild, Object peer) Subclasses can override this method to insert their own subclass of Child without having to override add() or the other Collection methods that add children to the set.protected BeanContextSupport.BCSChild
BeanContextSupport.createBCSChild
(Object targetChild, Object peer) Subclasses can override this method to insert their own subclass of Child without having to override add() or the other Collection methods that add children to the set.void
BeanContextChildSupport.firePropertyChange
(String name, Object oldValue, Object newValue) Report a bound property update to any registered listeners.void
BeanContextChildSupport.fireVetoableChange
(String name, Object oldValue, Object newValue) Report a vetoable property update to any registered listeners.protected static final BeanContextChild
BeanContextSupport.getChildBeanContextChild
(Object child) Gets the BeanContextChild (if any) of the specified childprotected static final BeanContextMembershipListener
BeanContextSupport.getChildBeanContextMembershipListener
(Object child) Gets the BeanContextMembershipListener (if any) of the specified childprotected static final BeanContextServicesListener
BeanContextServicesSupport.getChildBeanContextServicesListener
(Object child) Gets theBeanContextServicesListener
(if any) of the specified child.protected static final PropertyChangeListener
BeanContextSupport.getChildPropertyChangeListener
(Object child) Gets the PropertyChangeListener (if any) of the specified childprotected static final Serializable
BeanContextSupport.getChildSerializable
(Object child) Gets the Serializable (if any) associated with the specified Childprotected static final VetoableChangeListener
BeanContextSupport.getChildVetoableChangeListener
(Object child) Gets the VetoableChangeListener (if any) of the specified childprotected static final Visibility
BeanContextSupport.getChildVisibility
(Object child) Gets the Component (if any) associated with the specified child.BeanContextServiceProvider.getService
(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) Invoked byBeanContextServices
, this method requests an instance of a service from thisBeanContextServiceProvider
.BeanContextServices.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) ABeanContextChild
, or any arbitrary object associated with aBeanContextChild
, may obtain a reference to a currently registered service from its nestingBeanContextServices
via invocation of this method.BeanContextServicesSupport.BCSSProxyServiceProvider.getService
(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector) BeanContextServicesSupport.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) obtain a service which may be delegatedvoid
BeanContextServiceProvider.releaseService
(BeanContextServices bcs, Object requestor, Object service) Invoked byBeanContextServices
, this method releases a nestedBeanContextChild
's (or any arbitrary object associated with aBeanContextChild
) reference to the specified service.void
BeanContextServices.releaseService
(BeanContextChild child, Object requestor, Object service) Releases aBeanContextChild
's (or any arbitrary object associated with a BeanContextChild) reference to the specified service by calling releaseService() on the underlyingBeanContextServiceProvider
.void
BeanContextServicesSupport.BCSSProxyServiceProvider.releaseService
(BeanContextServices bcs, Object requestor, Object service) void
BeanContextServicesSupport.releaseService
(BeanContextChild child, Object requestor, Object service) release a serviceboolean
Removes a child from this BeanContext.protected boolean
internal remove used when removal caused by unexpectedsetBeanContext
or byremove()
invocation.Object[]
Gets an array containing all children of thisBeanContext
that match the types contained in arry.protected boolean
BeanContextSupport.validatePendingAdd
(Object targetChild) Subclasses of this class may override, or envelope, this method to add validation behavior for the BeanContext to examine child objects immediately prior to their being added to the BeanContext.protected boolean
BeanContextSupport.validatePendingRemove
(Object targetChild) Subclasses of this class may override, or envelope, this method to add validation behavior for the BeanContext to examine child objects immediately prior to their being removed from the BeanContext.ModifierConstructorDescriptionBeanContextMembershipEvent
(BeanContext bc, Object[] changes) Contruct a BeanContextMembershipEvent -
Uses of Object in java.io
Modifier and TypeClassDescriptionclass
ABufferedInputStream
adds functionality to another input stream-namely, the ability to buffer the input and to support themark
andreset
methods.class
The class implements a buffered output stream.class
Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.class
Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.class
AByteArrayInputStream
contains an internal buffer that contains bytes that may be read from the stream.class
This class implements an output stream in which the data is written into a byte array.class
This class implements a character buffer that can be used as a character-input stream.class
This class implements a character buffer that can be used as an Writer.class
Base class for character conversion exceptions.final class
Methods to access the character-based console device, if any, associated with the current Java virtual machine.class
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.class
A data output stream lets an application write primitive Java data types to an output stream in a portable way.class
Signals that an end of file or end of stream has been reached unexpectedly during input.class
An abstract representation of file and directory pathnames.final class
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
AFileInputStream
obtains input bytes from a file in a file system.class
Signals that an attempt to open the file denoted by a specified pathname has failed.class
A file output stream is an output stream for writing data to aFile
or to aFileDescriptor
.final class
This class represents access to a file or directory.class
Reads text from character files using a default buffer size.class
Writes text to character files using a default buffer size.class
AFilterInputStream
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
This class is the superclass of all classes that filter output streams.class
Abstract class for reading filtered character streams.class
Abstract class for writing filtered character streams.class
This abstract class is the superclass of all classes representing an input stream of bytes.class
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specifiedcharset
.class
Signals that an I/O operation has been interrupted.class
Thrown when the Serialization runtime detects one of the following problems with a Class.class
Indicates that one or more deserialized objects failed validation tests.class
Thrown when a serious I/O error has occurred.class
Signals that an I/O exception of some sort has occurred.class
Deprecated.This class incorrectly assumes that bytes adequately represent characters.class
A buffered character-input stream that keeps track of line numbers.class
Thrown when serialization or deserialization is not active.class
Thrown when an instance is required to have a Serializable interface.static final class
A utility class to set and get the JVM-wide deserialization filter factory, the static JVM-wide filter, or to create a filter from a pattern string.class
An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.static class
Provide access to the persistent fields read from the input stream.class
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.static class
Provide programmatic access to the persistent fields to be written to ObjectOutput.class
Serialization's descriptor for classes.class
Superclass of all exceptions specific to Object Stream classes.class
A description of a Serializable field from a Serializable class.class
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
This abstract class is the superclass of all classes representing an output stream of bytes.class
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specifiedcharset
.class
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
A piped output stream can be connected to a piped input stream to create a communications pipe.class
Piped character-input streams.class
Piped character-output streams.class
APrintStream
adds functionality to another output stream, namely the ability to print representations of various data values conveniently.class
Prints formatted representations of objects to a text-output stream.class
APushbackInputStream
adds functionality to another input stream, namely the ability to "push back" or "unread" bytes, by storing pushed-back bytes in an internal buffer.class
A character-stream reader that allows characters to be pushed back into the stream.class
Instances of this class support both reading and writing to a random access file.class
Abstract class for reading character streams.class
ASequenceInputStream
represents the logical concatenation of other input streams.final class
This class is for Serializable permissions.class
Thrown when control information that was read from an object stream violates internal consistency checks.class
TheStreamTokenizer
class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.class
Deprecated.This class does not properly convert characters into bytes.class
A character stream whose source is a string.class
A character stream that collects its output in a string buffer, which can then be used to construct a string.class
Signals that a sync operation has failed.class
Wraps anIOException
with an unchecked exception.class
The Character Encoding is not supported.class
Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface.class
Signals that one of the ObjectStreamExceptions was thrown during a write operation.class
Abstract class for writing to character streams.Modifier and TypeFieldDescriptionprotected Object
Reader.lock
The object used to synchronize operations on this stream.protected Object
Writer.lock
The object used to synchronize operations on this stream.Modifier and TypeMethodDescriptionabstract Object
Get the value of the named Object field from the persistent field.ObjectInput.readObject()
Read and return an object.final Object
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.protected Object
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectInputStream that constructed ObjectInputStream using the protected no-arg constructor.ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.protected Object
ObjectOutputStream.replaceObject
(Object obj) This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.protected Object
ObjectInputStream.resolveObject
(Object obj) This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization.Modifier and TypeMethodDescriptionint
Compare this field with anotherObjectStreamField
.boolean
Tests this abstract pathname for equality with the given object.boolean
Checks two FilePermission objects for equality.Writes a formatted string to this console's output stream using the specified format string and arguments.Writes a formatted string to this output stream using the specified format string and arguments.Writes a formatted string to this output stream using the specified format string and arguments.Writes a formatted string to this writer using the specified format string and arguments.Writes a formatted string to this writer using the specified format string and arguments.abstract Object
Get the value of the named Object field from the persistent field.void
Prints an object.void
Prints an object.A convenience method to write a formatted string to this console's output stream using the specified format string and arguments.A convenience method to write a formatted string to this output stream using the specified format string and arguments.A convenience method to write a formatted string to this output stream using the specified format string and arguments.A convenience method to write a formatted string to this writer using the specified format string and arguments.A convenience method to write a formatted string to this writer using the specified format string and arguments.void
Prints an Object and then terminate the line.void
Prints an Object and then terminates the line.abstract void
Put the value of the named Object field into the persistent field.Provides a formatted prompt, then reads a single line of text from the console.char[]
Console.readPassword
(String fmt, Object... args) Provides a formatted prompt, then reads a password or passphrase from the console with echoing disabled.protected Object
ObjectOutputStream.replaceObject
(Object obj) This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.protected Object
ObjectInputStream.resolveObject
(Object obj) This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization.void
ObjectOutput.writeObject
(Object obj) Write an object to the underlying storage or stream.final 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. -
Uses of Object in java.lang
Modifier and TypeClassDescriptionclass
Thrown when an application tries to call an abstract method.class
Thrown when an exceptional arithmetic condition has occurred.class
Thrown to indicate that an array has been accessed with an illegal index.class
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.class
Thrown to indicate that an assertion has failed.final class
The Boolean class wraps a value of the primitive typeboolean
in an object.class
Thrown to indicate that aninvokedynamic
instruction or a dynamic constant failed to resolve its bootstrap method and arguments, or forinvokedynamic
instruction the bootstrap method has failed to provide a call site with a target of the correct method type, or for a dynamic constant the bootstrap method has failed to provide a constant value of the required type.final class
TheByte
class wraps a value of primitive typebyte
in an object.final class
TheCharacter
class wraps a value of the primitive typechar
in an object.static class
Instances of this class represent particular subsets of the Unicode character set.static final class
A family of character subsets representing the character blocks in the Unicode specification.final class
Class<T>
Instances of the classClass
represent classes and interfaces in a running Java application.class
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.class
Thrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a class being loaded.class
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
A class loader is an object that is responsible for loading classes.class
Thrown when an application tries to load in a class through its string name using: TheforName
method in classClass
.class
ClassValue<T>
Lazily associate a computed value with (potentially) every type.class
Thrown to indicate that theclone
method in classObject
has been called to clone an object, but that the object's class does not implement theCloneable
interface.final class
Deprecated, for removal: This API element is subject to removal in a future version.JIT compilers and their technologies vary too widely to be controlled effectively by a standardized interface.final class
TheDouble
class wraps a value of the primitive typedouble
in an object.class
This is the common base class of all Java language enumeration classes.static final class
Enum.EnumDesc<E extends Enum<E>>
A nominal descriptor for anenum
constant.class
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.class
AnError
is a subclass ofThrowable
that indicates serious problems that a reasonable application should not try to catch.class
The classException
and its subclasses are a form ofThrowable
that indicates conditions that a reasonable application might want to catch.class
Signals that an unexpected exception has occurred in a static initializer.final class
TheFloat
class wraps a value of primitive typefloat
in an object.class
Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.class
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
Thrown to indicate that a method has been passed an illegal or inappropriate argument.class
Thrown to indicate that a method has been called by an inappropriate caller.class
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
Signals that a method has been invoked at an illegal or inappropriate time.class
Thrown to indicate that a thread is not in an appropriate state for the requested operation.class
Thrown when an incompatible class change has occurred to some class definition.class
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
This class extendsThreadLocal
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
Thrown when an application tries to use the Javanew
construct to instantiate an abstract class or an interface.class
Thrown when an application tries to create an instance of a class using thenewInstance
method in classClass
, but the specified class object cannot be instantiated.final class
TheInteger
class wraps a value of the primitive typeint
in an object.class
Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.class
Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.class
Thrown when creating a module layer fails.class
Subclasses ofLinkageError
indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.final class
TheLong
class wraps a value of the primitive typelong
in an object.final class
The classMath
contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.final class
Represents a run-time module, eithernamed
or unnamed.final class
A layer of modules in the Java virtual machine.static final class
Controls a module layer.class
Thrown if an application tries to create an array with negative size.class
Thrown if the Java Virtual Machine or aClassLoader
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 thenew
expression) and no definition of the class could be found.class
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.class
Signals that the class doesn't have a field of a specified name.class
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
Thrown when a particular method cannot be found.class
Thrown when an application attempts to usenull
in a case where an object is required.class
The abstract classNumber
is the superclass of platform classes representing numeric values that are convertible to the primitive typesbyte
,double
,float
,int
,long
, andshort
.class
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
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
Represents metadata about a run-time package associated with a class loader.class
Process
provides control of native processes started by ProcessBuilder.start and Runtime.exec.final class
This class is used to create operating system processes.static class
Represents a source of subprocess input or a destination of subprocess output.class
This is the common base class of all Java language record classes.class
Common superclass of exceptions thrown by reflective operations in core reflection.class
Every Java application has a single instance of classRuntime
that allows the application to interface with the environment in which the application is running.static final class
A representation of a version string for an implementation of the Java SE Platform.class
RuntimeException
is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.final class
This class is for runtime permissions.class
Thrown by the security manager to indicate a security violation.class
Deprecated, for removal: This API element is subject to removal in a future version.The Security Manager is deprecated and subject to removal in a future release.final class
TheShort
class wraps a value of primitive typeshort
in an object.class
Thrown when a stack overflow occurs because an application recurses too deeply.final class
An element in a stack trace, as returned byThrowable.getStackTrace()
.final class
A stack walker.final class
The classStrictMath
contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.final class
TheString
class represents character strings.final class
A thread-safe, mutable sequence of characters.final class
A mutable sequence of characters.class
Thrown byString
methods to indicate that an index is either negative or greater than the size of the string.final class
TheSystem
class contains several useful class fields and methods.static class
TheLoggerFinder
service is responsible for creating, managing, and configuring loggers to the underlying framework it uses.class
A thread is a thread of execution in a program.class
An instance ofThreadDeath
is thrown in the victim thread when the (deprecated)Thread.stop()
method is invoked.class
A thread group represents a set of threads.class
ThreadLocal<T>
This class provides thread-local variables.class
TheThrowable
class is the superclass of all errors and exceptions in the Java language.class
Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found.class
Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.class
Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declarednative
.class
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
Thrown to indicate that the requested operation is not supported.class
Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.class
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.final class
TheVoid
class is an uninstantiable placeholder class to hold a reference to theClass
object representing the Java keyword void.Modifier and TypeMethodDescriptionprotected final Object
Enum.clone()
Throws CloneNotSupportedException.protected Object
Object.clone()
Creates and returns a copy of this object.protected Object
Thread.clone()
Throws CloneNotSupportedException as a Thread can not be meaningfully cloned.static Object
Deprecated, for removal: This API element is subject to removal in a future version.Examines the argument type and its fields and perform some documented operation.protected Object
ClassLoader.getClassLoadingLock
(String className) Returns the lock object for class loading operations.T[]
Class.getEnumConstants()
Returns the elements of this enum class or null if this Class object does not represent an enum class.SecurityManager.getSecurityContext()
Deprecated, for removal: This API element is subject to removal in a future version.Creates an object that encapsulates the current execution environment.Object[]
Class.getSigners()
Gets the signers of this class.Modifier and TypeMethodDescriptionstatic void
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.Casts an object to the class or interface represented by thisClass
object.void
SecurityManager.checkConnect
(String host, int port, Object context) Deprecated, for removal: This API element is subject to removal in a future version.Throws aSecurityException
if the specified security context is not allowed to open a socket connection to the specified host and port number.void
SecurityManager.checkPermission
(Permission perm, Object context) Deprecated, for removal: This API element is subject to removal in a future version.Throws aSecurityException
if the specified security context is denied access to the resource specified by the given permission.void
Deprecated, for removal: This API element is subject to removal in a future version.Throws aSecurityException
if the specified security context is not allowed to read the file specified by the string argument.static Object
Deprecated, for removal: This API element is subject to removal in a future version.Examines the argument type and its fields and perform some documented operation.boolean
Returnstrue
if and only if the argument is notnull
and is aBoolean
object that represents the sameboolean
value as this object.boolean
Compares this object to the specified object.boolean
Compares this object against the specified object.final boolean
Compares twoSubset
objects for equality.boolean
Compares this object against the specified object.final boolean
Returns true if the specified object is equal to this enum constant.boolean
Compares this object against the specified object.boolean
Compares this object to the specified object.boolean
Compares this object to the specified object.boolean
Indicates whether some other object is "equal to" this one.boolean
Compares the specified object with thisRedirect
for equality.boolean
Returnstrue
ifother
object is non-null, is of the same implementation, and represents the same system process; otherwise it returnsfalse
.abstract boolean
Indicates whether some other object is "equal to" this one.boolean
Determines whether thisVersion
is equal to another object.boolean
Compares this object to the specified object.boolean
Returns true if the specified object is anotherStackTraceElement
instance representing the same execution point as this instance.boolean
Compares this string to the specified object.boolean
Runtime.Version.equalsIgnoreOptional
(Object obj) Determines whether thisVersion
is equal to another disregarding optional build information.static String
Returns a formatted string using the specified format string and arguments.static String
Returns a formatted string using the specified locale, format string, and arguments.Formats using this string as the format string, and the supplied arguments.static boolean
Returnstrue
if and only if the current thread holds the monitor lock on the specified object.static int
System.identityHashCode
(Object x) Returns the same hash code for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().boolean
Class.isInstance
(Object obj) Determines if the specifiedObject
is assignment-compatible with the object represented by thisClass
.default void
System.Logger.log
(System.Logger.Level level, Object obj) Logs a message produced from the given object.default void
System.Logger.log
(System.Logger.Level level, String format, Object... params) Logs a message with an optional list of parameters.void
System.Logger.log
(System.Logger.Level level, ResourceBundle bundle, String format, Object... params) Logs a message with resource bundle and an optional list of parameters.protected final void
ClassLoader.setSigners
(Class<?> c, Object[] signers) Sets the signers of a class.static String
Returns the string representation of theObject
argument.ModifierConstructorDescriptionAssertionError
(Object detailMessage) Constructs an AssertionError with its detail message derived from the specified object, which is converted to a string as defined in section 5.1.11 of The Java Language Specification. -
Uses of Object in java.lang.annotation
Modifier and TypeClassDescriptionclass
Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed.class
Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized).class
Thrown to indicate that a program has attempted to access an element of an annotation interface that was added to the annotation interface definition after the annotation was compiled (or serialized). -
Uses of Object in java.lang.constant
Modifier and TypeClassDescriptionfinal class
Predefined values of nominal descriptor for common constants, including descriptors for primitive class types and other common platform types, and descriptors for method handles for standard bootstrap methods.class
A nominal descriptor for aninvokedynamic
call site.class
A nominal descriptor for a dynamic constant (one described in the constant pool withConstant_Dynamic_info
.)Modifier and TypeMethodDescriptionConstantDesc.resolveConstantDesc
(MethodHandles.Lookup lookup) Resolves this descriptor reflectively, emulating the resolution behavior of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4.Modifier and TypeMethodDescriptionboolean
Compare the specified object with this descriptor for equality.final boolean
Compares the specified object with this descriptor for equality.final boolean
Compares the specified object with this descriptor for equality.boolean
Compares the specified object with this descriptor for equality.boolean
Compares the specified object with this descriptor for equality. -
Uses of Object in java.lang.instrument
Modifier and TypeClassDescriptionfinal class
This class serves as a parameter block to theInstrumentation.redefineClasses
method.class
Thrown by an implementation ofClassFileTransformer.transform
when its input parameters are invalid.class
Thrown by an implementation ofInstrumentation.redefineClasses
when one of the specified classes cannot be modified.class
Thrown to indicate that a module cannot be modified.Modifier and TypeMethodDescriptionlong
Instrumentation.getObjectSize
(Object objectToSize) Returns an implementation-specific approximation of the amount of storage consumed by the specified object. -
Uses of Object in java.lang.invoke
Modifier and TypeClassDescriptionclass
final class
Bootstrap methods for dynamically-computed constants.class
AConstantCallSite
is aCallSite
whose target is permanent, and can never be changed.class
LambdaConversionExceptionfinal class
Methods to facilitate the creation of simple "function objects" that implement one or more interfaces by delegation to a providedMethodHandle
, possibly after type adaptation and partial evaluation of arguments.class
A method handle is a typed, directly executable reference to an underlying method, constructor, field, or similar low-level operation, with optional transformations of arguments or return values.class
This class consists exclusively of static methods that help adapt method handles to other JVM types, such as interfaces.class
This class consists exclusively of static methods that operate on or return method handles.static final class
A lookup object is a factory for creating method handles, when the creation requires access checking.final class
A method type represents the arguments and return type accepted and returned by a method handle, or the arguments and return type passed and expected by a method handle caller.class
AMutableCallSite
is aCallSite
whose target variable behaves like an ordinary field.final class
Serialized form of a lambda expression.class
StringConcatException is thrown byStringConcatFactory
when linkage invariants are violated.final class
Methods to facilitate the creation of String concatenation methods, that can be used to efficiently concatenate a known number of arguments of known types, possibly after type adaptation and partial evaluation of arguments.class
ASwitchPoint
is an object which can publish state transitions to other threads.class
A VarHandle is a dynamically strongly typed reference to a variable, or to a parametrically-defined family of variables, including static fields, non-static fields, array elements, or components of an off-heap data structure.static final class
A nominal descriptor for aVarHandle
constant.class
AVolatileCallSite
is aCallSite
whose target acts like a volatile variable.class
Thrown to indicate that code has attempted to call a method handle via the wrong method type.Modifier and TypeMethodDescriptionfinal Object
VarHandle.compareAndExchange
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.compareAndExchangeAcquire
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.set(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.compareAndExchangeRelease
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.static Object
ConstantBootstraps.explicitCast
(MethodHandles.Lookup lookup, String name, Class<?> dstType, Object value) Applies a conversion from a source type to a destination type.final Object
Returns the value of a variable, with memory semantics of reading as if the variable was declared non-volatile
.final Object
VarHandle.getAcquire
(Object... args) Returns the value of a variable, and ensures that subsequent loads and stores are not reordered before this access.final Object
Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndAddAcquire
(Object... args) Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.set(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndAddRelease
(Object... args) Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAnd
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAndAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAndRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOr
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOrAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOrRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXor
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXorAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXorRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndSetAcquire
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndSetRelease
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.SerializedLambda.getCapturedArg
(int i) Get a dynamic argument to the lambda capture site.final Object
Returns the value of a variable, accessed in program order, but with no assurance of memory ordering effects with respect to other threads.static Object
ConstantBootstraps.getStaticFinal
(MethodHandles.Lookup lookup, String name, Class<?> type) Returns the value of a static final field declared in the class which is the same as the field's type (or, for primitive-valued fields, declared in the wrapper class.)static Object
ConstantBootstraps.getStaticFinal
(MethodHandles.Lookup lookup, String name, Class<?> type, Class<?> declaringClass) Returns the value of a static final field.final Object
VarHandle.getVolatile
(Object... args) Returns the value of a variable, with memory semantics of reading as if the variable was declaredvolatile
.static Object
ConstantBootstraps.invoke
(MethodHandles.Lookup lookup, String name, Class<?> type, MethodHandle handle, Object... args) Returns the result of invoking a method handle with the provided arguments.final Object
Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.final Object
MethodHandle.invokeExact
(Object... args) Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.MethodHandle.invokeWithArguments
(Object... arguments) Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexactinvoke
from a call site which mentions only the typeObject
, and whose actual argument count is the length of the argument array.MethodHandle.invokeWithArguments
(List<?> arguments) Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexactinvoke
from a call site which mentions only the typeObject
, and whose actual argument count is the length of the argument list.static Object
ConstantBootstraps.nullConstant
(MethodHandles.Lookup lookup, String name, Class<?> type) Returns anull
object reference for the reference type specified bytype
.Modifier and TypeMethodDescriptionstatic CallSite
LambdaMetafactory.altMetafactory
(MethodHandles.Lookup caller, String interfaceMethodName, MethodType factoryType, Object... args) Facilitates the creation of simple "function objects" that implement one or more interfaces by delegation to a providedMethodHandle
, after appropriate type adaptation and partial evaluation of arguments.MethodHandles.Lookup.bind
(Object receiver, String name, MethodType type) Produces an early-bound method handle for a non-static method.Binds a valuex
to the first argument of a method handle, without invoking it.final Object
VarHandle.compareAndExchange
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.compareAndExchangeAcquire
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.set(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.compareAndExchangeRelease
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final boolean
VarHandle.compareAndSet
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.static MethodHandle
Produces a method handle of the requested return type which returns the given constant value every time it is invoked.MethodHandles.Lookup.defineHiddenClassWithClassData
(byte[] bytes, Object classData, boolean initialize, MethodHandles.Lookup.ClassOption... options) Creates a hidden class or interface frombytes
with associated class data, returning aLookup
on the newly created class or interface.boolean
Compares the specified object with this type for equality.static Object
ConstantBootstraps.explicitCast
(MethodHandles.Lookup lookup, String name, Class<?> dstType, Object value) Applies a conversion from a source type to a destination type.final Object
Returns the value of a variable, with memory semantics of reading as if the variable was declared non-volatile
.final Object
VarHandle.getAcquire
(Object... args) Returns the value of a variable, and ensures that subsequent loads and stores are not reordered before this access.final Object
Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndAddAcquire
(Object... args) Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.set(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndAddRelease
(Object... args) Atomically adds thevalue
to the current value of a variable with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
, and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAnd
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAndAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseAndRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOr
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOrAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseOrRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXor
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXorAcquire
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndBitwiseXorRelease
(Object... args) Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and themask
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final Object
VarHandle.getAndSetAcquire
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.set(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final Object
VarHandle.getAndSetRelease
(Object... args) Atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setRelease(java.lang.Object...)
and returns the variable's previous value, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final Object
Returns the value of a variable, accessed in program order, but with no assurance of memory ordering effects with respect to other threads.final Object
VarHandle.getVolatile
(Object... args) Returns the value of a variable, with memory semantics of reading as if the variable was declaredvolatile
.static MethodHandle
MethodHandles.insertArguments
(MethodHandle target, int pos, Object... values) Provides a target method handle with one or more bound arguments in advance of the method handle's invocation.static Object
ConstantBootstraps.invoke
(MethodHandles.Lookup lookup, String name, Class<?> type, MethodHandle handle, Object... args) Returns the result of invoking a method handle with the provided arguments.final Object
Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.final Object
MethodHandle.invokeExact
(Object... args) Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.MethodHandle.invokeWithArguments
(Object... arguments) Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexactinvoke
from a call site which mentions only the typeObject
, and whose actual argument count is the length of the argument array.static boolean
MethodHandleProxies.isWrapperInstance
(Object x) Determines if the given object was produced by a call toasInterfaceInstance
.static CallSite
StringConcatFactory.makeConcatWithConstants
(MethodHandles.Lookup lookup, String name, MethodType concatType, String recipe, Object... constants) Facilitates the creation of optimized String concatenation methods, that can be used to efficiently concatenate a known number of arguments of known types, possibly after type adaptation and partial evaluation of arguments.final void
Sets the value of a variable to thenewValue
, with memory semantics of setting as if the variable was declared non-volatile
and non-final
.final void
Sets the value of a variable to thenewValue
, in program order, but with no assurance of memory ordering effects with respect to other threads.final void
VarHandle.setRelease
(Object... args) Sets the value of a variable to thenewValue
, and ensures that prior loads and stores are not reordered after this access.final void
VarHandle.setVolatile
(Object... args) Sets the value of a variable to thenewValue
, with memory semantics of setting as if the variable was declaredvolatile
.final boolean
VarHandle.weakCompareAndSet
(Object... args) Possibly atomically sets the value of a variable to thenewValue
with the memory semantics ofVarHandle.setVolatile(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getVolatile(java.lang.Object...)
.final boolean
VarHandle.weakCompareAndSetAcquire
(Object... args) Possibly atomically sets the value of a variable to thenewValue
with the semantics ofVarHandle.set(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.getAcquire(java.lang.Object...)
.final boolean
VarHandle.weakCompareAndSetPlain
(Object... args) Possibly atomically sets the value of a variable to thenewValue
with the semantics ofVarHandle.set(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.final boolean
VarHandle.weakCompareAndSetRelease
(Object... args) Possibly atomically sets the value of a variable to thenewValue
with the semantics ofVarHandle.setRelease(java.lang.Object...)
if the variable's current value, referred to as the witness value,==
theexpectedValue
, as accessed with the memory semantics ofVarHandle.get(java.lang.Object...)
.static MethodHandle
MethodHandleProxies.wrapperInstanceTarget
(Object x) Produces or recovers a target method handle which is behaviorally equivalent to the unique method of this wrapper instance.static Class<?>
MethodHandleProxies.wrapperInstanceType
(Object x) Recovers the unique single-method interface type for which this wrapper instance was created.ModifierConstructorDescriptionSerializedLambda
(Class<?> capturingClass, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, int implMethodKind, String implClass, String implMethodName, String implMethodSignature, String instantiatedMethodType, Object[] capturedArgs) Create aSerializedLambda
from the low-level information present at the lambda factory site. -
Uses of Object in java.lang.management
Modifier and TypeClassDescriptionclass
Information about a lock.class
TheManagementFactory
class is a factory class for getting managed beans for the Java platform.final class
The permission which the SecurityManager will check when code that is running with a SecurityManager calls methods defined in the management interface for the Java platform.class
The information about a memory notification.class
AMemoryUsage
object represents a snapshot of memory usage.class
Information about an object monitor lock.class
Thread information. -
Uses of Object in java.lang.module
Modifier and TypeClassDescriptionfinal class
A configuration that is the result of resolution or resolution with service binding.class
Thrown by aModuleFinder
when an error occurs finding a module.class
Thrown when reading a module descriptor and the module descriptor is found to be malformed or otherwise cannot be interpreted as a module descriptor.class
A module descriptor.static final class
A builder for buildingModuleDescriptor
objects.static final class
A package exported by a module, may be qualified or unqualified.static final class
A package opened by a module, may be qualified or unqualified.static final class
A service that a module provides one or more implementations of.static final class
A dependence upon a module.static final class
A module's version string.class
A reference to a module's content.class
Thrown when resolving a set of modules, or resolving a set of modules with service binding, fails.final class
A module in a graph of resolved modules.Modifier and TypeMethodDescriptionboolean
Tests this module descriptor for equality with the given object.boolean
Tests this module export for equality with the given object.boolean
Tests this moduleOpens
for equality with the given object.boolean
Tests thisProvides
for equality with the given object.boolean
Tests this module dependence for equality with the given object.boolean
Tests this module version for equality with the given object.boolean
Tests this resolved module for equality with the given object. -
Uses of Object in java.lang.ref
Modifier and TypeClassDescriptionfinal class
Cleaner
manages a set of object references and corresponding cleaning actions.class
Phantom reference objects, which are enqueued after the collector determines that their referents may otherwise be reclaimed.class
Reference<T>
Abstract base class for reference objects.class
Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.class
Soft reference objects, which are cleared at the discretion of the garbage collector in response to memory demand.class
Weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed.Modifier and TypeMethodDescriptionprotected Object
Reference.clone()
ThrowsCloneNotSupportedException
.Modifier and TypeMethodDescriptionstatic void
Reference.reachabilityFence
(Object ref) Ensures that the object referenced by the given reference remains strongly reachable, regardless of any prior actions of the program that might otherwise cause the object to become unreachable; thus, the referenced object is not reclaimable by garbage collection at least until after the invocation of this method.Registers an object and a cleaning action to run when the object becomes phantom reachable. -
Uses of Object in java.lang.reflect
Modifier and TypeClassDescriptionclass
TheAccessibleObject
class is the base class forField
,Method
, andConstructor
objects (known as reflected objects).final class
TheArray
class provides static methods to dynamically create and access Java arrays.final class
Constructor<T>
Constructor
provides information about, and access to, a single constructor for a class.class
A shared superclass for the common functionality ofMethod
andConstructor
.final class
AField
provides information about, and dynamic access to, a single field of a class or an interface.class
Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a class or interface, method or constructor.class
Thrown when Java language access checks cannot be suppressed.class
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.class
Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.class
Thrown whenthe java.lang.reflect package
attempts to read method parameters from a class file and determines that one or more parameters are malformed.final class
AMethod
provides information about, and access to, a single method on a class or interface.class
The Modifier class providesstatic
methods and constants to decode class and member access modifiers.final class
Information about method parameters.class
Proxy
provides static methods for creating objects that act like instances of interfaces but allow for customized method invocation.final class
ARecordComponent
provides information about, and dynamic access to, a component of a record class.final class
The Permission class for reflective operations.class
Thrown by a method invocation on a proxy instance if its invocation handler'sinvoke
method throws a checked exception (aThrowable
that is not assignable toRuntimeException
orError
) that is not assignable to any of the exception types declared in thethrows
clause of the method that was invoked on the proxy instance and dispatched to the invocation handler.Modifier and TypeMethodDescriptionstatic Object
Returns the value of the indexed component in the specified array object.Returns the value of the field represented by thisField
, on the specified object.Method.getDefaultValue()
Returns the default value for the annotation member represented by thisMethod
instance.Processes a method invocation on a proxy instance and returns the result.Invokes the underlying method represented by thisMethod
object, on the specified object with the specified parameters.static Object
InvocationHandler.invokeDefault
(Object proxy, Method method, Object... args) Invokes the specified default method on the givenproxy
instance with the given 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
Proxy.newProxyInstance
(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h) Returns a proxy instance for the specified interfaces that dispatches method invocations to the specified invocation handler.Modifier and TypeMethodDescriptionfinal boolean
Test if the caller can access this reflected object.boolean
Compares thisConstructor
against the specified object.boolean
Compares thisField
against the specified object.boolean
Compares thisMethod
against the specified object.boolean
Compares based on the executable and the index.static Object
Returns the value of the indexed component in the specified array object.Returns the value of the field represented by thisField
, on the specified object.static boolean
Array.getBoolean
(Object array, int index) Returns the value of the indexed component in the specified array object, as aboolean
.boolean
Field.getBoolean
(Object obj) Gets the value of a static or instanceboolean
field.static byte
Returns the value of the indexed component in the specified array object, as abyte
.byte
Gets the value of a static or instancebyte
field.static char
Returns the value of the indexed component in the specified array object, as achar
.char
Gets the value of a static or instance field of typechar
or of another primitive type convertible to typechar
via a widening conversion.static double
Returns the value of the indexed component in the specified array object, as adouble
.double
Gets the value of a static or instance field of typedouble
or of another primitive type convertible to typedouble
via a widening conversion.static float
Returns the value of the indexed component in the specified array object, as afloat
.float
Gets the value of a static or instance field of typefloat
or of another primitive type convertible to typefloat
via a widening conversion.static int
Returns the value of the indexed component in the specified array object, as anint
.int
Gets the value of a static or instance field of typeint
or of another primitive type convertible to typeint
via a widening conversion.static InvocationHandler
Proxy.getInvocationHandler
(Object proxy) Returns the invocation handler for the specified proxy instance.static int
Returns the length of the specified array object, as anint
.static long
Returns the value of the indexed component in the specified array object, as along
.long
Gets the value of a static or instance field of typelong
or of another primitive type convertible to typelong
via a widening conversion.static short
Returns the value of the indexed component in the specified array object, as ashort
.short
Gets the value of a static or instance field of typeshort
or of another primitive type convertible to typeshort
via a widening conversion.Processes a method invocation on a proxy instance and returns the result.Invokes the underlying method represented by thisMethod
object, on the specified object with the specified parameters.static Object
InvocationHandler.invokeDefault
(Object proxy, Method method, Object... args) Invokes the specified default method on the givenproxy
instance with the given parameters.Constructor.newInstance
(Object... initargs) Uses the constructor represented by thisConstructor
object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.static void
Sets the value of the indexed component of the specified array object to the specified new value.void
Sets the field represented by thisField
object on the specified object argument 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 specifiedboolean
value.void
Field.setBoolean
(Object obj, boolean z) Sets the value of a field as aboolean
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedbyte
value.void
Sets the value of a field as abyte
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedchar
value.void
Sets the value of a field as achar
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifieddouble
value.void
Sets the value of a field as adouble
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedfloat
value.void
Sets the value of a field as afloat
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedint
value.void
Sets the value of a field as anint
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedlong
value.void
Sets the value of a field as along
on the specified object.static void
Sets the value of the indexed component of the specified array object to the specifiedshort
value.void
Sets the value of a field as ashort
on the specified object. -
Uses of Object in java.lang.runtime
Modifier and TypeClassDescriptionclass
Bootstrap methods for state-driven implementations of core methods, includingequals(Object)
,hashCode()
, andtoString()
.class
Preview.Bootstrap methods for linkinginvokedynamic
call sites that implement the selection functionality of theswitch
statement.Modifier and TypeMethodDescriptionstatic Object
ObjectMethods.bootstrap
(MethodHandles.Lookup lookup, String methodName, TypeDescriptor type, Class<?> recordClass, String names, MethodHandle... getters) Bootstrap method to generate theequals(Object)
,hashCode()
, andtoString()
methods, based on a description of the component names and accessor methods, for eitherinvokedynamic
call sites or dynamic constant pool entries.Modifier and TypeMethodDescriptionstatic CallSite
SwitchBootstraps.enumSwitch
(MethodHandles.Lookup lookup, String invocationName, MethodType invocationType, Object... labels) Bootstrap method for linking aninvokedynamic
call site that implements aswitch
on a target of an enum type.static CallSite
SwitchBootstraps.typeSwitch
(MethodHandles.Lookup lookup, String invocationName, MethodType invocationType, Object... labels) Bootstrap method for linking aninvokedynamic
call site that implements aswitch
on a target of a reference type. -
Uses of Object in java.math
Modifier and TypeClassDescriptionclass
Immutable, arbitrary-precision signed decimal numbers.class
Immutable arbitrary-precision integers.final class
Immutable objects which encapsulate the context settings which describe certain rules for numerical operators, such as those implemented by theBigDecimal
class.Modifier and TypeMethodDescriptionboolean
Compares thisBigDecimal
with the specifiedObject
for equality.boolean
Compares this BigInteger with the specified Object for equality.boolean
Compares thisMathContext
with the specifiedObject
for equality. -
Uses of Object in java.net
Modifier and TypeClassDescriptionclass
The class Authenticator represents an object that knows how to obtain authentication for a network connection.class
Signals that an error occurred while attempting to bind a socket to a local address and port.class
Represents channels for storing resources in the ResponseCache.class
Represent channels for retrieving resources from the ResponseCache.class
Signals that an error occurred while attempting to connect a socket to a remote address and port.class
The abstract classContentHandler
is the superclass of all classes that read anObject
from aURLConnection
.class
A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy implementation into the HTTP protocol handler.class
CookieManager provides a concrete implementation ofCookieHandler
, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.final class
This class represents a datagram packet.class
This class represents a socket for sending and receiving datagram packets.class
Abstract datagram and multicast socket implementation base class.final class
An HttpCookie object represents an HTTP cookie, which carries state information between server and user agent.class
Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.class
A URLConnection with support for HTTP-specific features.final class
Provides methods to convert internationalized domain names (IDNs) between a normal Unicode representation and an ASCII Compatible Encoding (ACE) representation.final class
This class represents an Internet Protocol version 4 (IPv4) address.final class
This class represents an Internet Protocol version 6 (IPv6) address.class
This class represents an Internet Protocol (IP) address.class
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
This class represents a Network Interface address.class
A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file.class
Thrown to indicate that a malformed URL has occurred.class
AMulticastSocket
is a datagram socket that is convenient for sending and receiving IP multicast datagrams.final class
This class is for various network permissions.final class
This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface.class
Signals that an error occurred while attempting to connect a socket to a remote address and port.final class
The class PasswordAuthentication is a data holder that is used by Authenticator.class
Signals that an ICMP Port Unreachable message has been received on a connected datagram.class
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.class
This class represents a proxy setting, typically a type (http, socks) and a socket address.class
Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL.class
Represents implementations of URLConnection caches.class
Represents a cache response originally retrieved through secure means, such as TLS.class
This class implements server sockets.class
This class implements client sockets (also called just "sockets").class
This class represents a Socket Address with no protocol attachment.class
Thrown to indicate that there is an error creating or accessing a Socket.class
The abstract classSocketImpl
is a common superclass of all classes that actually implement sockets.final class
This class represents access to a network via sockets.class
Signals that a timeout has occurred on a socket read or accept.final class
Defines the standard socket options.final class
A Unix domain socket address.class
Thrown to indicate that the IP address of a host could not be determined.class
Thrown to indicate that an unknown service exception has occurred.final class
Represents a Uniform Resource Identifier (URI) reference.class
Checked exception thrown to indicate that a string could not be parsed as a URI reference.final class
ClassURL
represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.class
This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.class
The abstract classURLConnection
is the superclass of all classes that represent a communications link between the application and a URL.class
Utility class for HTML form decoding.class
Utility class for HTML form encoding.final class
Represents permission to access a resource or set of resources defined by a given url, and for a given set of user-settable request methods and request headers.class
The abstract classURLStreamHandler
is the common superclass for all stream protocol handlers.Modifier and TypeMethodDescriptionHttpCookie.clone()
Create and return a copy of this object.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.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.final Object
URL.getContent()
Gets the contents of this URL.final Object
URL.getContent
(Class<?>[] classes) Gets the contents of this URL.URLConnection.getContent()
Retrieves the contents of this URL connection.URLConnection.getContent
(Class<?>[] classes) Retrieves the contents of this URL connection.SocketOptions.getOption
(int optID) Fetch the value of an option.Modifier and TypeMethodDescriptionboolean
Test the equality of two HTTP cookies.boolean
Compares this object against the specified object.boolean
Compares this object against the specified object.boolean
Compares this object against the specified object.final boolean
Compares this object against the specified object.boolean
Compares this object against the specified object.boolean
Compares this object against the specified object.final boolean
Compares this object against the specified object.boolean
Checks two SocketPermission objects for equality.boolean
Compares this address with another object.boolean
Tests this URI for equality with another object.boolean
Compares this URL for equality with another object.boolean
Returns true if, this.getActions().equals(p.getActions()) and p's url equals this's url.void
Enable/disable the option specified by optID. -
Uses of Object in java.net.http
Modifier and TypeClassDescriptionclass
An HTTP Client.class
Thrown when a connection, over which anHttpRequest
is intended to be sent, is not successfully established within a specified time period.final class
A read-only view of a set of HTTP headers.class
An HTTP request.static class
Implementations ofBodyPublisher
that implement various useful publishers, such as publishing the request body from a String, or from a file.static class
Implementations ofBodyHandler
that implement various useful handlers, such as handling the response body as a String, or streaming the response body to a file.static class
Implementations ofBodySubscriber
that implement various useful subscribers, such as converting the response body bytes into a String, or streaming the bytes to a file.class
Thrown when a response is not received within a specified time period.final class
Thrown when the opening handshake has failed. -
Uses of Object in java.net.spi
Modifier and TypeClassDescriptionclass
URL stream handler service-provider class. -
Uses of Object in java.nio
Modifier and TypeClassDescriptionclass
A container for data of a specific primitive type.class
Unchecked exception thrown when a relative put operation reaches the target buffer's limit.class
Unchecked exception thrown when a relative get operation reaches the source buffer's limit.class
A byte buffer.final class
A typesafe enumeration for byte orders.class
A char buffer.class
A double buffer.class
A float buffer.class
An int buffer.class
Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.class
A long buffer.class
A direct byte buffer whose content is a memory-mapped region of a file.class
Unchecked exception thrown when a content-mutation method such asput
orcompact
is invoked upon a read-only buffer.class
A short buffer.Modifier and TypeMethodDescriptionabstract Object
Buffer.array()
Returns the array that backs this buffer (optional operation).Modifier and TypeMethodDescriptionboolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object.boolean
Tells whether or not this buffer is equal to another object. -
Uses of Object in java.nio.channels
Modifier and TypeClassDescriptionclass
Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.class
Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.class
Unchecked exception thrown when an attempt is made to connect aSocketChannel
that is already connected.class
A grouping of asynchronous channels for the purpose of resource sharing.class
Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.class
An asynchronous channel for reading, writing, and manipulating a file.class
An asynchronous channel for stream-oriented listening sockets.class
An asynchronous channel for stream-oriented connecting sockets.class
Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.final class
Utility methods for channels and streams.class
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.class
Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.class
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.class
Unchecked exception thrown when an attempt is made to connect aSocketChannel
for which a non-blocking connection operation is already in progress.class
A selectable channel for datagram-oriented sockets.class
A channel for reading, writing, mapping, and manipulating a file.static class
A file-mapping mode.class
A token representing a lock on a region of a file.class
Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.class
Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.class
Unchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.class
Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.class
Checked exception received by a thread when a timeout elapses before an asynchronous operation completes.class
A token representing the membership of an Internet Protocol (IP) multicast group.class
Unchecked exception thrown when thefinishConnect
method of aSocketChannel
is invoked without first successfully invoking itsconnect
method.class
Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.class
Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.class
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.class
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.class
Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.class
A pair of channels that implements a unidirectional pipe.static class
A channel representing the writable end of aPipe
.static class
A channel representing the readable end of aPipe
.class
Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.class
A channel that can be multiplexed via aSelector
.class
A token representing the registration of aSelectableChannel
with aSelector
.class
A multiplexor ofSelectableChannel
objects.class
A selectable channel for stream-oriented listening sockets.class
Unchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown or the completion handler for an I/O operation cannot be invoked because the channel group has terminated.class
A selectable channel for stream-oriented connecting sockets.class
Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.class
Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.class
Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed.Modifier and TypeMethodDescriptionfinal Object
Attaches the given object to this key.final Object
SelectionKey.attachment()
Retrieves the current attachment.abstract Object
SelectableChannel.blockingLock()
Retrieves the object upon which theconfigureBlocking
andregister
methods synchronize. -
Uses of Object in java.nio.channels.spi
Modifier and TypeClassDescriptionclass
Base implementation class for interruptible channels.class
Base implementation class for selectable channels.class
Base implementation class for selection keys.class
Base implementation class for selectors.class
Service-provider class for asynchronous channels.class
Service-provider class for selectors and selectable channels.Modifier and TypeMethodDescriptionfinal SelectionKey
Registers this channel with the given selector, returning a selection key.protected abstract SelectionKey
AbstractSelector.register
(AbstractSelectableChannel ch, int ops, Object att) Registers the given channel with this selector. -
Uses of Object in java.nio.charset
Modifier and TypeClassDescriptionclass
Checked exception thrown when a character encoding or decoding error occurs.class
A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.class
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.class
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.class
Error thrown when thedecodeLoop
method of aCharsetDecoder
, or theencodeLoop
method of aCharsetEncoder
, throws an unexpected exception.class
A description of the result state of a coder.class
A typesafe enumeration for coding-error actions.class
Unchecked exception thrown when a string that is not a legal charset name is used as such.class
Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.final class
Constant definitions for the standardcharsets
.class
Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.class
Unchecked exception thrown when no support is available for a requested charset. -
Uses of Object in java.nio.charset.spi
-
Uses of Object in java.nio.file
Modifier and TypeClassDescriptionclass
Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.class
Checked exception thrown when a file cannot be moved as an atomic file system operation.class
Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.class
Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.class
Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.final class
Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory.class
Checked exception thrown when a file system operation fails because a directory is not empty.class
Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.final class
This class consists exclusively of static methods that operate on files, directories, or other types of files.class
Storage for files.class
Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.class
Runtime exception thrown when an attempt is made to create a file system that already exists.class
Thrown when a file system operation fails on one or two files.class
Checked exception thrown when a file system loop, or cycle, is encountered.class
Runtime exception thrown when a file system cannot be found.final class
Factory methods for file systems.class
Unchecked exception thrown when path string cannot be converted into aPath
because the path string contains invalid characters, or the path string is invalid for other file system specific reasons.final class
ThePermission
class for link creation operations.class
Checked exception thrown when an attempt is made to access a file that does not exist.class
Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.class
Checked exception thrown when a file system operation fails because a file is not a symbolic link.final class
class
Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.class
Runtime exception thrown when a provider of the required type cannot be found.class
Unchecked exception thrown when an attempt is made to update an object associated with aread-only
FileSystem
.class
A simple visitor of files with default behavior to visit all files and to re-throw I/O errors.final class
Defines the standard event kinds.Modifier and TypeFieldDescriptionstatic final WatchEvent.Kind<Object>
StandardWatchEventKinds.OVERFLOW
A special event to indicate that events may have been lost or discarded.Modifier and TypeMethodDescriptionstatic Object
Files.getAttribute
(Path path, String attribute, LinkOption... options) Reads the value of a file attribute.abstract Object
FileStore.getAttribute
(String attribute) Reads the value of a file store attribute.Modifier and TypeMethodDescriptionFiles.readAttributes
(Path path, String attributes, LinkOption... options) Reads a set of file attributes as a bulk operation.Modifier and TypeMethodDescriptionboolean
Tests this path for equality with the given object.static Path
Files.setAttribute
(Path path, String attribute, Object value, LinkOption... options) Sets the value of a file attribute. -
Uses of Object in java.nio.file.attribute
Modifier and TypeClassDescriptionfinal class
An entry in an access control list (ACL).static final class
A builder ofAclEntry
objects.final class
Represents the value of a file's time stamp attribute.final class
This class consists exclusively of static methods that operate on sets ofPosixFilePermission
objects.class
An object to lookup user and group principals by name.class
Checked exception thrown when a lookup ofUserPrincipal
fails because the principal does not exist.Modifier and TypeMethodDescriptionBasicFileAttributes.fileKey()
Returns an object that uniquely identifies the given file, ornull
if a file key is not available. -
Uses of Object in java.nio.file.spi
Modifier and TypeClassDescriptionclass
Service-provider class for file systems.class
A file type detector for probing a file to guess its file type.Modifier and TypeMethodDescriptionFileSystemProvider.readAttributes
(Path path, String attributes, LinkOption... options) Reads a set of file attributes as a bulk operation.Modifier and TypeMethodDescriptionabstract void
FileSystemProvider.setAttribute
(Path path, String attribute, Object value, LinkOption... options) Sets the value of a file attribute. -
Uses of Object in java.rmi
Modifier and TypeClassDescriptionclass
AnAccessException
is thrown by certain methods of thejava.rmi.Naming
class (specificallybind
,rebind
, andunbind
) to indicate that the caller does not have permission to perform the action requested by the method call.class
AnAlreadyBoundException
is thrown if an attempt is made to bind an object to a name that already has an associated binding in the registry.class
AConnectException
is thrown if a connection is refused to the remote host for a remote method call.class
AConnectIOException
is thrown if anIOException
occurs while making a connection to the remote host for a remote method call.class
AMarshalException
is thrown if ajava.io.IOException
occurs while marshalling the remote call header, arguments or return value for a remote method call.final class
AMarshalledObject
contains a byte stream with the serialized representation of an object given to its constructor.final class
TheNaming
class provides methods for storing and obtaining references to remote objects in a remote object registry.class
ANoSuchObjectException
is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.class
ANotBoundException
is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.class
ARemoteException
is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.class
Deprecated.UseSecurityException
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.class
AServerError
is thrown as a result of a remote method invocation when anError
is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.class
AServerException
is thrown as a result of a remote method invocation when aRemoteException
is thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.class
Deprecated.no replacementclass
AStubNotFoundException
is thrown if a valid stub class could not be found for a remote object when it is exported.class
AnUnexpectedException
is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in thethrows
clause of the method in the remote interface.class
AnUnknownHostException
is thrown if ajava.net.UnknownHostException
occurs while creating a connection to the remote host for a remote method call.class
AnUnmarshalException
can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if ajava.io.IOException
occurs unmarshalling parameters (on the server side) or the return value (on the client side). -
Uses of Object in java.rmi.dgc
Modifier and TypeClassDescriptionfinal class
A lease contains a unique VM identifier and a lease duration.final class
A VMID is a identifier that is unique across all Java virtual machines. -
Uses of Object in java.rmi.registry
Modifier and TypeClassDescriptionfinal class
LocateRegistry
is used to obtain a reference to a bootstrap remote object registry on a particular host (including the local host), or to create a remote object registry that accepts calls on a specific port. -
Uses of Object in java.rmi.server
Modifier and TypeClassDescriptionclass
AnExportException
is aRemoteException
thrown if an attempt to export a remote object fails.class
Deprecated.no replacementfinal class
AnObjID
is used to identify a remote object exported to an RMI runtime.class
Deprecated.no replacementclass
TheRemoteObject
class implements thejava.lang.Object
behavior for remote objects.class
An implementation of theInvocationHandler
interface for use with Java Remote Method Invocation (Java RMI).class
TheRemoteServer
class is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.class
Deprecated.Statically generated stubs are deprecated, since stubs are generated dynamically.class
RMIClassLoader
comprises static methods to support dynamic class loading with RMI.class
RMIClassLoaderSpi
is the service provider interface forRMIClassLoader
.class
AnRMISocketFactory
instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.class
AServerCloneException
is thrown if a remote exception occurs during the cloning of aUnicastRemoteObject
.class
AnServerNotActiveException
is anException
thrown during a call toRemoteServer.getClientHost
if the getClientHost method is called outside of servicing a remote method call.class
Deprecated.no replacement.class
Deprecated.no replacement.class
Deprecated.This class is obsolete.final class
AUID
represents an identifier that is unique over time with respect to the host it is generated on, or one of 216 "well-known" identifiers.class
Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.Modifier and TypeMethodDescriptionUnicastRemoteObject.clone()
Returns a clone of the remote object that is distinct from the original.LoaderHandler.getSecurityContext
(ClassLoader loader) Deprecated.no replacement