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 low-level access to memory and functions outside the Java runtime.
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.
Defines non-final APIs for concurrent programming.
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 an operation could not be performed on a frame.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 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.final class
Implementations ofHttpHandler
that implement various useful handlers, such as a static response handler, or a conditional handler that complements one handler with another.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.final class
A simple HTTP file server and its components (intended for testing, development and debugging purposes only).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 peer shuts down an 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.final 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.final 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.final 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 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).final 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.final 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.final 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
A protected nested class containing per-child information in thechildren
hashtable.protected class
Subclasses may subclass this nested class to represent a proxy for each BeanContextServiceProvider.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
A protected nested class containing per-child information in thechildren
hashtable.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) Construct 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 a Writer.class
Base class for character conversion exceptions.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
wraps 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.final 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 terminates 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
Preview.Thrown to indicate an unexpected failure in pattern matching.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
Deprecated, for removal: This API element is subject to removal in a future version.Thread.stop()
was originally specified to "stop" a victim thread by causing the victim thread to throw aThreadDeath
.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.final class
Thrown to indicate that a method has been called on the wrong thread.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 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.foreign
Modifier and TypeMethodDescriptionMemorySegment.array()
Returns the Java array associated with this memory segment, if any.Modifier and TypeMethodDescriptionstatic void
MemorySegment.copy
(MemorySegmentPREVIEW srcSegment, ValueLayoutPREVIEW srcLayout, long srcOffset, Object dstArray, int dstIndex, int elementCount) Copies a number of elements from a source memory segment to a destination array.static void
MemorySegment.copy
(Object srcArray, int srcIndex, MemorySegmentPREVIEW dstSegment, ValueLayoutPREVIEW dstLayout, long dstOffset, int elementCount) Copies a number of elements from a source array to a destination memory segment.boolean
Compares the specified object with this layout for equality.boolean
Compares the specified object with this memory segment 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 VarHandle
MethodHandles.insertCoordinates
(VarHandle target, int pos, Object... values) Preview.Provides a target var handle with one or more bound coordinates in advance of the var 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 TypeClassDescriptionstatic final class
ALookupPolicy
object describes characteristics that can be applied to a lookup operation.class
Service-provider class for InetAddress resolvers.class
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 replacementstatic Object
RMIClassLoader.getSecurityContext
(ClassLoader loader) Deprecated.no replacement.Processes a method invocation made on the encapsulating proxy instance,proxy
, and returns the result.Invoke a method.Modifier and TypeMethodDescriptionboolean
Compares the specified object with thisObjID
for equality.boolean
Compares two remote objects for equality.boolean
Compares the specified object with thisUID
for equality.ServerRef.exportObject
(Remote obj, Object data) Deprecated.Creates a client stub object for the supplied Remote object.Processes a method invocation made on the encapsulating proxy instance,proxy
, and returns the result.Invoke a method. -
Uses of Object in java.security
Modifier and TypeClassDescriptionfinal 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
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.final 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
TheAlgorithmParameterGenerator
class is used to generate a set of parameters to be used with a certain algorithm.class
This class defines the Service Provider Interface (SPI) for theAlgorithmParameterGenerator
class, which is used to generate a set of parameters to be used with a certain algorithm.class
This class is used as an opaque representation of cryptographic parameters.class
This class defines the Service Provider Interface (SPI) for theAlgorithmParameters
class, which is used to manage algorithm parameters.final class
TheAllPermission
is a permission that implies all other permissions.class
This class defines login and logout methods for a provider.class
TheBasicPermission
class extends thePermission
class, and can be used as the base class for permissions that want to follow the same naming convention asBasicPermission
.final class
This class encapsulates information about a code signer.class
This class extends the concept of a codebase to encapsulate not only the location (URL) but also the certificate chains that were used to verify signed code originating from that location.class
This is the generic Message Digest exception.class
A transparent stream that updates the associated message digest using the bits going through the stream.class
A transparent stream that updates the associated message digest using the bits going through the stream.final class
Configuration data that specifies the keystores in a keystore domain.class
This class specifies the parameters used by a DRBG (Deterministic Random Bit Generator).static final class
DRBG parameters for instantiation.static final class
DRBG parameters for random bits generation.static final class
DRBG parameters for reseed.class
TheGeneralSecurityException
class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.class
A GuardedObject is an object that is used to protect access to another object.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
This is the exception for invalid or inappropriate algorithm parameters.class
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc.).class
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.class
This is the basic key exception.class
Key factories are used to convert keys (opaque cryptographic keys of typeKey
) into key specifications (transparent representations of the underlying key material), and vice versa.class
This class defines the Service Provider Interface (SPI) for theKeyFactory
class.class
This is the general key management exception for all operations dealing with key management.final class
This class is a simple holder for a key pair (a public key and a private key).class
TheKeyPairGenerator
class is used to generate pairs of public and private keys.class
This class defines the Service Provider Interface (SPI) for theKeyPairGenerator
class, which is used to generate pairs of public and private keys.class
Standardized representation for serialized Key objects.class
This class represents a storage facility for cryptographic keys and certificates.static class
A description of a to-be-instantiatedKeyStore
object.static class
AProtectionParameter
encapsulating a CallbackHandler.static class
A password-based implementation ofProtectionParameter
.static final class
AKeyStore
entry that holds aPrivateKey
and corresponding certificate chain.static final class
AKeyStore
entry that holds aSecretKey
.static final class
AKeyStore
entry that holds a trustedCertificate
.class
This is the generic KeyStore exception.class
This class defines the Service Provider Interface (SPI) for theKeyStore
class.class
ThisMessageDigest
class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256.class
This class defines the Service Provider Interface (SPI) for theMessageDigest
class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.class
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.class
This exception is thrown when a particular security provider is requested but is not available in the environment.class
Abstract class for representing access to a system resource.class
Abstract class representing a collection of Permission objects.final class
This class represents a heterogeneous collection of permissions.final class
An attribute associated with a PKCS12 keystore entry.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
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
This exception is thrown bydoPrivileged(PrivilegedExceptionAction)
anddoPrivileged(PrivilegedExceptionAction, AccessControlContext context)
to indicate that the action being performed threw a checked exception.class
TheProtectionDomain
class encapsulates the characteristics of a domain, which encloses a set of classes whose instances are granted a set of permissions when being executed on behalf of a given set of Principals.class
This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.static class
The description of a security service.class
A runtime exception forProvider
exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.class
This class extendsClassLoader
with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default.class
This class provides a cryptographically strong random number generator (RNG).class
This class defines the Service Provider Interface (SPI) for theSecureRandom
class.final class
This class centralizes all security properties and common security methods.final class
This class is for security permissions.class
TheSignature
class is used to provide applications the functionality of a digital signature algorithm.class
This is the generic Signature exception.class
This class defines the Service Provider Interface (SPI) for theSignature
class, which is used to provide the functionality of a digital signature algorithm.final class
SignedObject
is a class for the purpose of creating authentic runtime objects whose integrity cannot be compromised without being detected.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.final class
This class encapsulates information about a signed timestamp.class
This exception is thrown if an entry in the keystore cannot be recovered.class
This exception is thrown if a key in the keystore cannot be recovered.final class
TheUnresolvedPermission
class is used to hold Permissions that were "unresolved" when the Policy was initialized.class
A parameter that contains a URI pointing to data intended for a PolicySpi or ConfigurationSpi implementation.Modifier and TypeMethodDescriptionMessageDigest.clone()
Returns a clone if the implementation is cloneable.MessageDigestSpi.clone()
Returns a clone if the implementation is cloneable.Signature.clone()
Returns a clone if the implementation is cloneable.SignatureSpi.clone()
Returns a clone if the implementation is cloneable.Provider.compute
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Provider.computeIfAbsent
(Object key, Function<? super Object, ? extends Object> mappingFunction) If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.Provider.computeIfPresent
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.protected abstract Object
SignatureSpi.engineGetParameter
(String param) Deprecated.GuardedObject.getObject()
Retrieves the guarded object, or throws an exception if access to the guarded object is denied by the guard.SignedObject.getObject()
Retrieves the encapsulated object.Provider.getOrDefault
(Object key, Object defaultValue) final Object
Signature.getParameter
(String param) Deprecated.Provider.merge
(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the specified key is not already associated with a value or is associated withnull
, associates it with the given value.Provider.Service.newInstance
(Object constructorParameter) Return a new instance of the implementation described by this service.Sets thekey
property to have the specifiedvalue
.Provider.putIfAbsent
(Object key, Object value) If the specified key is not already associated with a value (or is mapped tonull
) associates it with the given value and returnsnull
, else returns the current value.protected Object
KeyRep.readResolve()
Resolve the Key object.Removes thekey
property (and its correspondingvalue
).Replaces the entry for the specified key only if it is currently mapped to some value.Modifier and TypeMethodDescriptionProvider.entrySet()
Returns an unmodifiable Set view of the property entries contained in thisProvider
.Provider.entrySet()
Returns an unmodifiable Set view of the property entries contained in thisProvider
.Provider.keySet()
Returns an unmodifiable Set view of the property keys contained in thisProvider
.Provider.values()
Returns an unmodifiable Collection view of the property values contained in thisProvider
.Modifier and TypeMethodDescriptionvoid
Guard.checkGuard
(Object object) Determines whether to allow access to the guarded objectobject
.void
Permission.checkGuard
(Object object) Implements the guard interface for a permission.Provider.compute
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Provider.computeIfAbsent
(Object key, Function<? super Object, ? extends Object> mappingFunction) If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.Provider.computeIfPresent
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.protected abstract void
SignatureSpi.engineSetParameter
(String param, Object value) Deprecated.Replaced byengineSetParameter
.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks twoAccessControlContext
objects for equality.boolean
Checks twoAllPermission
objects for equality.boolean
Checks twoBasicPermission
objects for equality.boolean
Tests for equality between the specified object and this code signer.boolean
Tests for equality between the specified object and this object.final boolean
Deprecated, for removal: This API element is subject to removal in a future version.Tests for equality between the specified object and thisIdentity
.abstract boolean
Checks twoPermission
objects for equality.boolean
Compares thisPKCS12Attribute
and a specified object for equality.boolean
Compares thisPrincipal
to the specified object.boolean
Tests for equality between the specified object and thisTimestamp
.boolean
Checks twoUnresolvedPermission
objects for equality.Provider.getOrDefault
(Object key, Object defaultValue) Provider.merge
(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the specified key is not already associated with a value or is associated withnull
, associates it with the given value.Provider.Service.newInstance
(Object constructorParameter) Return a new instance of the implementation described by this service.Sets thekey
property to have the specifiedvalue
.Provider.putIfAbsent
(Object key, Object value) If the specified key is not already associated with a value (or is mapped tonull
) associates it with the given value and returnsnull
, else returns the current value.Removes thekey
property (and its correspondingvalue
).boolean
Removes the entry for the specified key only if it is currently mapped to the specified value.Replaces the entry for the specified key only if it is currently mapped to some value.boolean
Replaces the entry for the specified key only if currently mapped to the specified value.final void
Signature.setParameter
(String param, Object value) Deprecated.UsesetParameter
.boolean
Provider.Service.supportsParameter
(Object parameter) Test whether this Service can use the specified parameter.Modifier and TypeMethodDescriptionProvider.compute
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Provider.compute
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Provider.compute
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Provider.computeIfAbsent
(Object key, Function<? super Object, ? extends Object> mappingFunction) If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.Provider.computeIfAbsent
(Object key, Function<? super Object, ? extends Object> mappingFunction) If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.Provider.computeIfPresent
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.Provider.computeIfPresent
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.Provider.computeIfPresent
(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.void
Provider.forEach
(BiConsumer<? super Object, ? super Object> action) void
Provider.forEach
(BiConsumer<? super Object, ? super Object> action) Provider.merge
(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the specified key is not already associated with a value or is associated withnull
, associates it with the given value.Provider.merge
(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the specified key is not already associated with a value or is associated withnull
, associates it with the given value.Provider.merge
(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) If the specified key is not already associated with a value or is associated withnull
, associates it with the given value.void
Provider.replaceAll
(BiFunction<? super Object, ? super Object, ? extends Object> function) Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.void
Provider.replaceAll
(BiFunction<? super Object, ? super Object, ? extends Object> function) Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.void
Provider.replaceAll
(BiFunction<? super Object, ? super Object, ? extends Object> function) Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.ModifierConstructorDescriptionGuardedObject
(Object object, Guard guard) Constructs a GuardedObject using the specified object and guard. -
Uses of Object in java.security.cert
Modifier and TypeClassDescriptionclass
Abstract class for managing a variety of identity certificates.protected static class
AlternateCertificate
class for serialization.class
Certificate Encoding Exception.class
This exception indicates one of a variety of certificate problems.class
Certificate Expired Exception.class
This class defines the functionality of a certificate factory, which is used to generate certificate, certification path (CertPath
) and certificate revocation list (CRL) objects from their encodings.class
This class defines the Service Provider Interface (SPI) for theCertificateFactory
class.class
Certificate is not yet valid exception.class
Certificate Parsing Exception.class
An exception that indicates an X.509 certificate is revoked.class
An immutable sequence of certificates (a certification path).protected static class
AlternateCertPath
class for serialization.class
A class for building certification paths (also known as certificate chains).class
An exception indicating one of a variety of problems encountered when building a certification path with aCertPathBuilder
.class
The Service Provider Interface (SPI) for theCertPathBuilder
class.class
A class for validating certification paths (also known as certificate chains).class
An exception indicating one of a variety of problems encountered when validating a certification path.class
The Service Provider Interface (SPI) for theCertPathValidator
class.class
A class for retrievingCertificate
s andCRL
s from a repository.class
An exception indicating one of a variety of problems retrieving certificates and CRLs from aCertStore
.class
The Service Provider Interface (SPI) for theCertStore
class.class
Parameters used as input for the CollectionCertStore
algorithm.class
This class is an abstraction of certificate revocation lists (CRLs) that have different formats but important common uses.class
CRL (Certificate Revocation List) Exception.class
Parameters used as input for the LDAPCertStore
algorithm.class
Parameters used as input for the PKIXCertPathBuilder
algorithm.class
This class represents the successful result of the PKIX certification path builder algorithm.class
An abstract class that performs one or more checks on anX509Certificate
.class
This class represents the successful result of the PKIX certification path validation algorithm.class
Parameters used as input for the PKIXCertPathValidator
algorithm.class
APKIXCertPathChecker
for checking the revocation status of certificates with the PKIX algorithm.class
An immutable policy qualifier represented by the ASN.1 PolicyQualifierInfo structure.class
A trust anchor or most-trusted Certification Authority (CA).final class
Parameters used as input forCertStore
algorithms which use information contained in a URI to retrieve certificates and CRLs.class
Abstract class for X.509 certificates.class
ACertSelector
that selectsX509Certificates
that match all specified criteria.class
Abstract class for an X.509 Certificate Revocation List (CRL).class
Abstract class for a revoked certificate in a CRL (Certificate Revocation List).class
ACRLSelector
that selectsX509CRLs
that match all specified criteria.Modifier and TypeMethodDescriptionCertPathBuilderResult.clone()
Makes a copy of thisCertPathBuilderResult
.CertPathParameters.clone()
Makes a copy of thisCertPathParameters
.CertPathValidatorResult.clone()
Makes a copy of thisCertPathValidatorResult
.CertSelector.clone()
Makes a copy of thisCertSelector
.CertStoreParameters.clone()
Makes a copy of thisCertStoreParameters
.CollectionCertStoreParameters.clone()
Returns a copy of this object.CRLSelector.clone()
Makes a copy of thisCRLSelector
.LDAPCertStoreParameters.clone()
Returns a copy of this object.PKIXCertPathChecker.clone()
Returns a clone of this object.PKIXCertPathValidatorResult.clone()
Returns a copy of this object.PKIXParameters.clone()
Makes a copy of thisPKIXParameters
object.X509CertSelector.clone()
Returns a copy of this object.X509CRLSelector.clone()
Returns a copy of this object.protected Object
Certificate.CertificateRep.readResolve()
Returns aCertificate
with the type and data of thisCertificateRep
.protected Object
CertPath.CertPathRep.readResolve()
Returns aCertPath
constructed from the type and data of thisCertPathRep
.protected Object
Certificate.writeReplace()
Replace theCertificate
to be serialized with aCertificateRep
object containing the type and encoded bytes of theCertificate
.protected Object
CertPath.writeReplace()
Replaces theCertPath
to be serialized with aCertPathRep
object containing theCertificate
type and encoded bytes of theCertPath
.Modifier and TypeMethodDescriptionX509CRLSelector.getIssuerNames()
Returns a copy of the issuerNames criterion.Modifier and TypeMethodDescriptionboolean
Compares this certificate for equality with the specified object.boolean
Compares this certification path for equality with the specified object.boolean
Compares the specified object with this parameters object for equality.boolean
Compares this CRL for equality with the given object.boolean
Compares this CRL entry for equality with the given object. -
Uses of Object in java.security.spec
Modifier and TypeClassDescriptionfinal class
This immutable class specifies the set of parameters used for generating DSA parameters as specified in FIPS 186-3 Digital Signature Standard (DSS).class
This class specifies the set of parameters used with the DSA algorithm.class
This class specifies a DSA private key with its associated parameters.class
This class specifies a DSA public key with its associated parameters.class
This immutable class defines an elliptic curve (EC) characteristic 2 finite field.class
This immutable class defines an elliptic curve (EC) prime finite field.class
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.class
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).class
This immutable class represents a point on an elliptic curve (EC) in affine coordinates.class
This immutable class specifies an elliptic curve private key with its associated parameters.class
This immutable class specifies an elliptic curve public key with its associated parameters.class
A class used to specify EdDSA signature and verification parameters.final class
An elliptic curve point used to specify keys as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).final class
A class representing elliptic curve private keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.final class
A class representing elliptic curve public keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.class
This immutable class holds the necessary values needed to represent an elliptic curve.class
This class represents a public or private key in encoded format.class
This is the exception for invalid key specifications.class
This is the exception for invalid parameter specifications.class
This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.class
This class is used to specify any algorithm parameters that are determined by a standard name.class
This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 typePrivateKeyInfo
.class
This class specifies a parameter spec for the RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.class
This class specifies the set of parameters used to generate an RSA key pair.class
This class specifies an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard using the Chinese Remainder Theorem (CRT) information values for efficiency.class
This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.2 standard.class
This class specifies an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency.class
This class specifies an RSA private key.class
This class specifies an RSA public key.class
This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 typeSubjectPublicKeyInfo
.class
A class representing elliptic curve private keys as defined in RFC 7748, including the curve and other algorithm parameters.class
A class representing elliptic curve public keys as defined in RFC 7748, including the curve and other algorithm parameters.Modifier and TypeMethodDescriptionboolean
Compares this finite field for equality with the specified object.boolean
Compares this prime finite field for equality with the specified object.boolean
Compares this elliptic curve point for equality with the specified object.boolean
Compares this elliptic curve for equality with the specified object. -
Uses of Object in java.sql
Modifier and TypeClassDescriptionclass
The subclass ofSQLException
thrown when an error occurs during a batch update operation.class
An exception thrown as aDataTruncation
exception (on writes) or reported as aDataTruncation
warning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceededMaxFieldSize
.class
A thin wrapper around a millisecond value that allows JDBC to identify this as an SQLDATE
value.class
The basic service for managing a set of JDBC drivers.class
Driver properties for making a connection.class
The subclass ofSQLException
is thrown when one or more client info properties could not be set on aConnection
.class
The subclass ofSQLException
thrown when the SQLState class value is '22', or under vendor-specified conditions.class
An exception that provides information on a database access error or other errors.class
The subclass ofSQLException
thrown when the SQLState class value is '0A' ( the value is 'zero' A).class
The subclass ofSQLException
thrown when the SQLState class value is '23', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the SQLState class value is '28', or under vendor-specified conditions.class
The subclass ofSQLException
thrown for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when an instance where a retry of the same operation would fail unless the cause of theSQLException
is corrected.final class
The permission for which theSecurityManager
will check when code that is running an application with aSecurityManager
enabled, calls theDriverManager.deregisterDriver
method,DriverManager.setLogWriter
method,DriverManager.setLogStream
(deprecated) method,SyncFactory.setJNDIContext
method,SyncFactory.setLogger
method,Connection.setNetworkTimeout
method, or theConnection.abort
method.class
The subclass ofSQLException
thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.class
The subclass ofSQLException
thrown when the SQLState class value is '42', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the timeout specified byStatement.setQueryTimeout
,DriverManager.setLoginTimeout
,DataSource.setLoginTimeout
,XADataSource.setLoginTimeout
has expired.class
The subclass ofSQLException
thrown when the SQLState class value is '40', or under vendor-specified conditions.class
The subclass ofSQLException
for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
is thrown in situations where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.class
An exception that provides information on database access warnings.class
A thin wrapper around thejava.util.Date
class that allows the JDBC API to identify this as an SQLTIME
value.class
A thin wrapper aroundjava.util.Date
that allows the JDBC API to identify this as an SQLTIMESTAMP
value.class
The class that defines the constants that are used to identify generic SQL types, called JDBC types.Modifier and TypeMethodDescriptionArray.getArray()
Retrieves the contents of the SQLARRAY
value designated by thisArray
object in the form of an array in the Java programming language.Array.getArray
(long index, int count) Retrieves a slice of the SQLARRAY
value designated by thisArray
object, beginning with the specifiedindex
and containing up tocount
successive elements of the SQL array.Retrieves a slice of the SQLARRAY
value designated by thisArray
object, beginning with the specifiedindex
and containing up tocount
successive elements of the SQL array.Retrieves the contents of the SQLARRAY
value designated by thisArray
object.Object[]
Struct.getAttributes()
Produces the ordered values of the attributes of the SQL structured type that thisStruct
object represents.Object[]
Struct.getAttributes
(Map<String, Class<?>> map) Produces the ordered values of the attributes of the SQL structured type that thisStruct
object represents.CallableStatement.getObject
(int parameterIndex) Retrieves the value of the designated parameter as anObject
in the Java programming language.Returns an object representing the value of OUT parameterparameterIndex
and usesmap
for the custom mapping of the parameter value.Retrieves the value of a parameter as anObject
in the Java programming language.Returns an object representing the value of OUT parameterparameterName
and usesmap
for the custom mapping of the parameter value.Ref.getObject()
Retrieves the SQL structured type instance referenced by thisRef
object.Retrieves the referenced object and maps it to a Java type using the given type map.ResultSet.getObject
(int columnIndex) Gets the value of the designated column in the current row of thisResultSet
object as anObject
in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as anObject
in the Java programming language.Gets the value of the designated column in the current row of thisResultSet
object as anObject
in the Java programming language.Retrieves the value of the designated column in the current row of thisResultSet
object as anObject
in the Java programming language.SQLInput.readObject()
Reads the datum at the head of the stream and returns it as anObject
in the Java programming language.Modifier and TypeMethodDescriptionConnection.createArrayOf
(String typeName, Object[] elements) Factory method for creating Array objects.Connection.createStruct
(String typeName, Object[] attributes) Factory method for creating Struct objects.boolean
Compares thisRowId
to the specified object.boolean
Tests to see if thisTimestamp
object is equal to the given object.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object.default void
Sets the value of the designated parameter with the given object.default void
CallableStatement.setObject
(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter using the given object.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object.default void
Sets the value of the designated parameter with the given object.default void
Sets the value of the designated parameter with the given object.void
Sets the structured type value that thisRef
object references to the given instance ofObject
.This method will be called to add a subkey into a Sharding Key object being built.void
ResultSet.updateObject
(int columnIndex, Object x) Updates the designated column with anObject
value.void
ResultSet.updateObject
(int columnIndex, Object x, int scaleOrLength) Updates the designated column with anObject
value.default void
ResultSet.updateObject
(int columnIndex, Object x, SQLType targetSqlType) Updates the designated column with anObject
value.default void
ResultSet.updateObject
(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) Updates the designated column with anObject
value.void
ResultSet.updateObject
(String columnLabel, Object x) Updates the designated column with anObject
value.void
ResultSet.updateObject
(String columnLabel, Object x, int scaleOrLength) Updates the designated column with anObject
value.default void
ResultSet.updateObject
(String columnLabel, Object x, SQLType targetSqlType) Updates the designated column with anObject
value.default void
ResultSet.updateObject
(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) Updates the designated column with anObject
value.default void
SQLOutput.writeObject
(Object x, SQLType targetSqlType) Writes to the stream the data contained in the given object. -
Uses of Object in java.text
Modifier and TypeClassDescriptionclass
An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics.static class
Defines attribute keys that are used to identify text attributes.class
An AttributedString holds text and related attribute information.final class
This class implements the Unicode Bidirectional Algorithm.class
TheBreakIterator
class implements methods for finding the location of boundaries in text.class
AChoiceFormat
allows you to attach a format to a range of numbers.final class
TheCollationElementIterator
class is used as an iterator to walk through each character of an international string.class
ACollationKey
represents aString
under the rules of a specificCollator
object.class
TheCollator
class performs locale-sensitiveString
comparison.final class
CompactNumberFormat
is a concrete subclass ofNumberFormat
that formats a decimal number in its compact form.class
DateFormat
is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromDateFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.class
DateFormatSymbols
is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data.class
DecimalFormat
is a concrete subclass ofNumberFormat
that formats decimal numbers.class
This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat
to format numbers.class
FieldPosition
is a simple class used byFormat
and its subclasses to identify fields in formatted output.class
Format
is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.class
MessageFormat
provides a means to produce concatenated messages in a language-neutral way.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromMessageFormat.formatToCharacterIterator
.final class
This class provides the methodnormalize
which transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text.class
NumberFormat
is the abstract base class for all number formats.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromNumberFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.class
Signals that an error has been reached unexpectedly while parsing.class
ParsePosition
is a simple class used byFormat
and its subclasses to keep track of the current position during parsing.class
TheRuleBasedCollator
class is a concrete subclass ofCollator
that provides a simple, data-driven, table collator.class
SimpleDateFormat
is a concrete class for formatting and parsing dates in a locale-sensitive manner.final class
StringCharacterIterator
implements theCharacterIterator
protocol for aString
.Modifier and TypeMethodDescriptionBreakIterator.clone()
Create a copy of this iteratorCharacterIterator.clone()
Create a copy of this iteratorChoiceFormat.clone()
Overrides CloneableCollator.clone()
Overrides CloneableDateFormat.clone()
Overrides CloneableDateFormatSymbols.clone()
Overrides CloneableDecimalFormat.clone()
Standard override; no change in semantics.DecimalFormatSymbols.clone()
Standard override.Format.clone()
Creates and returns a copy of this object.MessageFormat.clone()
Creates and returns a copy of this object.NumberFormat.clone()
Overrides Cloneable.RuleBasedCollator.clone()
Standard override; no change in semantics.SimpleDateFormat.clone()
Creates a copy of thisSimpleDateFormat
.StringCharacterIterator.clone()
Creates a copy of this iterator.AttributedCharacterIterator.getAttribute
(AttributedCharacterIterator.Attribute attribute) Returns the value of the namedattribute
for the current character.Object[]
ChoiceFormat.getFormats()
Get the formats passed in the constructor.Annotation.getValue()
Returns the value of the attribute, which may be null.Object[]
Parses text from the beginning of the given string to produce an object array.Object[]
MessageFormat.parse
(String source, ParsePosition pos) Parses the string.DateFormat.parseObject
(String source, ParsePosition pos) Parses text from a string to produce aDate
.Format.parseObject
(String source) Parses text from the beginning of the given string to produce an object.abstract Object
Format.parseObject
(String source, ParsePosition pos) Parses text from a string to produce an object.MessageFormat.parseObject
(String source, ParsePosition pos) Parses text from a string to produce an object array.final Object
NumberFormat.parseObject
(String source, ParsePosition pos) Parses text from a string to produce aNumber
.protected Object
AttributedCharacterIterator.Attribute.readResolve()
Resolves instances being deserialized to the predefined constants.protected Object
DateFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.protected Object
MessageFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.protected Object
NumberFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.Modifier and TypeMethodDescriptionAttributedCharacterIterator.getAttributes()
Returns a map with the attributes defined on the current character.Modifier and TypeMethodDescriptionvoid
AttributedString.addAttribute
(AttributedCharacterIterator.Attribute attribute, Object value) Adds an attribute to the entire string.void
AttributedString.addAttribute
(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex) Adds an attribute to a subrange of the string.int
Compares its two arguments for order.final boolean
Compares two objects for equality.boolean
Equality comparison between twoboolean
Compares the equality of two Collators.boolean
Checks if thisCompactNumberFormat
is equal to the specifiedobj
.boolean
Overrides equalsboolean
Override equalsboolean
Overrides equalsboolean
Override equals.boolean
Overrides equalsboolean
Equality comparison between two message format objectsboolean
Overrides equals.boolean
Overrides equalsboolean
Compares the equality of two collation objects.boolean
Compares the given object with thisSimpleDateFormat
for equality.boolean
Compares the equality of two StringCharacterIterator objects.final StringBuffer
CompactNumberFormat.format
(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition) Formats a number to produce a string representing its compact form.final StringBuffer
DateFormat.format
(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition) Formats the givenObject
into a date-time string.final StringBuffer
DecimalFormat.format
(Object number, StringBuffer toAppendTo, FieldPosition pos) Formats a number and appends the resulting text to the given string buffer.final String
Formats an object to produce a string.abstract StringBuffer
Format.format
(Object obj, StringBuffer toAppendTo, FieldPosition pos) Formats an object and appends the resulting text to a given string buffer.final StringBuffer
MessageFormat.format
(Object[] arguments, StringBuffer result, FieldPosition pos) Formats an array of objects and appends theMessageFormat
's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer
.final StringBuffer
MessageFormat.format
(Object arguments, StringBuffer result, FieldPosition pos) Formats an array of objects and appends theMessageFormat
's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer
.static String
Creates a MessageFormat with the given pattern and uses it to format the given arguments.NumberFormat.format
(Object number, StringBuffer toAppendTo, FieldPosition pos) Formats a number and appends the resulting text to the given string buffer.CompactNumberFormat.formatToCharacterIterator
(Object obj) Formats an Object producing anAttributedCharacterIterator
.DecimalFormat.formatToCharacterIterator
(Object obj) Formats an Object producing anAttributedCharacterIterator
.Format.formatToCharacterIterator
(Object obj) Formats an Object producing anAttributedCharacterIterator
.MessageFormat.formatToCharacterIterator
(Object arguments) Formats an array of objects and inserts them into theMessageFormat
's pattern, producing anAttributedCharacterIterator
.SimpleDateFormat.formatToCharacterIterator
(Object obj) Formats an Object producing anAttributedCharacterIterator
.static void
Bidi.reorderVisually
(byte[] levels, int levelStart, Object[] objects, int objectStart, int count) Reorder the objects in the array into visual order based on their levels.ModifierConstructorDescriptionAnnotation
(Object value) Constructs an annotation record with the given value, which may be null. -
Uses of Object in java.text.spi
Modifier and TypeClassDescriptionclass
An abstract class for service providers that provide concrete implementations of theBreakIterator
class.class
An abstract class for service providers that provide concrete implementations of theCollator
class.class
An abstract class for service providers that provide concrete implementations of theDateFormat
class.class
An abstract class for service providers that provide instances of theDateFormatSymbols
class.class
An abstract class for service providers that provide instances of theDecimalFormatSymbols
class.class
An abstract class for service providers that provide concrete implementations of theNumberFormat
class. -
Uses of Object in java.time
Modifier and TypeClassDescriptionclass
A clock providing access to the current instant, date and time using a time-zone.class
Exception used to indicate a problem while calculating a date-time.final class
A time-based amount of time, such as '34.5 seconds'.final class
An instantaneous point on the time-line.final class
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.final class
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.final class
A time without a time-zone in the ISO-8601 calendar system, such as10:15:30
.final class
A month-day in the ISO-8601 calendar system, such as--12-03
.final class
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.final class
A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as10:15:30+01:00
.final class
A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 days'.final class
A year in the ISO-8601 calendar system, such as2007
.final class
A year-month in the ISO-8601 calendar system, such as2007-12
.final class
A date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris
.class
A time-zone ID, such asEurope/Paris
.final class
A time-zone offset from Greenwich/UTC, such as+02:00
.Modifier and TypeMethodDescriptionboolean
Checks if this clock is equal to another clock.boolean
Checks if this duration is equal to the specifiedDuration
.boolean
Checks if this instant is equal to the specified instant.boolean
Checks if this date is equal to another date.boolean
Checks if this date-time is equal to another date-time.boolean
Checks if this time is equal to another time.boolean
Checks if this month-day is equal to another month-day.boolean
Checks if this date-time is equal to another date-time.boolean
Checks if this time is equal to another time.boolean
Checks if this period is equal to another period.boolean
Checks if this year is equal to another year.boolean
Checks if this year-month is equal to another year-month.boolean
Checks if this date-time is equal to another date-time.boolean
Checks if this time-zone ID is equal to another time-zone ID.boolean
Checks if this offset is equal to another offset. -
Uses of Object in java.time.chrono
Modifier and TypeClassDescriptionclass
An abstract implementation of a calendar system, used to organize and identify dates.final class
The Hijrah calendar is a lunar calendar supporting Islamic calendars.final class
A date in the Hijrah calendar system.final class
The ISO calendar system.final class
The Japanese Imperial calendar system.final class
A date in the Japanese Imperial calendar system.final class
An era in the Japanese Imperial calendar system.final class
The Minguo calendar system.final class
A date in the Minguo calendar system.final class
The Thai Buddhist calendar system.final class
A date in the Thai Buddhist calendar system.Modifier and TypeMethodDescriptionboolean
Checks if this chronology is equal to another chronology.boolean
Checks if this date is equal to another date, including the chronology.boolean
Checks if this date-time is equal to another date-time, including the chronology.boolean
Checks if this chronology is equal to another chronology.boolean
Checks if this period is equal to another period, including the chronology.boolean
Checks if this date-time is equal to another date-time.boolean
Compares this date to another date, including the chronology.boolean
Compares this date to another date, including the chronology.boolean
Compares this date to another date, including the chronology.boolean
Compares this date to another date, including the chronology. -
Uses of Object in java.time.format
Modifier and TypeClassDescriptionfinal class
Formatter for printing and parsing date-time objects.final class
Builder to create date-time formatters.class
An exception thrown when an error occurs during parsing.final class
Localized decimal style used in date and time formatting. -
Uses of Object in java.time.temporal
Modifier and TypeClassDescriptionfinal class
Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year.final class
A set of date fields that provide access to Julian Days.final class
Common and useful TemporalAdjusters.final class
Common implementations ofTemporalQuery
.class
UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.final class
The range of valid values for a date-time field.final class
Localized definitions of the day-of-week, week-of-month and week-of-year fields. -
Uses of Object in java.time.zone
Modifier and TypeClassDescriptionfinal class
A transition between two offsets caused by a discontinuity in the local time-line.final class
A rule expressing how to create a transition.final class
The rules defining how the zone offset varies for a single time-zone.class
Thrown to indicate a problem with time-zone configuration.class
Provider of time-zone rules to the system.Modifier and TypeMethodDescriptionboolean
Checks if this object equals another.boolean
Checks if this object equals another.boolean
Checks if this set of rules equals another. -
Uses of Object in java.util
Modifier and TypeClassDescriptionclass
This class provides a skeletal implementation of theCollection
interface, to minimize the effort required to implement this interface.class
AbstractList<E>
This class provides a skeletal implementation of theList
interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).class
AbstractMap<K,
V> This class provides a skeletal implementation of theMap
interface, to minimize the effort required to implement this interface.static class
An Entry maintaining a key and a value.static class
An unmodifiable Entry maintaining a key and a value.class
This class provides skeletal implementations of someQueue
operations.class
This class provides a skeletal implementation of theList
interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).class
AbstractSet<E>
This class provides a skeletal implementation of theSet
interface to minimize the effort required to implement this interface.class
ArrayDeque<E>
Resizable-array implementation of theDeque
interface.class
ArrayList<E>
Resizable-array implementation of theList
interface.class
This class contains various methods for manipulating arrays (such as sorting and searching).class
This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme.static class
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.static class
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.class
This class implements a vector of bits that grows as needed.class
TheCalendar
class is an abstract class that provides methods for converting between a specific instant in time and a set ofcalendar fields
such asYEAR
,MONTH
,DAY_OF_MONTH
,HOUR
, and so on, and for manipulating the calendar fields, such as getting the date of the next week.static class
Calendar.Builder
is used for creating aCalendar
from various date-time parameters.class
This class consists exclusively of static methods that operate on or return collections.class
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.final class
Represents a currency.class
The classDate
represents a specific instant in time, with millisecond precision.class
Dictionary<K,
V> TheDictionary
class is the abstract parent of any class, such asHashtable
, which maps keys to values.class
A state object for collecting statistics such as count, min, max, sum, and average.class
Unchecked exception thrown when duplicate flags are provided in the format specifier.class
Thrown by methods in theStack
class to indicate that the stack is empty.class
A specializedMap
implementation for use with enum type keys.class
A specializedSet
implementation for use with enum types.class
EventListenerProxy<T extends EventListener>
An abstract wrapper class for anEventListener
class which associates a set of additional parameters with the listener.class
The root class from which all event state objects shall be derived.class
Unchecked exception thrown when a conversion and flag are incompatible.class
FormattableFlags are passed to theFormattable.formatTo()
method and modify the output format for Formattables.final class
An interpreter for printf-style format strings.class
Unchecked exception thrown when the formatter has been closed.class
GregorianCalendar
is a concrete subclass ofCalendar
and provides the standard calendar system used by most of the world.class
HashMap<K,
V> Hash table based implementation of theMap
interface.class
HashSet<E>
This class implements theSet
interface, backed by a hash table (actually aHashMap
instance).class
Hashtable<K,
V> This class implements a hash table, which maps keys to values.final class
HexFormat
converts between bytes and chars and hex-encoded strings which may include additional formatting markup such as prefixes, suffixes, and delimiters.class
IdentityHashMap<K,
V> This class implements theMap
interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).class
Unchecked exception thrown when a character with an invalid Unicode code point as defined byCharacter.isValidCodePoint(int)
is passed to theFormatter
.class
Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.class
Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.class
Unchecked exception thrown when an illegal combination flags is given.class
Unchecked exception thrown when the precision is a negative value other than-1
, the conversion does not support a precision, or the value is otherwise unsupported.class
Unchecked exception thrown when the format width is a negative value other than-1
or is otherwise unsupported.class
Thrown by methods inLocale
andLocale.Builder
to indicate that an argument is not a well-formed BCP 47 tag.class
Thrown by aScanner
to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.class
A state object for collecting statistics such as count, min, max, sum, and average.class
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per theProperties
specification.class
LinkedHashMap<K,
V> Hash table and linked list implementation of theMap
interface, with predictable iteration order.class
Hash table and linked list implementation of theSet
interface, with predictable iteration order.class
LinkedList<E>
Doubly-linked list implementation of theList
andDeque
interfaces.class
ListResourceBundle
is an abstract subclass ofResourceBundle
that manages resources for a locale in a convenient and easy to use list.final class
ALocale
object represents a specific geographical, political, or cultural region.static final class
Builder
is used to build instances ofLocale
from values configured by the setters.static final class
This class expresses a Language Range defined in RFC 4647 Matching of Language Tags.class
A state object for collecting statistics such as count, min, max, sum, and average.class
Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.class
Unchecked exception thrown when the format width is required.class
Signals that a resource is missing.class
Thrown by various accessor methods to indicate that the element being requested does not exist.final class
This class consists ofstatic
utility methods for operating on objects, or checking certain conditions before operation.class
Deprecated.This class and theObserver
interface have been deprecated.final class
Optional<T>
A container object which may or may not contain a non-null
value.final class
A container object which may or may not contain adouble
value.final class
A container object which may or may not contain anint
value.final class
A container object which may or may not contain along
value.class
An unbounded priority queue based on a priority heap.class
TheProperties
class represents a persistent set of properties.final class
This class is for property permissions.class
PropertyResourceBundle
is a concrete subclass ofResourceBundle
that manages resources for a locale using a set of static strings from a property file.class
An instance of this class is used to generate a stream of pseudorandom numbers; its period is only 248.class
Resource bundles contain locale-specific objects.static class
ResourceBundle.Control
defines a set of callback methods that are invoked by theResourceBundle.getBundle
factory methods during the bundle loading process.final class
A simple text scanner which can parse primitive types and strings using regular expressions.class
Error thrown when something goes wrong while locating, loading, or instantiating a service provider.final class
A facility to load implementations of a service.class
SimpleTimeZone
is a concrete subclass ofTimeZone
that represents a time zone for use with a Gregorian calendar.final class
Static classes and methods for operating on or creating instances ofSpliterator
and its primitive specializationsSpliterator.OfInt
,Spliterator.OfLong
, andSpliterator.OfDouble
.static class
An abstractSpliterator.OfDouble
that implementstrySplit
to permit limited parallelism.static class
An abstractSpliterator.OfInt
that implementstrySplit
to permit limited parallelism.static class
An abstractSpliterator.OfLong
that implementstrySplit
to permit limited parallelism.static class
An abstractSpliterator
that implementstrySplit
to permit limited parallelism.final class
A generator of uniform pseudorandom values (with period 264) applicable for use in (among other contexts) isolated parallel computations that may generate subtasks.class
Stack<E>
TheStack
class represents a last-in-first-out (LIFO) stack of objects.final class
StringJoiner
is used to construct a sequence of characters separated by a delimiter and optionally starting with a supplied prefix and ending with a supplied suffix.class
The string tokenizer class allows an application to break a string into tokens.class
A facility for threads to schedule tasks for future execution in a background thread.class
A task that can be scheduled for one-time or repeated execution by aTimer
.class
TimeZone
represents a time zone offset, and also figures out daylight savings.class
TheTooManyListenersException
Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.class
TreeMap<K,
V> A Red-Black tree basedNavigableMap
implementation.class
TreeSet<E>
ANavigableSet
implementation based on aTreeMap
.class
Unchecked exception thrown when an unknown conversion is given.class
Unchecked exception thrown when an unknown flag is given.final class
A class that represents an immutable universally unique identifier (UUID).class
Vector<E>
TheVector
class implements a growable array of objects.class
WeakHashMap<K,
V> Hash table based implementation of theMap
interface, with weak keys.Modifier and TypeFieldDescriptionprotected Object[]
Vector.elementData
The array buffer into which the components of the vector are stored.protected Object
EventObject.source
The object on which the Event initially occurred.Modifier and TypeMethodDescriptionstatic <T extends Object & Comparable<? super T>>
TCollections.max
(Collection<? extends T> coll) Returns the maximum element of the given collection, according to the natural ordering of its elements.static <T extends Object & Comparable<? super T>>
TCollections.min
(Collection<? extends T> coll) Returns the minimum element of the given collection, according to the natural ordering of its elements.Modifier and TypeMethodDescriptionprotected Object
AbstractMap.clone()
Returns a shallow copy of thisAbstractMap
instance: the keys and values themselves are not cloned.ArrayList.clone()
Returns a shallow copy of thisArrayList
instance.BitSet.clone()
Cloning thisBitSet
produces a newBitSet
that is equal to it.Calendar.clone()
Creates and returns a copy of this object.Date.clone()
Return a copy of this object.HashMap.clone()
Returns a shallow copy of thisHashMap
instance: the keys and values themselves are not cloned.HashSet.clone()
Returns a shallow copy of thisHashSet
instance: the elements themselves are not cloned.Hashtable.clone()
Creates a shallow copy of this hashtable.IdentityHashMap.clone()
Returns a shallow copy of this identity hash map: the keys and values themselves are not cloned.LinkedList.clone()
Returns a shallow copy of thisLinkedList
.Locale.clone()
Overrides Cloneable.SimpleTimeZone.clone()
Returns a clone of thisSimpleTimeZone
instance.TimeZone.clone()
Creates a copy of thisTimeZone
.TreeMap.clone()
Returns a shallow copy of thisTreeMap
instance.TreeSet.clone()
Returns a shallow copy of thisTreeSet
instance.Vector.clone()
Returns a clone of this vector.static <T> T[]
Arrays.copyOf
(T[] original, int newLength) Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length.static <T,
U> T[] Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length.static <T> T[]
Arrays.copyOfRange
(T[] original, int from, int to) Copies the specified range of the specified array into a new array.static <T,
U> T[] Arrays.copyOfRange
(U[] original, int from, int to, Class<? extends T[]> newType) Copies the specified range of the specified array into a new array.protected abstract Object[][]
ListResourceBundle.getContents()
Returns an array in which each item is a pair of objects in anObject
array.final Object
Gets an object for the given key from this resource bundle or one of its parents.EventObject.getSource()
The object on which the Event initially occurred.final Object
ListResourceBundle.handleGetObject
(String key) PropertyResourceBundle.handleGetObject
(String key) protected abstract Object
ResourceBundle.handleGetObject
(String key) Gets an object for the given key from this resource bundle.StringTokenizer.nextElement()
Returns the same value as thenextToken
method, except that its declared return value isObject
rather thanString
.Properties.setProperty
(String key, String value) Calls theHashtable
methodput
.Object[]
AbstractCollection.toArray()
Returns an array containing all of the elements in this collection.<T> T[]
AbstractCollection.toArray
(T[] a) Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.Object[]
ArrayDeque.toArray()
Returns an array containing all of the elements in this deque in proper sequence (from first to last element).<T> T[]
ArrayDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
ArrayList.toArray()
Returns an array containing all of the elements in this list in proper sequence (from first to last element).<T> T[]
ArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
Collection.toArray()
Returns an array containing all of the elements in this collection.default <T> T[]
Collection.toArray
(IntFunction<T[]> generator) Returns an array containing all of the elements in this collection, using the providedgenerator
function to allocate the returned array.<T> T[]
Collection.toArray
(T[] a) Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.Object[]
HashSet.toArray()
<T> T[]
HashSet.toArray
(T[] a) Object[]
LinkedList.toArray()
Returns an array containing all of the elements in this list in proper sequence (from first to last element).<T> T[]
LinkedList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
List.toArray()
Returns an array containing all of the elements in this list in proper sequence (from first to last element).<T> T[]
List.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
PriorityQueue.toArray()
Returns an array containing all of the elements in this queue.<T> T[]
PriorityQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.Object[]
Set.toArray()
Returns an array containing all of the elements in this set.<T> T[]
Set.toArray
(T[] a) Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.Object[]
Vector.toArray()
Returns an array containing all of the elements in this Vector in the correct order.<T> T[]
Vector.toArray
(T[] a) Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array.Modifier and TypeMethodDescriptionstatic <T> boolean
Collections.addAll
(Collection<? super T> c, T... elements) Adds all of the specified elements to the specified collection.boolean
Returns whether thisCalendar
represents a time after the time represented by the specifiedObject
.static <T> List<T>
Arrays.asList
(T... a) Returns a fixed-size list backed by the specified array.boolean
Returns whether thisCalendar
represents a time before the time represented by the specifiedObject
.static int
Arrays.binarySearch
(Object[] a, int fromIndex, int toIndex, Object key) Searches a range of the specified array for the specified object using the binary search algorithm.static int
Arrays.binarySearch
(Object[] a, Object key) Searches the specified array for the specified object using the binary search algorithm.static <T> int
Arrays.binarySearch
(T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c) Searches a range of the specified array for the specified object using the binary search algorithm.static <T> int
Arrays.binarySearch
(T[] a, T key, Comparator<? super T> c) Searches the specified array for the specified object using the binary search algorithm.static <T> int
Arrays.compare
(T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp) Compares twoObject
arrays lexicographically over the specified ranges.static <T> int
Arrays.compare
(T[] a, T[] b, Comparator<? super T> cmp) Compares twoObject
arrays lexicographically using a specified comparator.boolean
Returnstrue
if this collection contains the specified element.boolean
Returnstrue
if this deque contains the specified element.boolean
Returnstrue
if this list contains the specified element.boolean
Returnstrue
if this collection contains the specified element.boolean
Returnstrue
if this deque contains the specified element.boolean
Returnstrue
if this set contains the specified element.boolean
Tests if some key maps into the specified value in this hashtable.boolean
Returnstrue
if this list contains the specified element.boolean
Returnstrue
if this list contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Returnstrue
if this set contains the specified element.boolean
Returnstrue
if this set contains the specified element.boolean
Returnstrue
if this vector contains the specified element.boolean
AbstractMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
EnumMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
HashMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
Hashtable.containsKey
(Object key) Tests if the specified object is a key in this hashtable.boolean
IdentityHashMap.containsKey
(Object key) Tests whether the specified object reference is a key in this identity hash map.boolean
Map.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
TreeMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
WeakHashMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
AbstractMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
EnumMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
HashMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
Hashtable.containsValue
(Object value) Returns true if this hashtable maps one or more keys to this value.boolean
IdentityHashMap.containsValue
(Object value) Tests whether the specified object reference is a value in this identity hash map.boolean
LinkedHashMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
Map.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
TreeMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
WeakHashMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.void
Copies the components of this vector into the specified array.static <T> T[]
Arrays.copyOf
(T[] original, int newLength) Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length.static <T,
U> T[] Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length.static <T> T[]
Arrays.copyOfRange
(T[] original, int from, int to) Copies the specified range of the specified array into a new array.static <T,
U> T[] Arrays.copyOfRange
(U[] original, int from, int to, Class<? extends T[]> newType) Copies the specified range of the specified array into a new array.static boolean
Arrays.deepEquals
(Object[] a1, Object[] a2) Returnstrue
if the two specified arrays are deeply equal to one another.static boolean
Objects.deepEquals
(Object a, Object b) Returnstrue
if the arguments are deeply equal to each other andfalse
otherwise.static int
Arrays.deepHashCode
(Object[] a) Returns a hash code based on the "deep contents" of the specified array.static String
Arrays.deepToString
(Object[] a) Returns a string representation of the "deep contents" of the specified array.boolean
Compares the specified object with this list for equality.boolean
Compares the specified object with this map for equality.boolean
Compares the specified object with this entry for equality.boolean
Compares the specified object with this entry for equality.boolean
Compares the specified object with this set for equality.boolean
Compares the specified object with this list for equality.static boolean
Returns true if the two specified arrays of Objects, over the specified ranges, are equal to one another.static boolean
Returnstrue
if the two specified arrays of Objects are equal to one another.static <T> boolean
Arrays.equals
(T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp) Returns true if the two specified arrays of Objects, over the specified ranges, are equal to one another.static <T> boolean
Arrays.equals
(T[] a, T[] a2, Comparator<? super T> cmp) Returnstrue
if the two specified arrays of Objects are equal to one another.boolean
Compares this object against the specified object.boolean
Compares thisCalendar
to the specifiedObject
.boolean
Compares the specified object with this collection for equality.boolean
Indicates whether some other object is "equal to" this comparator.boolean
Compares two dates for equality.boolean
Compares the specified object with this map for equality.boolean
Compares thisGregorianCalendar
to the specifiedObject
.boolean
Compares the specified Object with this Map for equality, as per the definition in the Map interface.boolean
Returnstrue
if the other object is aHexFormat
with the same parameters.boolean
Compares the specified object with this map for equality.boolean
Compares the specified object with this list for equality.boolean
Returns true if this Locale is equal to another object.boolean
Compares this object to the specified object.boolean
Compares the specified object with this entry for equality.boolean
Compares the specified object with this map for equality.static boolean
Returnstrue
if the arguments are equal to each other andfalse
otherwise.boolean
Indicates whether some other object is "equal to" thisOptional
.boolean
Indicates whether some other object is "equal to" thisOptionalDouble
.boolean
Indicates whether some other object is "equal to" thisOptionalInt
.boolean
Indicates whether some other object is "equal to" thisOptionalLong
.boolean
Checks two PropertyPermission objects for equality.boolean
Compares the specified object with this set for equality.boolean
Compares the equality of twoSimpleTimeZone
objects.boolean
Compares this object to the specified object.boolean
Compares the specified Object with this Vector for equality.static void
Assigns the specified Object reference to each element of the specified range of the specified array of Objects.static void
Assigns the specified Object reference to each element of the specified array of Objects.Writes a formatted string to this object's destination using the specified format string and arguments.Writes a formatted string to this object's destination using the specified locale, format string, and arguments.static int
Collections.frequency
(Collection<?> c, Object o) Returns the number of elements in the specified collection equal to the specified object.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.abstract V
Returns the value to which the key is mapped in this dictionary.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.default V
Map.getOrDefault
(Object key, V defaultValue) Returns the value to which the specified key is mapped, ordefaultValue
if this map contains no mapping for the key.static int
Generates a hash code for a sequence of input values.static int
Returns a hash code based on the contents of the specified array.static int
Returns the hash code of a non-null
argument and 0 for anull
argument.int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.int
Returns the index of the first occurrence of the specified element in this vector, or -1 if this vector does not contain the element.int
Returns the index of the first occurrence of the specified element in this vector, searching forwards fromindex
, or returns -1 if the element is not found.static boolean
Returnstrue
if the provided reference isnull
otherwise returnsfalse
.int
AbstractList.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.int
ArrayList.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.int
LinkedList.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.int
List.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.int
Vector.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this vector, or -1 if this vector does not contain the element.int
Vector.lastIndexOf
(Object o, int index) Returns the index of the last occurrence of the specified element in this vector, searching backwards fromindex
, or returns -1 if the element is not found.static int
Finds and returns the relative index of the first mismatch between twoObject
arrays over the specified ranges, otherwise return -1 if no mismatch is found.static int
Finds and returns the index of the first mismatch between twoObject
arrays, otherwise return -1 if no mismatch is found.static <T> int
Arrays.mismatch
(T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp) Finds and returns the relative index of the first mismatch between twoObject
arrays over the specified ranges, otherwise return -1 if no mismatch is found.static <T> int
Arrays.mismatch
(T[] a, T[] b, Comparator<? super T> cmp) Finds and returns the index of the first mismatch between twoObject
arrays, otherwise return -1 if no mismatch is found.static boolean
Returnstrue
if the provided reference is non-null
otherwise returnsfalse
.void
Observable.notifyObservers
(Object arg) Deprecated.If this object has changed, as indicated by thehasChanged
method, then notify all of its observers and then call theclearChanged
method to indicate that this object has no longer changed.static <E> List<E>
List.of
(E... elements) Returns an unmodifiable list containing an arbitrary number of elements.static <E> Set<E>
Set.of
(E... elements) Returns an unmodifiable set containing an arbitrary number of elements.static <T> void
Arrays.parallelPrefix
(T[] array, int fromIndex, int toIndex, BinaryOperator<T> op) PerformsArrays.parallelPrefix(Object[], BinaryOperator)
for the given subrange of the array.static <T> void
Arrays.parallelPrefix
(T[] array, BinaryOperator<T> op) Cumulates, in parallel, each element of the given array in place, using the supplied function.static <T> void
Arrays.parallelSetAll
(T[] array, IntFunction<? extends T> generator) Set all elements of the specified array, in parallel, using the provided generator function to compute each element.static <T> void
Arrays.parallelSort
(T[] a, int fromIndex, int toIndex, Comparator<? super T> cmp) Sorts the specified range of the specified array of objects according to the order induced by the specified comparator.static <T> void
Arrays.parallelSort
(T[] a, Comparator<? super T> cmp) Sorts the specified array of objects according to the order induced by the specified comparator.boolean
Removes a single instance of the specified element from this collection, if it is present (optional operation).Removes the mapping for a key from this map if it is present (optional operation).boolean
Removes a single instance of the specified element from this deque.boolean
Removes the first occurrence of the specified element from this list, if it is present.boolean
Removes a single instance of the specified element from this collection, if it is present (optional operation).boolean
Removes the first occurrence of the specified element from this deque.abstract V
Removes thekey
(and its correspondingvalue
) from this dictionary.Removes the mapping for this key from this map if present.Removes the mapping for the specified key from this map if present.boolean
Removes the specified element from this set if it is present.Removes the key (and its corresponding value) from this hashtable.Removes the mapping for this key from this map if present.boolean
Removes the entry for the specified key only if it is currently mapped to the specified value.boolean
Removes the first occurrence of the specified element from this list, if it is present.boolean
Removes the first occurrence of the specified element from this list, if it is present (optional operation).Removes the mapping for a key from this map if it is present (optional operation).default boolean
Removes the entry for the specified key only if it is currently mapped to the specified value.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes the specified element from this set if it is present (optional operation).Removes the mapping for this key from this TreeMap if present.boolean
Removes the specified element from this set if it is present.boolean
Removes the first occurrence of the specified element in this Vector If the Vector does not contain the element, it is unchanged.Removes the mapping for a key from this weak hash map if it is present.boolean
Vector.removeElement
(Object obj) Removes the first (lowest-indexed) occurrence of the argument from this vector.boolean
ArrayDeque.removeFirstOccurrence
(Object o) Removes the first occurrence of the specified element in this deque (when traversing the deque from head to tail).boolean
Deque.removeFirstOccurrence
(Object o) Removes the first occurrence of the specified element from this deque.boolean
LinkedList.removeFirstOccurrence
(Object o) Removes the first occurrence of the specified element in this list (when traversing the list from head to tail).boolean
ArrayDeque.removeLastOccurrence
(Object o) Removes the last occurrence of the specified element in this deque (when traversing the deque from head to tail).boolean
Deque.removeLastOccurrence
(Object o) Removes the last occurrence of the specified element from this deque.boolean
LinkedList.removeLastOccurrence
(Object o) Removes the last occurrence of the specified element in this list (when traversing the list from head to tail).int
Returns the 1-based position where an object is on this stack.static <T> void
Arrays.setAll
(T[] array, IntFunction<? extends T> generator) Set all elements of the specified array, using the provided generator function to compute each element.static void
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.static void
Sorts the specified range of the specified array of objects into ascending order, according to the natural ordering of its elements.static <T> void
Arrays.sort
(T[] a, int fromIndex, int toIndex, Comparator<? super T> c) Sorts the specified range of the specified array of objects according to the order induced by the specified comparator.static <T> void
Arrays.sort
(T[] a, Comparator<? super T> c) Sorts the specified array of objects according to the order induced by the specified comparator.static <T> Spliterator<T>
Arrays.spliterator
(T[] array) Returns aSpliterator
covering all of the specified array.static <T> Spliterator<T>
Arrays.spliterator
(T[] array, int startInclusive, int endExclusive) Returns aSpliterator
covering the specified range of the specified array.static <T> Spliterator<T>
Spliterators.spliterator
(Object[] array, int additionalCharacteristics) Creates aSpliterator
covering the elements of a given array, using a customized set of spliterator characteristics.static <T> Spliterator<T>
Spliterators.spliterator
(Object[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates aSpliterator
covering a range of elements of a given array, using a customized set of spliterator characteristics.static <T> Stream<T>
Arrays.stream
(T[] array) Returns a sequentialStream
with the specified array as its source.static <T> Stream<T>
Arrays.stream
(T[] array, int startInclusive, int endExclusive) Returns a sequentialStream
with the specified range of the specified array as its source.<T> T[]
AbstractCollection.toArray
(T[] a) Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.<T> T[]
ArrayDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
ArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
Collection.toArray
(T[] a) Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.<T> T[]
HashSet.toArray
(T[] a) <T> T[]
LinkedList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
List.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
PriorityQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.<T> T[]
Set.toArray
(T[] a) Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.<T> T[]
Vector.toArray
(T[] a) Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array.static String
Objects.toIdentityString
(Object o) Returns a string equivalent to the string returned byObject.toString
if that method andhashCode
are not overridden.static String
Returns a string representation of the contents of the specified array.static String
Returns the result of callingtoString
for a non-null
argument and"null"
for anull
argument.static String
Returns the result of callingtoString
on the first argument if the first argument is notnull
and returns the second argument otherwise.void
Observer.update
(Observable o, Object arg) Deprecated.This method is called whenever the observed object is changed. -
Uses of Object in java.util.concurrent
Modifier and TypeClassDescriptionclass
Provides default implementations ofExecutorService
execution methods.class
A bounded blocking queue backed by an array.class
Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.class
Exception indicating that the result of a value-producing task, such as aFutureTask
, cannot be retrieved because the task was cancelled.class
AFuture
that may be explicitly completed (setting its value and status), and may be used as aCompletionStage
, supporting dependent functions and actions that trigger upon its completion.class
Exception thrown when an error or other exception is encountered in the course of completing a result or task.class
ConcurrentHashMap<K,
V> A hash table supporting full concurrency of retrievals and high expected concurrency for updates.static final class
A view of a ConcurrentHashMap as aSet
of keys, in which additions may optionally be enabled by mapping to a common value.class
An unbounded concurrent deque based on linked nodes.class
An unbounded thread-safe queue based on linked nodes.class
A scalable concurrentConcurrentNavigableMap
implementation.class
A scalable concurrentNavigableSet
implementation based on aConcurrentSkipListMap
.class
A thread-safe variant ofArrayList
in which all mutative operations (add
,set
, and so on) are implemented by making a fresh copy of the underlying array.class
ASet
that uses an internalCopyOnWriteArrayList
for all of its operations.class
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.class
AForkJoinTask
with a completion action performed when triggered and there are no remaining pending actions.class
A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point.class
DelayQueue<E extends Delayed>
An unbounded blocking queue ofDelayed
elements, in which an element can only be taken when its delay has expired.class
Exchanger<V>
A synchronization point at which threads can pair and swap elements within pairs.class
Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.class
ACompletionService
that uses a suppliedExecutor
to execute tasks.class
Factory and utility methods forExecutor
,ExecutorService
,ScheduledExecutorService
,ThreadFactory
, andCallable
classes defined in this package.final class
Interrelated interfaces and static methods for establishing flow-controlled components in whichPublishers
produce items consumed by one or moreSubscribers
, each managed by aSubscription
.class
AnExecutorService
for runningForkJoinTask
s.class
ForkJoinTask<V>
Abstract base class for tasks that run within aForkJoinPool
.class
A thread managed by aForkJoinPool
, which executesForkJoinTask
s.class
FutureTask<V>
A cancellable asynchronous computation.class
An optionally-bounded blocking deque based on linked nodes.class
An optionally-bounded blocking queue based on linked nodes.class
An unboundedTransferQueue
based on linked nodes.class
A reusable synchronization barrier, similar in functionality toCyclicBarrier
andCountDownLatch
but supporting more flexible usage.class
An unbounded blocking queue that uses the same ordering rules as classPriorityQueue
and supplies blocking retrieval operations.class
A recursive resultlessForkJoinTask
.class
A recursive result-bearingForkJoinTask
.class
Exception thrown by anExecutor
when a task cannot be accepted for execution.class
AThreadPoolExecutor
that can additionally schedule commands to run after a given delay, or to execute periodically.class
A counting semaphore.class
AFlow.Publisher
that asynchronously issues submitted (non-null) items to current subscribers until it is closed.class
A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.final class
A random number generator (with period 264) isolated to the current thread.class
AnExecutorService
that executes each submitted task using one of possibly several pooled threads, normally configured usingExecutors
factory methods.static class
A handler for rejected tasks that throws aRejectedExecutionException
.static class
A handler for rejected tasks that runs the rejected task directly in the calling thread of theexecute
method, unless the executor has been shut down, in which case the task is discarded.static class
A handler for rejected tasks that discards the oldest unhandled request and then retriesexecute
, unless the executor is shut down, in which case the task is discarded.static class
A handler for rejected tasks that silently discards the rejected task.class
Exception thrown when a blocking operation times out.Modifier and TypeMethodDescriptionCopyOnWriteArrayList.clone()
Returns a shallow copy of this list.Object[]
ArrayBlockingQueue.toArray()
Returns an array containing all of the elements in this queue, in proper sequence.<T> T[]
ArrayBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.Object[]
ConcurrentLinkedDeque.toArray()
Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).<T> T[]
ConcurrentLinkedDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
ConcurrentLinkedQueue.toArray()
Returns an array containing all of the elements in this queue, in proper sequence.<T> T[]
ConcurrentLinkedQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.Object[]
CopyOnWriteArrayList.toArray()
Returns an array containing all of the elements in this list in proper sequence (from first to last element).<T> T[]
CopyOnWriteArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
CopyOnWriteArraySet.toArray()
Returns an array containing all of the elements in this set.<T> T[]
CopyOnWriteArraySet.toArray
(T[] a) Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.Object[]
DelayQueue.toArray()
Returns an array containing all of the elements in this queue.<T> T[]
DelayQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.Object[]
LinkedBlockingDeque.toArray()
Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).<T> T[]
LinkedBlockingDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.Object[]
LinkedBlockingQueue.toArray()
Returns an array containing all of the elements in this queue, in proper sequence.<T> T[]
LinkedBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.Object[]
LinkedTransferQueue.toArray()
Returns an array containing all of the elements in this queue, in proper sequence.<T> T[]
LinkedTransferQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.Object[]
PriorityBlockingQueue.toArray()
Returns an array containing all of the elements in this queue.<T> T[]
PriorityBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.Object[]
SynchronousQueue.toArray()
Returns a zero-length array.<T> T[]
SynchronousQueue.toArray
(T[] a) Sets the zeroth element of the specified array tonull
(if the array has non-zero length) and returns it.Modifier and TypeMethodDescriptionstatic CompletableFuture<Object>
CompletableFuture.anyOf
(CompletableFuture<?>... cfs) Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result.Returns aCallable
object that, when called, runs the given task and returnsnull
.Executors.callable
(PrivilegedAction<?> action) Returns aCallable
object that, when called, runs the given privileged action and returns its result.Executors.callable
(PrivilegedExceptionAction<?> action) Returns aCallable
object that, when called, runs the given privileged exception action and returns its result.Modifier and TypeMethodDescriptionboolean
Returnstrue
if this queue contains the specified element.boolean
Returnstrue
if this deque contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Tests if some key maps into the specified value in this table.boolean
Returnstrue
if this collection contains the specified element.boolean
Returnstrue
if this deque contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Returnstrue
if this set contains the specified element.boolean
Returnstrue
if this list contains the specified element.boolean
Returnstrue
if this set contains the specified element.boolean
Returnstrue
if this deque contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Returnstrue
if this queue contains the specified element.boolean
Always returnsfalse
.boolean
ConcurrentHashMap.containsKey
(Object key) Tests if the specified object is a key in this table.boolean
ConcurrentSkipListMap.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
ConcurrentHashMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
ConcurrentSkipListMap.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.boolean
Compares the specified object with this map for equality.boolean
boolean
Compares the specified object with this map for equality.boolean
Compares the specified object with this set for equality.boolean
Compares the specified object with this list for equality.boolean
Compares the specified object with this set for equality.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.ConcurrentHashMap.getOrDefault
(Object key, V defaultValue) Returns the value to which the specified key is mapped, or the given default value if this map contains no mapping for the key.default V
ConcurrentMap.getOrDefault
(Object key, V defaultValue) Returns the value to which the specified key is mapped, ordefaultValue
if this map contains no mapping for the key.ConcurrentSkipListMap.getOrDefault
(Object key, V defaultValue) Returns the value to which the specified key is mapped, or the given defaultValue if this map contains no mapping for the key.int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.int
CopyOnWriteArrayList.lastIndexOf
(Object o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes the first occurrence of the specified element from this deque.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes the key from this map view, by removing the key (and its corresponding value) from the backing map.Removes the key (and its corresponding value) from this map.boolean
Removes the entry for a key only if currently mapped to a given value.boolean
Removes the first occurrence of the specified element from this deque.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes the entry for a key only if currently mapped to a given value.Removes the mapping for the specified key from this map if present.boolean
Removes the entry for a key only if currently mapped to a given value.boolean
Removes the specified element from this set if it is present.boolean
Removes the first occurrence of the specified element from this list, if it is present.boolean
Removes the specified element from this set if it is present.boolean
Removes a single instance of the specified element from this queue, if it is present, whether or not it has expired.boolean
Removes the first occurrence of the specified element from this deque.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Removes a single instance of the specified element from this queue, if it is present.boolean
Always returnsfalse
.boolean
BlockingDeque.removeFirstOccurrence
(Object o) Removes the first occurrence of the specified element from this deque.boolean
ConcurrentLinkedDeque.removeFirstOccurrence
(Object o) Removes the first occurrence of the specified element from this deque.boolean
LinkedBlockingDeque.removeFirstOccurrence
(Object o) boolean
BlockingDeque.removeLastOccurrence
(Object o) Removes the last occurrence of the specified element from this deque.boolean
ConcurrentLinkedDeque.removeLastOccurrence
(Object o) Removes the last occurrence of the specified element from this deque.boolean
LinkedBlockingDeque.removeLastOccurrence
(Object o) void
Performs a timedObject.wait
using this time unit.<T> T[]
ArrayBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
ConcurrentLinkedDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
ConcurrentLinkedQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
CopyOnWriteArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
CopyOnWriteArraySet.toArray
(T[] a) Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.<T> T[]
DelayQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.<T> T[]
LinkedBlockingDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
LinkedBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
LinkedTransferQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
PriorityBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue; the runtime type of the returned array is that of the specified array.<T> T[]
SynchronousQueue.toArray
(T[] a) Sets the zeroth element of the specified array tonull
(if the array has non-zero length) and returns it.ModifierConstructorDescriptionCopyOnWriteArrayList
(E[] toCopyIn) Creates a list holding a copy of the given array. -
Uses of Object in java.util.concurrent.atomic
Modifier and TypeClassDescriptionclass
Aboolean
value that may be updated atomically.class
Anint
value that may be updated atomically.class
Anint
array in which elements may be updated atomically.class
A reflection-based utility that enables atomic updates to designatedvolatile int
fields of designated classes.class
Along
value that may be updated atomically.class
Along
array in which elements may be updated atomically.class
A reflection-based utility that enables atomic updates to designatedvolatile long
fields of designated classes.class
AnAtomicMarkableReference
maintains an object reference along with a mark bit, that can be updated atomically.class
An object reference that may be updated atomically.class
An array of object references in which elements may be updated atomically.class
A reflection-based utility that enables atomic updates to designatedvolatile
reference fields of designated classes.class
AnAtomicStampedReference
maintains an object reference along with an integer "stamp", that can be updated atomically.class
One or more variables that together maintain a runningdouble
value updated using a supplied function.class
One or more variables that together maintain an initially zerodouble
sum.class
One or more variables that together maintain a runninglong
value updated using a supplied function.class
One or more variables that together maintain an initially zerolong
sum.ModifierConstructorDescriptionAtomicReferenceArray
(E[] array) Creates a new AtomicReferenceArray with the same length as, and all elements copied from, the given array. -
Uses of Object in java.util.concurrent.locks
Modifier and TypeClassDescriptionclass
A synchronizer that may be exclusively owned by a thread.class
A version ofAbstractQueuedSynchronizer
in which synchronization state is maintained as along
.class
Condition implementation for aAbstractQueuedLongSynchronizer
serving as the basis of aLock
implementation.class
Provides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues.class
Condition implementation for aAbstractQueuedSynchronizer
serving as the basis of aLock
implementation.class
Basic thread blocking primitives for creating locks and other synchronization classes.class
A reentrant mutual exclusionLock
with the same basic behavior and semantics as the implicit monitor lock accessed usingsynchronized
methods and statements, but with extended capabilities.class
An implementation ofReadWriteLock
supporting similar semantics toReentrantLock
.static class
The lock returned by methodReentrantReadWriteLock.readLock()
.static class
The lock returned by methodReentrantReadWriteLock.writeLock()
.class
A capability-based lock with three modes for controlling read/write access.Modifier and TypeMethodDescriptionstatic Object
LockSupport.getBlocker
(Thread t) Returns the blocker object supplied to the most recent invocation of a park method that has not yet unblocked, or null if not blocked.Modifier and TypeMethodDescriptionstatic void
Disables the current thread for thread scheduling purposes unless the permit is available.static void
Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available.static void
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available.static void
LockSupport.setCurrentBlocker
(Object blocker) Sets the object to be returned by invocations ofgetBlocker
for the current thread. -
Uses of Object in java.util.function
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
Returns a predicate that tests if two arguments are equal according toObjects.equals(Object, Object)
. -
Uses of Object in java.util.jar
Modifier and TypeClassDescriptionclass
The Attributes class maps Manifest attribute names to associated string values.static class
The Attributes.Name class represents an attribute name stored in this Map.class
This class is used to represent a JAR file entry.class
Signals that an error of some sort has occurred while reading from or writing to a JAR file.class
TheJarFile
class is used to read the contents of a jar file from any file that can be opened withjava.io.RandomAccessFile
.class
TheJarInputStream
class, which extendsZipInputStream
, is used to read the contents of a JAR file from an input stream.class
TheJarOutputStream
class is used to write the contents of a JAR file to any output stream.class
The Manifest class is used to maintain Manifest entry names and their associated Attributes.Modifier and TypeFieldDescriptionAttributes.map
The attribute name-value mappings.Attributes.map
The attribute name-value mappings.Modifier and TypeMethodDescriptionAttributes.clone()
Returns a copy of the Attributes, implemented as follows:Manifest.clone()
Returns a shallow copy of this Manifest.Returns the value of the specified attribute name, or null if the attribute name was not found.Associates the specified value with the specified attribute name (key) in this Map.Removes the attribute with the specified name (key) from this Map.Modifier and TypeMethodDescriptionAttributes.entrySet()
Returns a Collection view of the attribute name-value mappings contained in this Map.Attributes.entrySet()
Returns a Collection view of the attribute name-value mappings contained in this Map.Attributes.keySet()
Returns a Set view of the attribute names (keys) contained in this Map.Attributes.values()
Returns a Collection view of the attribute values contained in this Map.Modifier and TypeMethodDescriptionboolean
Attributes.containsKey
(Object name) Returns true if this Map contains the specified attribute name (key).boolean
Attributes.containsValue
(Object value) Returns true if this Map maps one or more attribute names (keys) to the specified value.boolean
Compares the specified object to the underlying map for equality.boolean
Compares this attribute name to another for equality.boolean
Returns true if the specified Object is also a Manifest and has the same main Attributes and entries.Returns the value of the specified attribute name, or null if the attribute name was not found.Associates the specified value with the specified attribute name (key) in this Map.Removes the attribute with the specified name (key) from this Map. -
Uses of Object in java.util.logging
Modifier and TypeClassDescriptionclass
ThisHandler
publishes log records toSystem.err
.class
ErrorManager objects can be attached to Handlers to process any error that occurs on a Handler during Logging.class
Simple file loggingHandler
.class
A Formatter provides support for formatting LogRecords.class
AHandler
object takes log messages from aLogger
and exports them.class
The Level class defines a set of standard logging levels that can be used to control logging output.class
A Logger object is used to log messages for a specific system or application component.final class
The permission which the SecurityManager will check when code that is running with a SecurityManager calls one of the logging control methods (such as Logger.setLevel).class
There is a single global LogManager object that is used to maintain a set of shared state about Loggers and log services.class
LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.class
Handler
that buffers requests in a circular buffer in memory.class
Print a brief summary of theLogRecord
in a human readable format.class
Simple network loggingHandler
.class
Stream based loggingHandler
.class
Format a LogRecord into a standard XML format.Modifier and TypeMethodDescriptionObject[]
LogRecord.getParameters()
Get the parameters to the log message.Modifier and TypeMethodDescriptionvoid
Log a method entry, with one parameter.void
Log a method entry, with an array of parameters.boolean
Compare two objects for value equality.void
Log a method return, with result object.void
Log a message, with one object parameter.void
Log a message, with an array of object arguments.void
Log a message, specifying source class and method, with a single object parameter to the log message.void
Log a message, specifying source class and method, with an array of object arguments.void
Logger.logrb
(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) void
Logger.logrb
(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params) void
Logger.logrb
(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params) Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.void
Logger.logrb
(Level level, ResourceBundle bundle, String msg, Object... params) Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.void
LogRecord.setParameters
(Object[] parameters) Set the parameters to the log message. -
Uses of Object in java.util.prefs
Modifier and TypeClassDescriptionclass
This class provides a skeletal implementation of thePreferences
class, greatly easing the task of implementing it.class
Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.class
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per thePreferences
specification.class
An event emitted by aPreferences
node to indicate that a child of that node has been added or removed.class
An event emitted by aPreferences
node to indicate that a preference has been added, removed or has had its value changed.class
A node in a hierarchical collection of preference data. -
Uses of Object in java.util.random
Modifier and TypeClassDescriptionfinal class
RandomGeneratorFactory<T extends RandomGenerator>
This is a factory class for generating multiple random number generators of a specific algorithm. -
Uses of Object in java.util.regex
Modifier and TypeClassDescriptionfinal class
An engine that performs match operations on a character sequence by interpreting aPattern
.final class
A compiled representation of a regular expression.class
Unchecked exception thrown to indicate a syntax error in a regular-expression pattern. -
Uses of Object in java.util.spi
Modifier and TypeClassDescriptionclass
AbstractResourceBundleProvider
is an abstract class that provides the basic support for a provider implementation class forResourceBundleProvider
.class
An abstract class for service providers that provide locale-dependentCalendar
parameters.class
An abstract class for service providers that provide localized string representations (display names) ofCalendar
field values.class
An abstract class for service providers that provide localized currency symbols and display names for theCurrency
class.class
An abstract class for service providers that provide localized names for theLocale
class.class
This is the super class of all the locale sensitive service provider interfaces (SPIs).class
An abstract class for service providers that provide localized time zone names for theTimeZone
class. -
Uses of Object in java.util.stream
Modifier and TypeClassDescriptionfinal class
Implementations ofCollector
that implement various useful reduction operations, such as accumulating elements into collections, summarizing elements according to various criteria, etc.final class
Low-level utility methods for creating and manipulating streams.Modifier and TypeMethodDescriptionObject[]
Stream.toArray()
Returns an array containing the elements of this stream.<A> A[]
Stream.toArray
(IntFunction<A[]> generator) Returns an array containing the elements of this stream, using the providedgenerator
function to allocate the returned array, as well as any additional arrays that might be required for a partitioned execution or for resizing. -
Uses of Object in java.util.zip
Modifier and TypeClassDescriptionclass
A class that can be used to compute the Adler-32 checksum of a data stream.class
An input stream that also maintains a checksum of the data being read.class
An output stream that also maintains a checksum of the data being written.class
A class that can be used to compute the CRC-32 of a data stream.final class
A class that can be used to compute the CRC-32C of a data stream.class
Signals that a data format error has occurred.class
This class provides support for general purpose compression using the popular ZLIB compression library.class
Implements an input stream filter for compressing data in the "deflate" compression format.class
This class implements an output stream filter for compressing data in the "deflate" compression format.class
This class implements a stream filter for reading compressed data in the GZIP file format.class
This class implements a stream filter for writing compressed data in the GZIP file format.class
This class provides support for general purpose decompression using the popular ZLIB compression library.class
This class implements a stream filter for uncompressing data in the "deflate" compression format.class
Implements an output stream filter for uncompressing data stored in the "deflate" compression format.class
This class is used to represent a ZIP file entry.class
Signals that an unrecoverable error has occurred.class
Signals that a Zip exception of some sort has occurred.class
This class is used to read entries from a zip file.class
An input stream for reading compressed and uncompressed ZIP file entries from a stream of bytes in the ZIP file format.class
This class implements an output stream filter for writing files in the ZIP file format. -
Uses of Object in javax.accessibility
Modifier and TypeClassDescriptionclass
Service Provider Interface (SPI) for Assistive Technology.class
This class collects together the span of text that share the same contiguous set of attributes, along with that set of attributes.class
Base class used to maintain a strongly typed enumeration.class
AccessibleContext
represents the minimum information all accessible objects return.class
Encapsulation of a link, or set of links (e.g. client side imagemap) in a Hypertext documentclass
ClassAccessibleRelation
describes a relation between the object that implements theAccessibleRelation
and one or more other objects.class
ClassAccessibleRelationSet
determines a component's relation set.class
Deprecated.This class is deprecated as of version 1.3 of the Java Platformclass
ClassAccessibleRole
determines the role of a component.class
ClassAccessibleState
describes a component's particular state.class
ClassAccessibleStateSet
determines a component's state set.class
This class collects together key details of a span of text.Modifier and TypeMethodDescriptionabstract Object
AccessibleHyperlink.getAccessibleActionAnchor
(int i) Returns an object that represents the link anchor, as appropriate for that link.abstract Object
AccessibleHyperlink.getAccessibleActionObject
(int i) Returns an object that represents the link action, as appropriate for that link.AccessibleKeyBinding.getAccessibleKeyBinding
(int i) Returns a key binding for this object.Object[][]
AccessibleResourceBundle.getContents()
Deprecated.Returns the mapping between the programmatic keys and the localized display strings.Object[]
AccessibleRelation.getTarget()
Returns the target objects for this relation.Modifier and TypeMethodDescriptionvoid
AccessibleContext.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes.void
Sets the target object for this relation.void
Sets the target objects for this relation.ModifierConstructorDescriptionAccessibleRelation
(String key, Object target) Creates a newAccessibleRelation
using the given locale independent key.AccessibleRelation
(String key, Object[] target) Creates a newAccessibleRelation
using the given locale independent key. -
Uses of Object in javax.annotation.processing
Modifier and TypeClassDescriptionclass
An abstract annotation processor designed to be a convenient superclass for most concrete annotation processors.class
Utility class for assemblingCompletion
objects.class
Indicates aFiler
detected an attempt to open a file that would violate the guarantees provided by theFiler
. -
Uses of Object in javax.crypto
Modifier and TypeClassDescriptionclass
This exception is thrown when aCipher
operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.class
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.class
This class provides the functionality of a cryptographic cipher for encryption and decryption.class
ACipherInputStream
is composed of anInputStream
and aCipher
object so that read() methods return data that are read in from the underlyingInputStream
but have been additionally processed by theCipher
object.class
ACipherOutputStream
is composed of anOutputStream
and aCipher
object so that write() methods first process the data before writing them out to the underlyingOutputStream
.class
This class defines the Service Provider Interface (SPI) for theCipher
class.class
This class implements theEncryptedPrivateKeyInfo
type as defined in PKCS #8.class
This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.class
This is the generic ExemptionMechanism exception.class
This class defines the Service Provider Interface (SPI) for theExemptionMechanism
class.class
This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.class
This class provides the functionality of a key agreement (or key exchange) protocol.class
This class defines the Service Provider Interface (SPI) for theKeyAgreement
class.class
This class provides the functionality of a secret (symmetric) key generator.class
This class defines the Service Provider Interface (SPI) for theKeyGenerator
class.class
This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.class
This class defines the Service Provider Interface (SPI) for theMac
class.class
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.class
TheNullCipher
class is a class that provides an "identity cipher" -- one that does not transform the plain text.class
This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.class
This class represents a factory for secret keys.class
This class defines the Service Provider Interface (SPI) for theSecretKeyFactory
class.class
This exception is thrown when an output buffer provided by the user is too short to hold the operation result.Modifier and TypeMethodDescriptionfinal Object
Mac.clone()
Returns a clone if the provider implementation is cloneable.MacSpi.clone()
Returns a clone if the implementation is cloneable.final Object
Retrieves the original (encapsulated) object.final Object
Retrieves the original (encapsulated) object.final Object
Retrieves the original (encapsulated) object. -
Uses of Object in javax.crypto.spec
Modifier and TypeClassDescriptionfinal class
This class specifies the parameters used with the ChaCha20 algorithm.class
This class specifies a DES-EDE ("triple-DES") key.class
This class specifies a DES key.class
This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.class
This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.class
This class specifies a Diffie-Hellman private key with its associated parameters.class
This class specifies a Diffie-Hellman public key with its associated parameters.class
Specifies the set of parameters required by aCipher
using the Galois/Counter Mode (GCM) mode.class
This class specifies an initialization vector (IV).class
This class specifies the set of parameters used with OAEP Padding, as defined in the PKCS#1 v2.2 standard.class
A user-chosen password that can be used with password-based encryption (PBE).class
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.class
This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS#1 v2.2 standard.static final class
This class is used to explicitly specify the value for encoding input P in OAEP Padding.class
This class specifies the parameters used with the RC2 algorithm.class
This class specifies the parameters used with the RC5 algorithm.class
This class specifies a secret key in a provider-independent fashion.Modifier and TypeMethodDescriptionboolean
Tests for equality between the specified object and this object.boolean
Tests for equality between the specified object and this object.boolean
Tests for equality between the specified object and this object. -
Uses of Object in javax.imageio
Modifier and TypeClassDescriptionclass
An exception class used for signaling run-time failure of reading and writing operations.class
A simple container class to aggregate an image, a set of thumbnail (preview) images, and an object representing metadata associated with the image.class
A superclass of all classes describing how streams should be decoded or encoded.final class
A class containing static convenience methods for locatingImageReader
s andImageWriter
s, and performing simple encoding and decoding.class
An abstract superclass for parsing and decoding of images.class
A class describing how a stream is to be decoded.class
A class that allows the format of an image (in particular, itsSampleModel
andColorModel
) to be specified in a convenient manner.class
A class describing how a stream is to be encoded.class
An abstract superclass for encoding and writing images.Modifier and TypeFieldDescriptionprotected Object
ImageReader.input
TheImageInputStream
or otherObject
bysetInput
and retrieved bygetInput
.protected Object
ImageWriter.output
TheImageOutputStream
or otherObject
set bysetOutput
and retrieved bygetOutput
.Modifier and TypeMethodDescriptionImageReader.getInput()
Returns theImageInputStream
or otherObject
previously set as the input source.ImageWriter.getOutput()
Returns theImageOutputStream
or otherObject
set by the most recent call to thesetOutput
method.Modifier and TypeMethodDescriptionstatic ImageInputStream
ImageIO.createImageInputStream
(Object input) Returns anImageInputStream
that will take its input from the givenObject
.static ImageOutputStream
ImageIO.createImageOutputStream
(Object output) Returns anImageOutputStream
that will send its output to the givenObject
.boolean
Returnstrue
if the givenObject
is anImageTypeSpecifier
and has aSampleModel
andColorModel
that are equal to those of this object.static Iterator<ImageReader>
ImageIO.getImageReaders
(Object input) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the suppliedObject
, typically anImageInputStream
.void
Sets the input source to use to the givenImageInputStream
or otherObject
.void
Sets the input source to use to the givenImageInputStream
or otherObject
.void
Sets the input source to use to the givenImageInputStream
or otherObject
.void
Sets the destination to the givenImageOutputStream
or otherObject
. -
Uses of Object in javax.imageio.metadata
Modifier and TypeClassDescriptionclass
AnIIOInvalidTreeException
is thrown when an attempt by anIIOMetadata
object to parse a tree ofIIOMetadataNode
s fails.class
An abstract class to be extended by objects that represent metadata (non-image data) associated with images and streams.class
A concrete class providing a reusable implementation of theIIOMetadataFormat
interface.class
A class representing a node in a meta-data tree, which implements theorg.w3c.dom.Element
interface and additionally allows for the storage of non-textual objects via thegetUserObject
andsetUserObject
methods.Modifier and TypeMethodDescriptionprotected <T extends Object & Comparable<? super T>>
voidIIOMetadataFormatImpl.addObjectValue
(String elementName, Class<T> classType, T defaultValue, Comparable<? super T> minValue, Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive) Allows anObject
reference of a given class type to be stored in nodes implementing the named element.Modifier and TypeMethodDescriptionIIOMetadataNode.getFeature
(String feature, String version) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataFormat.getObjectDefaultValue
(String elementName) Returns anObject
s containing the default value for theObject
reference within the named element.IIOMetadataFormatImpl.getObjectDefaultValue
(String elementName) Object[]
IIOMetadataFormat.getObjectEnumerations
(String elementName) Returns an array ofObject
s containing the legal enumerated values for theObject
reference within the named element.Object[]
IIOMetadataFormatImpl.getObjectEnumerations
(String elementName) IIOMetadataNode.getUserData
(String key) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getUserObject()
Returns theObject
value associated with this node.IIOMetadataNode.setUserData
(String key, Object data, UserDataHandler handler) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.Modifier and TypeMethodDescriptionIIOMetadataNode.setUserData
(String key, Object data, UserDataHandler handler) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.void
IIOMetadataNode.setUserObject
(Object userObject) Sets the value associated with this node. -
Uses of Object in javax.imageio.plugins.bmp
Modifier and TypeClassDescriptionclass
A subclass ofImageWriteParam
for encoding images in the BMP format. -
Uses of Object in javax.imageio.plugins.jpeg
Modifier and TypeClassDescriptionclass
A class encapsulating a single JPEG Huffman table.class
This class adds the ability to set JPEG quantization and Huffman tables when using the built-in JPEG reader plug-in.class
This class adds the ability to set JPEG quantization and Huffman tables when using the built-in JPEG writer plug-in, and to request that optimized Huffman tables be computed for an image.class
A class encapsulating a single JPEG quantization table. -
Uses of Object in javax.imageio.plugins.tiff
Modifier and TypeClassDescriptionfinal class
A class representing the set of tags found in the baseline TIFF specification as well as some common additional tags.final class
A class representing the tags found in an Exif GPS Info IFD.final class
A class representing the tags found in an Exif Interoperability IFD.final class
A class containing the TIFF tags used to reference the Exif and GPS IFDs.final class
A class representing the tags found in an Exif IFD.final class
A class representing the extra tags found in a TIFF-F (RFC 2036) file.final class
A class representing the tags found in a GeoTIFF IFD.class
A convenience class for simplifying interaction with TIFF native image metadata.final class
A class representing a field in a TIFF 6.0 Image File Directory.final class
A subclass ofImageReadParam
allowing control over the TIFF reading process.class
A class defining the notion of a TIFF tag.class
A class representing a set of TIFF tags.Modifier and TypeMethodDescriptionstatic Object
TIFFField.createArrayForType
(int dataType, int count) Creates an array appropriate for the indicated data type.TIFFField.getData()
Returns a reference to the data object associated with the field. -
Uses of Object in javax.imageio.spi
Modifier and TypeClassDescriptionfinal class
A registry for Image I/O service provider instances.class
A superinterface for functionality common to all Image I/O service provider interfaces (SPIs).class
The service provider interface (SPI) forImageInputStream
s.class
The service provider interface (SPI) forImageOutputStream
s.class
The service provider interface (SPI) forImageReader
s.class
A superclass containing instance variables and methods common toImageReaderSpi
andImageWriterSpi
.class
The service provider interface (SPI) forImageTranscoder
s.class
The service provider interface (SPI) forImageWriter
s.class
A registry for service provider instances for Image I/O service types.Modifier and TypeMethodDescriptionabstract boolean
ImageReaderSpi.canDecodeInput
(Object source) Returnstrue
if the supplied source object appears to be of the format supported by this reader.boolean
Returnstrue
ifprovider
is currently registered.ImageInputStreamSpi.createInputStreamInstance
(Object input) Returns an instance of theImageInputStream
implementation associated with this service provider.abstract ImageInputStream
ImageInputStreamSpi.createInputStreamInstance
(Object input, boolean useCache, File cacheDir) Returns an instance of theImageInputStream
implementation associated with this service provider.ImageOutputStreamSpi.createOutputStreamInstance
(Object output) Returns an instance of theImageOutputStream
implementation associated with this service provider.abstract ImageOutputStream
ImageOutputStreamSpi.createOutputStreamInstance
(Object output, boolean useCache, File cacheDir) Returns an instance of theImageOutputStream
implementation associated with this service provider.abstract ImageReader
ImageReaderSpi.createReaderInstance
(Object extension) Returns an instance of theImageReader
implementation associated with this service provider.abstract ImageWriter
ImageWriterSpi.createWriterInstance
(Object extension) Returns an instance of theImageWriter
implementation associated with this service provider.void
ServiceRegistry.deregisterServiceProvider
(Object provider) Removes a service provider object from all categories that contain it.boolean
Returnstrue
if the givenprovider
object matches the criterion defined by thisFilter
.void
ServiceRegistry.registerServiceProvider
(Object provider) Adds a service provider object to the registry. -
Uses of Object in javax.imageio.stream
Modifier and TypeClassDescriptionclass
An implementation ofImageInputStream
that gets its input from a regularInputStream
.class
An implementation ofImageOutputStream
that writes its output to a regularOutputStream
.class
An implementation ofImageInputStream
that gets its input from aFile
orRandomAccessFile
.class
An implementation ofImageOutputStream
that writes its output directly to aFile
orRandomAccessFile
.class
A class representing a mutable reference to an array of bytes and an offset and length within that array.class
An abstract class implementing theImageInputStream
interface.class
An abstract class implementing theImageOutputStream
interface.class
An implementation ofImageInputStream
that gets its input from a regularInputStream
.class
An implementation ofImageOutputStream
that writes its output to a regularOutputStream
. -
Uses of Object in javax.lang.model
Modifier and TypeClassDescriptionclass
Superclass of exceptions which indicate that an unknown kind of entity was encountered. -
Uses of Object in javax.lang.model.element
Modifier and TypeClassDescriptionclass
Indicates that an unknown kind of annotation value was encountered.class
Indicates that an unknown kind of module directive was encountered.class
Indicates that an unknown kind of element was encountered.Modifier and TypeMethodDescriptionUnknownAnnotationValueException.getArgument()
Returns the additional argument.UnknownDirectiveException.getArgument()
Returns the additional argument.UnknownElementException.getArgument()
Returns the additional argument.VariableElement.getConstantValue()
Returns the value of this variable if this is afinal
field initialized to a compile-time constant.AnnotationValue.getValue()
Returns the value.Modifier and TypeMethodDescriptionboolean
Returnstrue
if the argument represents the same element asthis
, orfalse
otherwise.boolean
Returnstrue
if the argument represents the same name asthis
, andfalse
otherwise.ModifierConstructorDescriptionCreates a newUnknownAnnotationValueException
.Creates a newUnknownElementException
.Creates a newUnknownElementException
. -
Uses of Object in javax.lang.model.type
Modifier and TypeClassDescriptionclass
Thrown when an application attempts to access theClass
object corresponding to aTypeMirror
.class
Thrown when an application attempts to access a sequence ofClass
objects each corresponding to aTypeMirror
.class
Indicates that an unknown kind of type was encountered.Modifier and TypeMethodDescriptionUnknownTypeException.getArgument()
Returns the additional argument.ModifierConstructorDescriptionCreates a newUnknownTypeException
.Thep
parameter may be used to pass in an additional argument with information about the context in which the unknown type was encountered; for example, the visit methods ofTypeVisitor
may pass in their additional parameter. -
Uses of Object in javax.lang.model.util
Modifier and TypeClassDescriptionclass
A skeletal visitor for annotation values with default behavior appropriate for source versionRELEASE_14
.class
A skeletal visitor for annotation values with default behavior appropriate for theRELEASE_6
source version.class
A skeletal visitor for annotation values with default behavior appropriate for theRELEASE_7
source version.class
A skeletal visitor for annotation values with default behavior appropriate for theRELEASE_8
source version.class
A skeletal visitor for annotation values with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
A skeletal visitor of program elements with default behavior appropriate for theRELEASE_14
source version.class
A skeletal visitor of program elements with default behavior appropriate for theRELEASE_6
source version.class
A skeletal visitor of program elements with default behavior appropriate for theRELEASE_7
source version.class
A skeletal visitor of program elements with default behavior appropriate for theRELEASE_8
source version.class
A skeletal visitor of program elements with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
A skeletal visitor of types with default behavior appropriate for theRELEASE_14
source version.class
AbstractTypeVisitor6<R,
P> A skeletal visitor of types with default behavior appropriate for theRELEASE_6
source version.class
AbstractTypeVisitor7<R,
P> A skeletal visitor of types with default behavior appropriate for theRELEASE_7
source version.class
AbstractTypeVisitor8<R,
P> A skeletal visitor of types with default behavior appropriate for theRELEASE_8
source version.class
AbstractTypeVisitor9<R,
P> A skeletal visitor of types with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
Filters for selecting just the elements of interest from a collection of elements.class
ElementKindVisitor14<R,
P> A visitor of program elements based on their kind with default behavior appropriate for theRELEASE_14
source version.class
ElementKindVisitor6<R,
P> class
ElementKindVisitor7<R,
P> class
ElementKindVisitor8<R,
P> class
ElementKindVisitor9<R,
P> A visitor of program elements based on their kind with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
ElementScanner14<R,
P> A scanning visitor of program elements with default behavior appropriate for theRELEASE_14
source version.class
ElementScanner6<R,
P> A scanning visitor of program elements with default behavior appropriate for theRELEASE_6
source version.class
ElementScanner7<R,
P> A scanning visitor of program elements with default behavior appropriate for theRELEASE_7
source version.class
ElementScanner8<R,
P> A scanning visitor of program elements with default behavior appropriate for theRELEASE_8
source version.class
ElementScanner9<R,
P> A scanning visitor of program elements with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
A simple visitor for annotation values with default behavior appropriate for source versionRELEASE_14
.class
A simple visitor for annotation values with default behavior appropriate for theRELEASE_6
source version.class
A simple visitor for annotation values with default behavior appropriate for theRELEASE_7
source version.class
A simple visitor for annotation values with default behavior appropriate for theRELEASE_8
source version.class
A simple visitor for annotation values with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
A simple visitor of program elements with default behavior appropriate for theRELEASE_14
source version.class
A simple visitor of program elements with default behavior appropriate for theRELEASE_6
source version.class
A simple visitor of program elements with default behavior appropriate for theRELEASE_7
source version.class
A simple visitor of program elements with default behavior appropriate for theRELEASE_8
source version.class
A simple visitor of program elements with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
SimpleTypeVisitor14<R,
P> A simple visitor of types with default behavior appropriate for source versionRELEASE_14
.class
SimpleTypeVisitor6<R,
P> A simple visitor of types with default behavior appropriate for theRELEASE_6
source version.class
SimpleTypeVisitor7<R,
P> A simple visitor of types with default behavior appropriate for theRELEASE_7
source version.class
SimpleTypeVisitor8<R,
P> A simple visitor of types with default behavior appropriate for theRELEASE_8
source version.class
SimpleTypeVisitor9<R,
P> A simple visitor of types with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.class
TypeKindVisitor14<R,
P> A visitor of types based on their kind with default behavior appropriate for source versionRELEASE_14
.class
TypeKindVisitor6<R,
P> class
TypeKindVisitor7<R,
P> class
TypeKindVisitor8<R,
P> class
TypeKindVisitor9<R,
P> A visitor of types based on their kind with default behavior appropriate for source versionsRELEASE_9
throughRELEASE_14
.Modifier and TypeFieldDescriptionprotected final R
ElementScanner6.DEFAULT_VALUE
The specified default value.protected final R
SimpleAnnotationValueVisitor6.DEFAULT_VALUE
Default value to be returned;defaultAction
returns this value unless the method is overridden.protected final R
SimpleElementVisitor6.DEFAULT_VALUE
Default value to be returned;defaultAction
returns this value unless the method is overridden.protected final R
SimpleTypeVisitor6.DEFAULT_VALUE
Default value to be returned;defaultAction
returns this value unless the method is overridden.Modifier and TypeMethodDescriptionprotected R
SimpleAnnotationValueVisitor6.defaultAction
(Object o, P p) The default action for visit methods.Elements.getConstantExpression
(Object value) Returns the text of a constant expression representing a primitive value or a string. -
Uses of Object in javax.management
Modifier and TypeClassDescriptionclass
Represents an MBean attribute by associating its name with its value.class
Provides definitions of the attribute change notifications sent by MBeans.class
This class implements of theNotificationFilter
interface for theattribute change notification
.class
Represents a list of values for attributes of an MBean.class
The specified attribute does not exist or cannot be retrieved.class
Represents attributes used as arguments to relational constraints.class
Thrown when an invalid MBean attribute is passed to a query constructing method.class
Thrown when an invalid expression is passed to a method for constructing a query.class
Thrown when an invalid string operation is passed to a method for constructing a query.class
Deprecated.UseMBeanServer.getClassLoaderRepository()
instead.class
An immutable descriptor.class
The MBean is already registered in the repository.class
The specified MBean does not exist in the repository.class
An exception occurred during the introspection of an MBean.class
Thrown when an attempt is made to apply either of the following: A subquery expression to an MBean or a qualified attribute expression to an MBean of the wrong class.class
The value specified is not valid for the attribute.class
Exceptions thrown by JMX implementations.class
Runtime exceptions emitted by JMX implementations.class
Static methods from the JMX API.class
The specified MBean listener does not exist in the repository.class
The format of the string does not correspond to a valid ObjectName.class
Describes an MBean attribute exposed for management.class
Describes a constructor exposed by an MBean.class
Represents "user defined" exceptions thrown by MBean methods in the agent.class
Provides general information for an MBean descriptor object.class
Describes the management interface exposed by an MBean; that is, the set of attributes and operations which are available for management operations.class
TheMBeanNotificationInfo
class is used to describe the characteristics of the different notification instances emitted by an MBean, for a given Java class of notification.class
Describes a management operation exposed by an MBean.class
Describes an argument of an operation exposed by an MBean.class
Permission controlling access to MBeanServer operations.class
Wraps exceptions thrown by the preRegister(), preDeregister() methods of theMBeanRegistration
interface.class
This class represents a builder that creates a defaultMBeanServer
implementation.class
Represents the MBean server from the management point of view.class
Provides MBean server references.class
InvocationHandler
that forwards methods in an MBean's management interface through the MBean server to the MBean.class
Represents a notification emitted by the MBean Server through the MBeanServerDelegate MBean.class
A Permission to perform actions related to MBeanServers.class
This permission represents "trust" in a signer or codebase.class
Exception which occurs when trying to register an object in the MBean server that is not a JMX compliant MBean.class
The Notification class represents a notification emitted by an MBean.class
Provides an implementation ofNotificationEmitter
interface.class
Provides an implementation of theNotificationFilter
interface.class
Used to represent the object name of an MBean and its class name.class
Represents the object name of an MBean, or a pattern that can match the names of several MBeans.class
Represents exceptions thrown in the MBean server when performing operations on MBeans.class
Constructs query object constraints.class
Allows a query to be performed in the context of a specific MBean server.class
Represents exceptions thrown in the MBean server when using the java.lang.reflect classes to invoke methods on MBeans.class
When ajava.lang.Error
occurs in the agent it should be caught and re-thrown as aRuntimeErrorException
.class
Represents runtime exceptions thrown by MBean methods in the agent.class
Represents runtime exceptions thrown in the agent when performing operations on MBeans.class
Represents exceptions raised when a requested service is not supported.class
An MBean whose management interface is determined by reflection on a Java interface, and that emits notifications.class
An MBean whose management interface is determined by reflection on a Java interface.class
Represents strings that are arguments to relational constraints.Modifier and TypeFieldDescriptionprotected Object
Notification.source
This field hides theEventObject.source
field in the parent class to make it non-transient and therefore part of the serialized form.Modifier and TypeMethodDescriptionDescriptor.clone()
Returns a descriptor which is equal to this descriptor.MBeanAttributeInfo.clone()
Returns a shallow clone of this instance.MBeanConstructorInfo.clone()
Returns a shallow clone of this instance.MBeanInfo.clone()
Returns a shallow clone of this instance.MBeanNotificationInfo.clone()
Returns a shallow clone of this instance.MBeanOperationInfo.clone()
Returns a shallow clone of this instance.MBeanParameterInfo.clone()
Returns a shallow clone of this instance.protected Object
AttributeValueExp.getAttribute
(ObjectName name) Return the value of the given attribute in the named MBean.DynamicMBean.getAttribute
(String attribute) Obtain the value of a specific attribute of the Dynamic MBean.MBeanServer.getAttribute
(ObjectName name, String attribute) MBeanServerConnection.getAttribute
(ObjectName name, String attribute) Gets the value of a specific attribute of a named MBean.StandardMBean.getAttribute
(String attribute) Descriptor.getFieldValue
(String fieldName) Returns the value for a specific field name, or null if no value is present for that name.final Object
ImmutableDescriptor.getFieldValue
(String fieldName) Object[]
Descriptor.getFieldValues
(String... fieldNames) Returns all the field values in the descriptor as an array of Objects.final Object[]
ImmutableDescriptor.getFieldValues
(String... fieldNames) StandardMBean.getImplementation()
Get the implementation of this Standard MBean (or MXBean).AttributeChangeNotification.getNewValue()
Gets the new value of the attribute which has changed.AttributeChangeNotification.getOldValue()
Gets the old value of the attribute which has changed.Notification.getUserData()
Get the user data.Attribute.getValue()
Returns an Object that is the value of this attribute.MBeanServer.instantiate
(String className) Instantiates an object using the list of all class loaders registered in the MBean server'sClass Loader Repository
.MBeanServer.instantiate
(String className, Object[] params, String[] signature) Instantiates an object using the list of all class loaders registered in the MBean serverClass Loader Repository
.MBeanServer.instantiate
(String className, ObjectName loaderName) Instantiates an object using the class Loader specified by itsObjectName
.MBeanServer.instantiate
(String className, ObjectName loaderName, Object[] params, String[] signature) Instantiates an object.Allows an action to be invoked on the Dynamic MBean.MBeanServer.invoke
(ObjectName name, String operationName, Object[] params, String[] signature) MBeanServerConnection.invoke
(ObjectName name, String operationName, Object[] params, String[] signature) Invokes an operation on an MBean.Replaces the element at the specified position in this list with the specified element.Modifier and TypeMethodDescriptionvoid
Inserts the specified element at the specified position in this list.boolean
Appends the specified element to the end of this list.void
MBeanServer.addNotificationListener
(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.void
MBeanServer.addNotificationListener
(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.void
MBeanServerConnection.addNotificationListener
(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.void
MBeanServerConnection.addNotificationListener
(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.void
MBeanServerDelegate.addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) void
NotificationBroadcaster.addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener to this MBean.void
NotificationBroadcasterSupport.addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener.void
StandardEmitterMBean.addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) MBeanServer.createMBean
(String className, ObjectName name, Object[] params, String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServer.createMBean
(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean
(String className, ObjectName name, Object[] params, String[] signature) Instantiates and registers an MBean in the MBean server.MBeanServerConnection.createMBean
(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) Instantiates and registers an MBean in the MBean server.boolean
Compares the current Attribute Object with another Attribute Object.boolean
Compares this descriptor to the given object.boolean
Compares this descriptor to the given object.boolean
Compare this MBeanAttributeInfo to another.boolean
Compare this MBeanConstructorInfo to another.boolean
Compare this MBeanFeatureInfo to another.boolean
Compare this MBeanInfo to another.boolean
Compare this MBeanNotificationInfo to another.boolean
Compare this MBeanOperationInfo to another.boolean
Compare this MBeanParameterInfo to another.boolean
Checks two MBeanPermission objects for equality.boolean
Checks two MBeanServerPermission objects for equality.boolean
Compares the current object instance with another object instance.boolean
Compares the current object name with another object name.protected MBeanConstructorInfo[]
StandardMBean.getConstructors
(MBeanConstructorInfo[] ctors, Object impl) Customization hook: Get the MBeanConstructorInfo[] that will be used in the MBeanInfo returned by this MBean.protected void
NotificationBroadcasterSupport.handleNotification
(NotificationListener listener, Notification notif, Object handback) This method is called bysendNotification
for each listener in order to send the notification to that listener.void
NotificationListener.handleNotification
(Notification notification, Object handback) Invoked when a JMX notification occurs.MBeanServer.instantiate
(String className, Object[] params, String[] signature) Instantiates an object using the list of all class loaders registered in the MBean serverClass Loader Repository
.MBeanServer.instantiate
(String className, ObjectName loaderName, Object[] params, String[] signature) Instantiates an object.Allows an action to be invoked on the Dynamic MBean.MBeanServer.invoke
(ObjectName name, String operationName, Object[] params, String[] signature) MBeanServerConnection.invoke
(ObjectName name, String operationName, Object[] params, String[] signature) Invokes an operation on an MBean.MBeanServer.registerMBean
(Object object, ObjectName name) Registers a pre-existing object as an MBean with the MBean server.void
MBeanServer.removeNotificationListener
(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) void
MBeanServer.removeNotificationListener
(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) void
MBeanServerConnection.removeNotificationListener
(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) Removes a listener from a registered MBean.void
MBeanServerConnection.removeNotificationListener
(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) Removes a listener from a registered MBean.void
MBeanServerDelegate.removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) void
NotificationBroadcasterSupport.removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) void
NotificationEmitter.removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Removes a listener from this MBean.void
StandardEmitterMBean.removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Replaces the element at the specified position in this list with the specified element.void
Sets the value for a specific field name.final void
This operation is unsupported since this class is immutable.void
Sets all fields in the field names array to the new value with the same index in the field values array.final void
This operation is unsupported since this class is immutable.void
StandardMBean.setImplementation
(Object implementation) Replace the implementation object wrapped in this object.void
Sets the source.void
Notification.setUserData
(Object userData) Set the user data.ModifierConstructorDescriptionConstructs an Attribute object which associates the given attribute name with the given value.AttributeChangeNotification
(Object source, long sequenceNumber, long timeStamp, String msg, String attributeName, String attributeType, Object oldValue, Object newValue) Constructs an attribute change notification object.Constructs a BadAttributeValueExpException using the specified Object to create the toString() value.ImmutableDescriptor
(String[] fieldNames, Object[] fieldValues) Construct a descriptor containing the given fields and values.Constructs anInvalidApplicationException
with the specifiedObject
.MBeanServerNotification
(String type, Object source, long sequenceNumber, ObjectName objectName) Creates an MBeanServerNotification object specifying object names of the MBeans that caused the notification and the specified notification type.Notification
(String type, Object source, long sequenceNumber) Creates a Notification object.Notification
(String type, Object source, long sequenceNumber, long timeStamp) Creates a Notification object.Notification
(String type, Object source, long sequenceNumber, long timeStamp, String message) Creates a Notification object.Notification
(String type, Object source, long sequenceNumber, String message) Creates a Notification object. -
Uses of Object in javax.management.loading
Modifier and TypeClassDescriptionclass
Deprecated.UseMBeanServer.getClassLoaderRepository()
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.This API is part of Management Applets (m-lets), which is a legacy feature that allows loading of remote MBeans.class
Deprecated, for removal: This API element is subject to removal in a future version.This API is part of Management Applets (m-lets), which is a legacy feature that allows loading of remote MBeans.class
Deprecated, for removal: This API element is subject to removal in a future version.This API is part of Management Applets (m-lets), which is a legacy feature that allows loading of remote MBeans.Modifier and TypeMethodDescriptionMLet.getMBeansFromURL
(String url) Deprecated, for removal: This API element is subject to removal in a future version.Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.MLet.getMBeansFromURL
(URL url) Deprecated, for removal: This API element is subject to removal in a future version.Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.MLetMBean.getMBeansFromURL
(String url) Deprecated, for removal: This API element is subject to removal in a future version.Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.MLetMBean.getMBeansFromURL
(URL url) Deprecated, for removal: This API element is subject to removal in a future version.Loads a text file containing MLET tags that define the MBeans to be added to the MBean server. -
Uses of Object in javax.management.modelmbean
Modifier and TypeClassDescriptionclass
This class represents the metadata set for a ModelMBean element.class
Exception thrown when an invalid target object type is specified.class
The ModelMBeanAttributeInfo object describes an attribute of the ModelMBean.class
The ModelMBeanConstructorInfo object describes a constructor of the ModelMBean.class
This class represents the meta data for ModelMBeans.class
The ModelMBeanNotificationInfo object describes a notification emitted by a ModelMBean.class
The ModelMBeanOperationInfo object describes a management operation of the ModelMBean.class
This class is the implementation of a ModelMBean.class
This exception is thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects.Modifier and TypeMethodDescriptionDescriptorSupport.clone()
Returns a new Descriptor which is a duplicate of the Descriptor.ModelMBeanAttributeInfo.clone()
Creates and returns a new ModelMBeanAttributeInfo which is a duplicate of this ModelMBeanAttributeInfo.ModelMBeanConstructorInfo.clone()
Creates and returns a new ModelMBeanConstructorInfo which is a duplicate of this ModelMBeanConstructorInfo.ModelMBeanInfo.clone()
Creates and returns a copy of this object.ModelMBeanInfoSupport.clone()
Returns a shallow clone of this instance.ModelMBeanNotificationInfo.clone()
Creates and returns a new ModelMBeanNotificationInfo which is a duplicate of this ModelMBeanNotificationInfo.ModelMBeanOperationInfo.clone()
Creates and returns a new ModelMBeanOperationInfo which is a duplicate of this ModelMBeanOperationInfo.RequiredModelMBean.getAttribute
(String attrName) Returns the value of a specific attribute defined for this ModelMBean.DescriptorSupport.getFieldValue
(String fieldName) Object[]
DescriptorSupport.getFieldValues
(String... fieldNames) Invokes a method on or through a RequiredModelMBean and returns the result of the method execution.Modifier and TypeMethodDescriptionvoid
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener
(NotificationListener listener, String attributeName, Object handback) Registers an object which implements the NotificationListener interface as a listener.void
RequiredModelMBean.addAttributeChangeNotificationListener
(NotificationListener inlistener, String inAttributeName, Object inhandback) void
RequiredModelMBean.addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Registers an object which implements the NotificationListener interface as a listener.boolean
Compares this descriptor to the given object.Invokes a method on or through a RequiredModelMBean and returns the result of the method execution.void
RequiredModelMBean.removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) void
void
void
ModelMBean.setManagedResource
(Object mr, String mr_type) Sets the instance handle of the object against which to execute all methods in this ModelMBean management interface (MBeanInfo and Descriptors).void
RequiredModelMBean.setManagedResource
(Object mr, String mr_type) Sets the instance handle of the object against which to execute all methods in this ModelMBean management interface (MBeanInfo and Descriptors).ModifierConstructorDescriptionDescriptorSupport
(String[] fieldNames, Object[] fieldValues) Constructor taking field names and field values. -
Uses of Object in javax.management.monitor
Modifier and TypeClassDescriptionclass
Defines a monitor MBean designed to observe the values of a counter attribute.class
Defines a monitor MBean designed to observe the values of a gauge attribute.class
Defines the part common to all monitor MBeans.class
Provides definitions of the notifications sent by monitor MBeans.class
Exception thrown by the monitor when a monitor setting becomes invalid while the monitor is running.class
Defines a monitor MBean designed to observe the values of a string attribute.Modifier and TypeMethodDescriptionMonitorNotification.getDerivedGauge()
Gets the derived gauge of this monitor notification.MonitorNotification.getTrigger()
Gets the threshold/string (depending on the monitor type) that triggered off this monitor notification. -
Uses of Object in javax.management.openmbean
Modifier and TypeClassDescriptionclass
ArrayType<T>
TheArrayType
class is the open type class whose instances describe all open data values which are n-dimensional arrays of open data values.class
AnInvocationHandler
that forwards getter methods to aCompositeData
.class
TheCompositeDataSupport
class is the open data class which implements theCompositeData
interface.class
TheCompositeType
class is the open type class whose instances describe the types ofCompositeData
values.class
This runtime exception is thrown to indicate that a method parameter which was expected to be an item name of a composite data or a row index of a tabular data is not valid.class
This runtime exception is thrown to indicate that the open type of an open data value is not the one expected.class
This runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance is already used to refer to another row in this tabular data instance.class
This checked exception is thrown when an open type, an open data or an open MBean metadata info instance could not be constructed because one or more validity constraints were not met.class
Describes an attribute of an open MBean.class
Describes a constructor of an Open MBean.class
TheOpenMBeanInfoSupport
class describes the management information of an open MBean: it is a subclass ofMBeanInfo
, and it implements theOpenMBeanInfo
interface.class
Describes an operation of an Open MBean.class
Describes a parameter used in one or more operations or constructors of an open MBean.class
OpenType<T>
TheOpenType
class is the parent abstract class of all classes which describe the actual open type of open data values.final class
SimpleType<T>
TheSimpleType
class is the open type class whose instances describe all open data values which are neither arrays, norCompositeData
values, norTabularData
values.class
TheTabularDataSupport
class is the open data class which implements theTabularData
and theMap
interfaces, and which is internally based on a hash map data structure.class
TheTabularType
class is the open type class whose instances describe the types ofTabularData
values.Modifier and TypeMethodDescriptionObject[]
TabularData.calculateIndex
(CompositeData value) Calculates the index that would be used in thisTabularData
instance to refer to the specified composite data value parameter if it were added to this instance.Object[]
TabularDataSupport.calculateIndex
(CompositeData value) Calculates the index that would be used in thisTabularData
instance to refer to the specified composite data value parameter if it were added to this instance.TabularDataSupport.clone()
Returns a clone of thisTabularDataSupport
instance: the clone is obtained by callingsuper.clone()
, and then cloning the underlying map.Returns the value of the item whose name iskey
.Returns the value of the item whose name iskey
.This method simply callsget((Object[]) key)
.Object[]
Returns an array of the values of the items whose names are specified bykeys
, in the same order askeys
.Object[]
Returns an array of the values of the items whose names are specified bykeys
, in the same order askeys
.OpenMBeanAttributeInfoSupport.getDefaultValue()
Returns the default value for the attribute described by thisOpenMBeanAttributeInfoSupport
instance, if specified, ornull
otherwise.OpenMBeanParameterInfo.getDefaultValue()
Returns the default value for this parameter, if it has one, ornull
otherwise.OpenMBeanParameterInfoSupport.getDefaultValue()
Returns the default value for the parameter described by thisOpenMBeanParameterInfoSupport
instance, if specified, ornull
otherwise.This method simply callsput((CompositeData) value)
and therefore ignores its key parameter which can benull
.SimpleType.readResolve()
Replace an object read from anObjectInputStream
with the unique instance for that value.This method simply callsremove((Object[]) key)
.Modifier and TypeMethodDescriptionTabularDataSupport.entrySet()
Returns a collection view of the index to row mappings contained in thisTabularDataSupport
instance.TabularDataSupport.entrySet()
Returns a collection view of the index to row mappings contained in thisTabularDataSupport
instance.TabularDataSupport.keySet()
Returns a set view of the keys contained in the underlying map of thisTabularDataSupport
instance used to index the rows.TabularDataSupport.values()
Returns a collection view of the rows contained in thisTabularDataSupport
instance.Modifier and TypeMethodDescriptionboolean
TabularData.containsKey
(Object[] key) Returnstrue
if and only if thisTabularData
instance contains aCompositeData
value (ie a row) whose index is the specified key.boolean
TabularDataSupport.containsKey
(Object key) Returnstrue
if and only if thisTabularData
instance contains aCompositeData
value (ie a row) whose index is the specified key.boolean
TabularDataSupport.containsKey
(Object[] key) Returnstrue
if and only if thisTabularData
instance contains aCompositeData
value (ie a row) whose index is the specified key.boolean
CompositeData.containsValue
(Object value) Returnstrue
if and only if thisCompositeData
instance contains an item whose value isvalue
.boolean
CompositeDataSupport.containsValue
(Object value) Returnstrue
if and only if thisCompositeData
instance contains an item whose value isvalue
.boolean
TabularDataSupport.containsValue
(Object value) Returnstrue
if and only if thisTabularData
instance contains the specified value.boolean
Compares the specifiedobj
parameter with thisArrayType
instance for equality.boolean
Compares the specified obj parameter with thisCompositeData
instance for equality.boolean
Compares the specified obj parameter with thisCompositeDataSupport
instance for equality.boolean
Compares the specifiedobj
parameter with thisCompositeType
instance for equality.boolean
Compares the specified obj parameter with thisOpenMBeanAttributeInfo
instance for equality.boolean
Compares the specifiedobj
parameter with thisOpenMBeanAttributeInfoSupport
instance for equality.boolean
Compares the specified obj parameter with thisOpenMBeanConstructorInfo
instance for equality.boolean
Compares the specifiedobj
parameter with thisOpenMBeanConstructorInfoSupport
instance for equality.boolean
Compares the specified obj parameter with thisOpenMBeanInfo
instance for equality.boolean
Compares the specifiedobj
parameter with thisOpenMBeanInfoSupport
instance for equality.boolean
Compares the specified obj parameter with thisOpenMBeanOperationInfo
instance for equality.boolean
Compares the specifiedobj
parameter with thisOpenMBeanOperationInfoSupport
instance for equality.boolean
Compares the specified obj parameter with thisOpenMBeanParameterInfo
instance for equality.boolean
Compares the specifiedobj
parameter with thisOpenMBeanParameterInfoSupport
instance for equality.abstract boolean
Compares the specifiedobj
parameter with this open type instance for equality.boolean
Compares the specifiedobj
parameter with thisSimpleType
instance for equality.boolean
Compares the specified obj parameter with thisTabularData
instance for equality.boolean
Compares the specified obj parameter with thisTabularDataSupport
instance for equality.boolean
Compares the specifiedobj
parameter with thisTabularType
instance for equality.Returns theCompositeData
value whose index is key, ornull
if there is no value mapping to key, in thisTabularData
instance.This method simply callsget((Object[]) key)
.Returns theCompositeData
value whose index is key, ornull
if there is no value mapping to key, in thisTabularData
instance.boolean
Tests whether obj is a value for thisArrayType
instance.boolean
Tests whether obj is a value which could be described by thisCompositeType
instance.boolean
Tests whetherobj
is a valid value for the attribute described by thisOpenMBeanAttributeInfoSupport
instance.boolean
Tests whether obj is a valid value for the parameter described by thisOpenMBeanParameterInfo
instance.boolean
Tests whetherobj
is a valid value for the parameter described by thisOpenMBeanParameterInfo
instance.abstract boolean
Tests whether obj is a value for this open type.boolean
Tests whether obj is a value for thisSimpleType
instance.boolean
Tests whether obj is a value which could be described by thisTabularType
instance.This method simply callsput((CompositeData) value)
and therefore ignores its key parameter which can benull
.Removes theCompositeData
value whose index is key from thisTabularData
instance, and returns the removed value, or returnsnull
if there is no value whose index is key.This method simply callsremove((Object[]) key)
.Removes theCompositeData
value whose index is key from thisTabularData
instance, and returns the removed value, or returnsnull
if there is no value whose index is key.ModifierConstructorDescriptionCompositeDataSupport
(CompositeType compositeType, String[] itemNames, Object[] itemValues) Constructs aCompositeDataSupport
instance with the specifiedcompositeType
, whose item values are specified byitemValues[]
, in the same order as initemNames[]
.OpenMBeanAttributeInfoSupport
(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues) Constructs anOpenMBeanAttributeInfoSupport
instance, which describes the attribute of an open MBean with the specifiedname
,openType
,description
,defaultValue
andlegalValues
, and the specified read/write access properties.OpenMBeanParameterInfoSupport
(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues) Constructs anOpenMBeanParameterInfoSupport
instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specifiedname
,openType
,description
,defaultValue
andlegalValues
. -
Uses of Object in javax.management.relation
Modifier and TypeClassDescriptionclass
This exception is raised when relation id provided for a relation is already used.class
This exception is raised when an invalid Relation Service is provided.class
Invalid relation type.class
This exception is raised when, in a role info, its minimum degree is greater than its maximum degree.class
Role value is invalid.class
Filter forMBeanServerNotification
.class
This class is the superclass of any exception which can be raised during relation management.class
This exception is raised when there is no relation for a given relation id in a Relation Service.class
A notification of a change in the Relation Service.class
The Relation Service is in charge of creating and deleting relation types and relations, of handling the consistency and of providing query mechanisms.class
This exception is raised when an access is done to the Relation Service and that one is not registered.class
A RelationSupport object is used internally by the Relation Service to represent simple relations (only roles, no properties or methods), with an unlimited number of roles, of any relation type.class
This exception is raised when there is no relation type with given name in Relation Service.class
A RelationTypeSupport object implements the RelationType interface.class
Represents a role: includes a role name and referenced MBeans (via their ObjectNames).class
A RoleInfo object summarises a role in a relation type.class
This exception is raised when there is no role info with given name in a given relation type.class
A RoleList represents a list of roles (Role objects).class
This exception is raised when a role in a relation does not exist, or is not readable, or is not settable.class
Represents the result of a multiple access to several roles of a relation (either for reading or writing).class
This class describes the various problems which can be encountered when accessing a role.class
Represents an unresolved role: a role not retrieved from a relation due to a problem.class
A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write) the roles.Modifier and TypeMethodDescriptionRole.clone()
Clone the role object.RoleUnresolved.clone()
Clone this object.Modifier and TypeMethodDescriptionvoid
RelationService.handleNotification
(Notification notif, Object handback) Invoked when a JMX notification occurs.ModifierConstructorDescriptionRelationNotification
(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue) Creates a notification for a role update in a relation.RelationNotification
(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList) Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service. -
Uses of Object in javax.management.remote
Modifier and TypeClassDescriptionclass
Notification emitted when a client connection is opened or closed or when notifications are lost.class
Factory to create JMX API connector clients.class
Superclass of every connector server.class
Factory to create JMX API connector servers.class
The identity of a remote client of the JMX Remote API.class
Exception thrown byJMXConnectorFactory
andJMXConnectorServerFactory
when a provider exists for the required protocol but cannot be used for some reason.class
Exception thrown as the result of a remoteMBeanServer
method invocation when anError
is thrown while processing the invocation in the remote MBean server.class
The address of a JMX API connector server.class
Result of a query for buffered notifications.final class
Permission required by an authentication identity to perform operations on behalf of an authorization identity.class
A (Notification, Listener ID) pair.Modifier and TypeMethodDescriptionvoid
JMXConnector.addConnectionNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener to be informed of changes in connection status.JMXAuthenticator.authenticate
(Object credentials) Authenticates theMBeanServerConnection
client with the given client credentials.protected void
JMXConnectorServer.connectionClosed
(String connectionId, String message, Object userData) Called by a subclass when a client connection is closed normally.protected void
JMXConnectorServer.connectionFailed
(String connectionId, String message, Object userData) Called by a subclass when a client connection fails.protected void
JMXConnectorServer.connectionOpened
(String connectionId, String message, Object userData) Called by a subclass when a new client connection is opened.boolean
Compares the specified Object with thisJMXPrincipal
for equality.boolean
Indicates whether some other object is equal to this one.void
JMXConnector.removeConnectionNotificationListener
(NotificationListener l, NotificationFilter f, Object handback) Removes a listener from the list to be informed of changes in status. -
Uses of Object in javax.management.remote.rmi
Modifier and TypeClassDescriptionclass
Implementation of theRMIConnection
interface.final class
RMIConnectionImpl remote stub.class
A connection to a remote RMI connector.class
A JMX API connector server that creates RMI-based connections from remote clients.class
Deprecated.This transport is no longer supported.class
AnRMIServer
object that is exported through JRMP and that creates client connections as RMI objects exported through JRMP.class
An RMI object representing a connector server.final class
RMIServerImpl remote stub.Modifier and TypeMethodDescriptionRMIConnection.getAttribute
(ObjectName name, String attribute, Subject delegationSubject) Handles the methodMBeanServerConnection.getAttribute(ObjectName, String)
.RMIConnectionImpl_Stub.getAttribute
(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3) RMIConnectionImpl.getAttribute
(ObjectName name, String attribute, Subject delegationSubject) RMIConnection.invoke
(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject) Handles the methodMBeanServerConnection.invoke(ObjectName, String, Object[], String[])
.RMIConnectionImpl_Stub.invoke
(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5) RMIConnectionImpl.invoke
(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject) Modifier and TypeMethodDescriptionvoid
RMIConnector.addConnectionNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) Makes a new connection through this RMI connector.Creates a new client connection.void
RMIConnector.removeConnectionNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) -
Uses of Object in javax.management.timer
Modifier and TypeClassDescriptionclass
Provides the implementation of the timer MBean.class
This class provides definitions of the notifications sent by timer MBeans.Modifier and TypeMethodDescriptionTimer.getNotificationUserData
(Integer id) Gets the timer notification user data object corresponding to the specified identifier.TimerMBean.getNotificationUserData
(Integer id) Gets the timer notification user data object corresponding to the specified identifier.Modifier and TypeMethodDescriptionTimer.addNotification
(String type, String message, Object userData, Date date) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and a null period and number of occurrences.Timer.addNotification
(String type, String message, Object userData, Date date, long period) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and period and a null number of occurrences.Timer.addNotification
(String type, String message, Object userData, Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.Timer.addNotification
(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.TimerMBean.addNotification
(String type, String message, Object userData, Date date) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and a null period and number of occurrences.TimerMBean.addNotification
(String type, String message, Object userData, Date date, long period) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date and period and a null number of occurrences.TimerMBean.addNotification
(String type, String message, Object userData, Date date, long period, long nbOccurences) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.TimerMBean.addNotification
(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) Creates a new timer notification with the specifiedtype
,message
anduserData
and inserts it into the list of notifications with a given date, period and number of occurrences.ModifierConstructorDescriptionTimerNotification
(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id) Creates a timer notification object. -
Uses of Object in javax.naming
Modifier and TypeClassDescriptionclass
This exception is thrown when an authentication error occurs while accessing the naming or directory service.class
This exception is thrown when the particular flavor of authentication requested is not supported.class
This class represents the binary form of the address of a communications end-point.class
This class represents a name-to-object binding found in a context.class
This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.class
This exception is thrown when the client is unable to communicate with the directory or naming service.class
This class represents a composite name -- a sequence of component names spanning multiple namespaces.class
This class represents a compound name -- a name from a hierarchical name space.class
This exception is thrown when there is a configuration problem.class
This exception is thrown when attempting to destroy a context that is not empty.class
This class is the starting context for performing naming operations.class
This exception is thrown when resources are not available to complete the requested operation.class
This exception is thrown when the naming operation being invoked has been interrupted.class
This exception indicates that the name being specified does not conform to the naming syntax of a naming system.class
This exception is thrown when a method terminates abnormally due to a user or system specified limit.class
This exception is used to describe problems encountered while resolving links.class
This exception is thrown when a loop was detected while attempting to resolve a link, or an implementation specific limit on link counts has been reached.class
This class represents a Reference whose contents is a name, called the link name, that is bound to an atomic name in a context.class
This exception is thrown when a malformed link was encountered while resolving or constructing a link.class
This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.class
This class represents the object name and class name pair of a binding found in a context.class
This exception is thrown when a component of the name cannot be resolved because it is not bound.class
This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.class
This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.class
This exception is thrown when no initial context implementation can be created.class
This exception is thrown when attempting to perform an operation for which the client has no permission.class
This exception is thrown when a naming operation proceeds to a point where a context is required to continue the operation, but the resolved object is not a context.class
This exception is thrown when a context implementation does not support the operation being invoked.class
This exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.class
This class represents the address of a communications end-point.class
This class represents a reference to an object that is found outside of the naming/directory system.class
This abstract class is used to represent a referral exception, which is generated in response to a referral such as that returned by LDAP v3 servers.class
This exception is thrown when attempting to communicate with a directory or naming service and that service is not available.class
This exception is thrown when a method produces a result that exceeds a size-related limit.class
This class represents the string form of the address of a communications end-point.class
This exception is thrown when a method does not terminate within the specified time limit.Modifier and TypeFieldDescriptionprotected Object
LinkException.linkResolvedObj
Contains the object to which resolution of the part of the link was successful.protected Object
NamingException.resolvedObj
Contains the object to which resolution of the part of the name was successful.Modifier and TypeFieldDescriptionInitialContext.myProps
The environment associated with this InitialContext.InitialContext.myProps
The environment associated with this InitialContext.Modifier and TypeMethodDescriptionContext.addToEnvironment
(String propName, Object propVal) Adds a new environment property to the environment of this context.InitialContext.addToEnvironment
(String propName, Object propVal) CompositeName.clone()
Generates a copy of this composite name.CompoundName.clone()
Creates a copy of this compound name.Name.clone()
Generates a new copy of this name.Reference.clone()
Makes a copy of this reference using its class name list of addresses, class factory name and class factory location.BinaryRefAddr.getContent()
Retrieves the contents of this address as an Object.abstract Object
RefAddr.getContent()
Retrieves the contents of this address.StringRefAddr.getContent()
Retrieves the contents of this address.LinkException.getLinkResolvedObj()
Retrieves the object to which resolution was successful.Binding.getObject()
Retrieves the object bound to the name of this binding.abstract Object
ReferralException.getReferralInfo()
Retrieves information (such as URLs) related to this referral.NamingException.getResolvedObj()
Retrieves the object to which resolution was successful.Retrieves the named object.Retrieves the named object.Context.lookupLink
(String name) Retrieves the named object, following links except for the terminal atomic component of the name.Context.lookupLink
(Name name) Retrieves the named object, following links except for the terminal atomic component of the name.InitialContext.lookupLink
(String name) InitialContext.lookupLink
(Name name) CompositeName.remove
(int posn) Deletes a component from this composite name.CompoundName.remove
(int posn) Deletes a component from this compound name.Name.remove
(int posn) Removes a component from this name.Reference.remove
(int posn) Deletes the address at index posn from the list of addresses.Context.removeFromEnvironment
(String propName) Removes an environment property from the environment of this context.InitialContext.removeFromEnvironment
(String propName) Modifier and TypeMethodDescriptionContext.addToEnvironment
(String propName, Object propVal) Adds a new environment property to the environment of this context.InitialContext.addToEnvironment
(String propName, Object propVal) void
Binds a name to an object.void
Binds a name to an object.void
void
int
Compares this CompositeName with the specified Object for order.int
Compares this CompoundName with the specified Object for order.int
Compares this name with another name for order.boolean
Determines whether obj is equal to this address.boolean
Determines whether two composite names are equal.boolean
Determines whether obj is syntactically equal to this compound name.boolean
Determines whether obj is equal to this RefAddr.boolean
Determines whether obj is a reference with the same addresses (in same order) as this reference.void
Binds a name to an object, overwriting any existing binding.void
Binds a name to an object, overwriting any existing binding.void
void
void
LinkException.setLinkResolvedObj
(Object obj) Sets the link resolved object field of this exception.void
Sets the object associated with this binding.void
NamingException.setResolvedObj
(Object obj) Sets the resolved object field of this exception.ModifierConstructorDescriptionConstructs an instance of a Binding given its name and object.Constructs an instance of a Binding given its name, object, and whether the name is relative.Constructs an instance of a Binding given its name, class name, and object.Constructs an instance of a Binding given its name, class name, object, and whether the name is relative. -
Uses of Object in javax.naming.directory
Modifier and TypeClassDescriptionclass
This exception is thrown when an operation attempts to add an attribute that already exists.class
This exception is thrown when an attempt is made to add, or remove, or modify an attribute, its identifier, or its values that conflicts with the attribute's (schema) definition or the attribute's state.class
This class provides a basic implementation of theAttribute
interface.class
This class provides a basic implementation of the Attributes interface.class
This class is the starting context for performing directory operations.class
This exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.class
This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.class
This class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition.class
This exception is thrown when the specification of the SearchControls for a search operation is invalid.class
This exception is thrown when the specification of a search filter is invalid.class
This class represents a modification item.class
This exception is thrown when attempting to access an attribute that does not exist.class
This exception is thrown when a method in some ways violates the schema.class
This class encapsulates factors that determine scope of search and what gets returned as a result of the search.class
This class represents an item in the NamingEnumeration returned as a result of the DirContext.search() methods.Modifier and TypeMethodDescriptionAttribute.clone()
Makes a copy of the attribute.Attributes.clone()
Makes a copy of the attribute set.BasicAttribute.clone()
BasicAttributes.clone()
Attribute.get()
Retrieves one of this attribute's values.Attribute.get
(int ix) Retrieves the attribute value from the ordered list of attribute values.BasicAttribute.get()
Retrieves one of this attribute's values.BasicAttribute.get
(int ix) Attribute.remove
(int ix) Removes an attribute value from the ordered list of attribute values.BasicAttribute.remove
(int ix) Sets an attribute value in the ordered list of attribute values.Modifier and TypeMethodDescriptionvoid
Adds an attribute value to the ordered list of attribute values.boolean
Adds a new value to the attribute.void
boolean
Adds a new value to this attribute.void
DirContext.bind
(String name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes.void
DirContext.bind
(Name name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes.void
InitialDirContext.bind
(String name, Object obj, Attributes attrs) void
InitialDirContext.bind
(Name name, Object obj, Attributes attrs) boolean
Determines whether a value is in the attribute.boolean
Determines whether a value is in this attribute.boolean
Determines whether obj is equal to this attribute.boolean
Determines whether thisBasicAttributes
is equal to anotherAttributes
TwoAttributes
are equal if they are both instances ofAttributes
, treat the case of attribute IDs the same way, and contain the same attributes.Adds a new attribute to the attribute set.void
DirContext.rebind
(String name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes, overwriting any existing binding.void
DirContext.rebind
(Name name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes, overwriting any existing binding.void
InitialDirContext.rebind
(String name, Object obj, Attributes attrs) void
InitialDirContext.rebind
(Name name, Object obj, Attributes attrs) boolean
Removes a specified value from the attribute.boolean
Removes a specified value from this attribute.DirContext.search
(String name, String filterExpr, Object[] filterArgs, SearchControls cons) Searches in the named context or object for entries that satisfy the given search filter.DirContext.search
(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) Searches in the named context or object for entries that satisfy the given search filter.InitialDirContext.search
(String name, String filterExpr, Object[] filterArgs, SearchControls cons) InitialDirContext.search
(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) Sets an attribute value in the ordered list of attribute values.ModifierConstructorDescriptionBasicAttribute
(String id, Object value) Constructs a new instance of an unordered attribute with a single value.BasicAttribute
(String id, Object value, boolean ordered) Constructs a new instance of a possibly ordered attribute with a single value.BasicAttributes
(String attrID, Object val) Constructs a new instance of Attributes with one attribute.BasicAttributes
(String attrID, Object val, boolean ignoreCase) Constructs a new instance of Attributes with one attribute.SearchResult
(String name, Object obj, Attributes attrs) Constructs a search result using the result's name, its bound object, and its attributes.SearchResult
(String name, Object obj, Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its bound object, and its attributes, and whether the name is relative.SearchResult
(String name, String className, Object obj, Attributes attrs) Constructs a search result using the result's name, its class name, its bound object, and its attributes.SearchResult
(String name, String className, Object obj, Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its class name, its bound object, its attributes, and whether the name is relative. -
Uses of Object in javax.naming.event
Modifier and TypeClassDescriptionclass
This class represents an event fired by a naming/directory service.class
This class represents an event fired when the procedures/processes used to collect information for notifying listeners ofNamingEvent
s threw aNamingException
.Modifier and TypeFieldDescriptionprotected Object
NamingEvent.changeInfo
Contains information about the change that generated this event.Modifier and TypeMethodDescriptionNamingEvent.getChangeInfo()
Retrieves the change information for this event.Modifier and TypeMethodDescriptionvoid
EventDirContext.addNamingListener
(String target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) Adds a listener for receiving naming events fired when objects identified by the search filterfilter
and filter arguments at the object named by the string target name are modified.void
EventDirContext.addNamingListener
(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l) Adds a listener for receiving naming events fired when objects identified by the search filterfilter
and filter arguments at the object named by the target are modified.ModifierConstructorDescriptionNamingEvent
(EventContext source, int type, Binding newBd, Binding oldBd, Object changeInfo) Constructs an instance ofNamingEvent
. -
Uses of Object in javax.naming.ldap
Modifier and TypeClassDescriptionclass
This class provides a basic implementation of theControl
interface.class
This abstract class represents a factory for creating LDAPv3 controls.class
This class is the starting context for performing LDAPv3-style extended operations and controls.class
This class represents a distinguished name as specified by RFC 2253.class
This abstract class is used to represent an LDAP referral exception.final class
Requests that referral and other special LDAP objects be manipulated as normal LDAP objects.final class
Requests that the results of a search operation be returned by the LDAP server in batches of a specified size.final class
Indicates the end of a batch of search results.class
This class represents a relative distinguished name, or RDN, which is a component of a distinguished name as specified by RFC 2253.final class
Requests that the results of a search operation be sorted by the LDAP server before being returned.class
A sort key and its associated sort parameters.final class
Indicates whether the requested sort of search results was successful or not.class
This class implements the LDAPv3 Extended Request for StartTLS as defined in Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security The object identifier for StartTLS is 1.3.6.1.4.1.1466.20037 and no extended request value is defined.class
This class implements the LDAPv3 Extended Response for StartTLS as defined in Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security The object identifier for StartTLS is 1.3.6.1.4.1.1466.20037 and no extended response value is defined.class
This class represents an event fired in response to an unsolicited notification sent by the LDAP server.Modifier and TypeMethodDescriptionLdapName.clone()
Generates a new copy of this name.Rdn.getValue()
Retrieves one of this Rdn's value.LdapName.remove
(int posn) Removes a component from this LDAP name.static Object
Rdn.unescapeValue
(String val) Given an attribute value string formatted according to the rules specified in RFC 2253, returns the unformatted value.Modifier and TypeMethodDescriptionint
Compares this LdapName with the specified Object for order.int
Compares this Rdn with the specified Object for order.boolean
Determines whether two LDAP names are equal.boolean
Compares the specified Object with this Rdn for equality.static String
Rdn.escapeValue
(Object val) Given the value of an attribute, returns a string escaped according to the rules specified in RFC 2253.ModifierConstructorDescriptionConstructs an Rdn from the given attribute type and value.UnsolicitedNotificationEvent
(Object src, UnsolicitedNotification notice) Constructs a new instance ofUnsolicitedNotificationEvent
. -
Uses of Object in javax.naming.ldap.spi
Modifier and TypeClassDescriptionclass
Service-provider class for DNS lookups when performing LDAP operations.final class
The result of a DNS lookup for an LDAP URL. -
Uses of Object in javax.naming.spi
Modifier and TypeClassDescriptionclass
This class contains methods for supportingDirContext
implementations.static class
An object/attributes pair for returning the result of DirStateFactory.getStateToBind().class
This class contains methods for creating context objects and objects referred to by location information in the naming or directory service.class
This class represents the result of resolution of a name.Modifier and TypeFieldDescriptionprotected Object
ResolveResult.resolvedObj
Field containing the Object that was resolved to successfully.Modifier and TypeMethodDescriptionDirStateFactory.Result.getObject()
Retrieves the object to be bound.static Object
DirectoryManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an instance of an object for the specified object, attributes, and environment.DirObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an object using the location or reference information, and attributes specified.static Object
NamingManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an instance of an object for the specified object and environment.ObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an object using the location or reference information specified.ResolveResult.getResolvedObj()
Retrieves the Object to which resolution was successful.static Object
NamingManager.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.StateFactory.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.Modifier and TypeMethodDescriptionObjectFactoryBuilder.createObjectFactory
(Object obj, Hashtable<?, ?> environment) Creates a new object factory using the environment supplied.static Object
DirectoryManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an instance of an object for the specified object, attributes, and environment.DirObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an object using the location or reference information, and attributes specified.static Object
NamingManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an instance of an object for the specified object and environment.ObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an object using the location or reference information specified.static DirStateFactory.Result
DirectoryManager.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Retrieves the state of an object for binding when given the original object and its attributes.DirStateFactory.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes inAttrs) Retrieves the state of an object for binding given the object and attributes to be transformed.static Object
NamingManager.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.StateFactory.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.void
ResolveResult.setResolvedObj
(Object obj) Sets the resolved Object field of this result to obj.ModifierConstructorDescriptionResolveResult
(Object robj, String rcomp) Constructs a new instance of ResolveResult consisting of the resolved object and the remaining unresolved component.ResolveResult
(Object robj, Name rname) Constructs a new instance of ResolveResult consisting of the resolved Object and the remaining name.Result
(Object obj, Attributes outAttrs) Constructs an instance of Result. -
Uses of Object in javax.net
Modifier and TypeClassDescriptionclass
This class creates server sockets.class
This class creates sockets. -
Uses of Object in javax.net.ssl
Modifier and TypeClassDescriptionclass
A wrapper for CertPathParameters.class
Extends theSSLSession
interface to support additional session attributes.class
This event indicates that an SSL handshake completed on a given SSL connection.class
HttpsURLConnection
extendsHttpURLConnection
with support for https-specific features.class
This class acts as a factory for key managers based on a source of key material.class
This class defines the Service Provider Interface (SPI) for theKeyManagerFactory
class.class
A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.final class
Instances of this class represent a server name of typehost_name
in a Server Name Indication (SNI) extension.class
Instances of this class represent a matcher that performs match operations on anSNIServerName
instance.class
Instances of this class represent a server name in a Server Name Indication (SNI) extension.class
Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories orSSLEngine
s.class
This class defines the Service Provider Interface (SPI) for theSSLContext
class.class
A class which enables secure communications using protocols such as the Secure Sockets Layer (SSL) or IETF RFC 2246 "Transport Layer Security" (TLS) protocols, but is transport independent.class
An encapsulation of the result state produced bySSLEngine
I/O calls.class
Indicates some kind of error detected by an SSL subsystem.class
Indicates that the client and server could not negotiate the desired level of security.class
Reports a bad SSL key.class
Encapsulates parameters for an SSL/TLS/DTLS connection.class
Indicates that the peer's identity has not been verified.final class
This class is for various network permissions.class
Reports an error in the operation of the SSL protocol.class
This class extendsServerSocket
and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.class
SSLServerSocketFactory
s createSSLServerSocket
s.class
This event is propagated to a SSLSessionBindingListener.class
This class extendsSocket
and provides secure sockets using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.class
SSLSocketFactory
s createSSLSocket
s.final class
Standard constants definitionsclass
This class acts as a factory for trust managers based on a source of trust material.class
This class defines the Service Provider Interface (SPI) for theTrustManagerFactory
class.class
Abstract class that provides for extension of the X509KeyManager interface.class
Extensions to theX509TrustManager
interface to support SSL/TLS/DTLS connection sensitive trust management.Modifier and TypeMethodDescriptionReturns the object bound to the given name in the session's application layer data.Modifier and TypeMethodDescriptionboolean
Compares this server name to the specified object.boolean
Indicates whether some other object is "equal to" this server name.void
Binds the specifiedvalue
object into the session's application layer data with the givenname
. -
Uses of Object in javax.print
Modifier and TypeClassDescriptionclass
ClassDocFlavor
encapsulates an object that specifies the format in which print data is supplied to aDocPrintJob
.static class
ClassDocFlavor.BYTE_ARRAY
provides predefined static constantDocFlavor
objects for example doc flavors using a byte array (byte[]
) as the print data representation class.static class
ClassDocFlavor.CHAR_ARRAY
provides predefined static constantDocFlavor
objects for example doc flavors using a character array (char[]
) as the print data representation class.static class
ClassDocFlavor.INPUT_STREAM
provides predefined static constantDocFlavor
objects for example doc flavors using a byte stream (java.io.InputStream
) as the print data representation class.static class
ClassDocFlavor.READER
provides predefined static constantDocFlavor
objects for example doc flavors using a character stream (java.io.Reader
) as the print data representation class.static class
ClassDocFlavor.SERVICE_FORMATTED
provides predefined static constantDocFlavor
objects for example doc flavors for service formatted print data.static class
ClassDocFlavor.STRING
provides predefined static constantDocFlavor
objects for example doc flavors using a string (java.lang.String
) as the print data representation class.static class
ClassDocFlavor.URL
provides predefined static constantDocFlavor
objects.class
ClassPrintException
encapsulates a printing-related error condition that occurred while using a Print Service instance.class
Implementations of this class provide lookup services for print services (typically equivalent to printers) of a particular type.class
This class is a collection of UI convenience methods which provide a graphical user dialog for browsing print services looked up through the Java Print Service API.class
Services may optionally provide UIs which allow different styles of interaction in different roles.final class
This class is an implementation of interfaceDoc
that can be used in many common printing requests.class
This class extendsPrintService
and represents a print service that prints data in different formats to a client-provided output stream.class
AStreamPrintServiceFactory
is the factory forStreamPrintService
instances, which can print to an output stream in a particular document format described as a mime type.Modifier and TypeMethodDescriptionPrintService.getDefaultAttributeValue
(Class<? extends Attribute> category) Determines this print service's default printing attribute value in the given category.Doc.getPrintData()
Obtains the print data representation object that contains this doc object's piece of print data in the format corresponding to the supported doc flavor.SimpleDoc.getPrintData()
Obtains the print data representation object that contains this doc object's piece of print data in the format corresponding to the supported doc flavor.PrintService.getSupportedAttributeValues
(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) Determines the printing attribute values a client can specify in the given category when setting up a job for this print service.abstract Object
Get a UI object which may be cast to the requested UI type by the application and used in its user interface.Modifier and TypeMethodDescriptionboolean
Determines if this doc flavor object is equal to the given object.boolean
Determines if two services are referring to the same underlying service.ModifierConstructorDescriptionSimpleDoc
(Object printData, DocFlavor flavor, DocAttributeSet attributes) Constructs aSimpleDoc
with the specified print data, doc flavor and doc attribute set. -
Uses of Object in javax.print.attribute
Modifier and TypeClassDescriptionfinal class
ClassAttributeSetUtilities
provides static methods for manipulatingAttributeSets
.class
ClassDateTimeSyntax
is an abstract base class providing the common implementation of all attributes whose value is a date and time.class
ClassEnumSyntax
is an abstract base class providing the common implementation of all "type safe enumeration" objects.class
ClassHashAttributeSet
provides anAttributeSet
implementation with characteristics of a hash map.class
ClassHashDocAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfaceDocAttributeSet
.class
ClassHashPrintJobAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintJobAttributeSet
.class
ClassHashPrintRequestAttributeSet
inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintRequestAttributeSet
.class
ClassHashPrintServiceAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintServiceAttributeSet
.class
ClassIntegerSyntax
is an abstract base class providing the common implementation of all attributes with integer values.class
ClassResolutionSyntax
is an abstract base class providing the common implementation of all attributes denoting a printer resolution.class
ClassSetOfIntegerSyntax
is an abstract base class providing the common implementation of all attributes whose value is a set of nonnegative integers.class
ClassSize2DSyntax
is an abstract base class providing the common implementation of all attributes denoting a size in two dimensions.class
ClassTextSyntax
is an abstract base class providing the common implementation of all attributes whose value is a string.class
Thrown to indicate that the requested operation cannot be performed because the set is unmodifiable.class
ClassURISyntax
is an abstract base class providing the common implementation of all attributes whose value is a Uniform Resource Identifier (URI).Modifier and TypeMethodDescriptionEnumSyntax.clone()
Returns a clone of this enumeration value, which to preserve the semantics of enumeration values is the same object as this enumeration value.protected Object
EnumSyntax.readResolve()
During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.Modifier and TypeMethodDescriptionboolean
Compares the specified object with this attribute set for equality.boolean
Returns whether this date-time attribute is equivalent to the passed in object.boolean
Compares the specified object with this attribute set for equality.boolean
Returns whether this integer attribute is equivalent to the passed in object.boolean
Returns whether this resolution attribute is equivalent to the passed in object.boolean
Returns whether this set-of-integer attribute is equivalent to the passed in object.boolean
Returns whether this two-dimensional size attribute is equivalent to the passed in object.boolean
Returns whether this text attribute is equivalent to the passed in object.boolean
Returns whether thisURI
attribute is equivalent to the passed in object.static Class<?>
AttributeSetUtilities.verifyAttributeCategory
(Object object, Class<?> interfaceName) static Attribute
AttributeSetUtilities.verifyAttributeValue
(Object object, Class<?> interfaceName) Verify that the given object is an instance of the given interface, which is assumed to be interfaceAttribute
or a subinterface thereof. -
Uses of Object in javax.print.attribute.standard
Modifier and TypeClassDescriptionfinal class
ClassChromaticity
is a printing attribute class, an enumeration, that specifies monochrome or color printing.final class
ClassColorSupported
is a printing attribute class, an enumeration, that identifies whether the device is capable of any type of color printing at all, including highlight color as well as full process color.class
ClassCompression
is a printing attribute class, an enumeration, that specifies how print data is compressed.final class
ClassCopies
is an integer valued printing attribute class that specifies the number of copies to be printed.final class
ClassCopiesSupported
is a printing attribute class, a set of integers, that gives the supported values for aCopies
attribute.final class
ClassDateTimeAtCompleted
is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job completed (or was canceled or aborted).final class
ClassDateTimeAtCreation
is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job was created.final class
ClassDateTimeAtProcessing
is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job first began processing.final class
ClassDestination
is a printing attribute class, aURI
, that is used to indicate an alternate destination for the spooled printer formatted data.final class
An attribute class used to support requesting a print or page setup dialog be kept displayed on top of all windows or some specific window.final class
ClassDialogTypeSelection
is a printing attribute class, an enumeration, that indicates the user dialog type to be used for specifying printing options.final class
ClassDocumentName
is a printing attribute class, a text attribute, that specifies the name of a document.final class
ClassFidelity
is a printing attribute class, an enumeration, that indicates whether total fidelity to client supplied print request attributes is required.class
ClassFinishings
is a printing attribute class, an enumeration, that identifies whether the printer applies a finishing operation of some kind of binding to each copy of each printed document in the job.final class
ClassJobHoldUntil
is a printing attribute class, a date-time attribute, that specifies the exact date and time at which the job must become a candidate for printing.final class
ClassJobImpressions
is an integer valued printing attribute class that specifies the total size in number of impressions of the document(s) being submitted.final class
ClassJobImpressionsCompleted
is an integer valued printing attribute class that specifies the number of impressions completed for the job so far.final class
ClassJobImpressionsSupported
is a printing attribute class, a set of integers, that gives the supported values for aJobImpressions
attribute.final class
ClassJobKOctets
is an integer valued printing attribute class that specifies the total size of the document(s) in K octets, i.e., in units of 1024 octets requested to be processed in the job.final class
ClassJobKOctetsProcessed
is an integer valued printing attribute class that specifies the total number of print data octets processed so far in K octets, i.e., in units of 1024 octets.final class
ClassJobKOctetsSupported
is a printing attribute class, a set of integers, that gives the supported values for aJobKOctets
attribute.class
ClassJobMediaSheets
is an integer valued printing attribute class that specifies the total number of media sheets to be produced for this job.final class
ClassJobMediaSheetsCompleted
is an integer valued printing attribute class that specifies the number of media sheets which have completed marking and stacking for the entire job so far, whether those sheets have been processed on one side or on both.final class
ClassJobMediaSheetsSupported
is a printing attribute class, a set of integers, that gives the supported values for aJobMediaSheets
attribute.final class
ClassJobMessageFromOperator
is a printing attribute class, a text attribute, that provides a message from an operator, system administrator, or "intelligent" process to indicate to the end user the reasons for modification or other management action taken on a job.final class
ClassJobName
is a printing attribute class, a text attribute, that specifies the name of a print job.final class
ClassJobOriginatingUserName
is a printing attribute class, a text attribute, that contains the name of the end user that submitted the print job.final class
ClassJobPriority
is an integer valued printing attribute class that specifies a print job's priority.final class
ClassJobPrioritySupported
is an integer valued printing attribute class that specifies whether a Print Service instance supports theJobPriority
attribute and the number of different job priority levels supported.class
ClassJobSheets
is a printing attribute class, an enumeration, that determines which job start and end sheets, if any, must be printed with a job.class
JobState
is a printing attribute class, an enumeration, that identifies the current state of a print job.class
ClassJobStateReason
is a printing attribute class, an enumeration, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobState
attribute.final class
ClassJobStateReasons
is a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobState
attribute.class
ClassMedia
is a printing attribute class that specifies the medium on which to print.class
ClassMediaName
is a subclass ofMedia
, a printing attribute class (an enumeration) that specifies the media for a print job as a name.final class
ClassMediaPrintableArea
is a printing attribute used to distinguish the printable and non-printable areas of media.class
ClassMediaSize
is a two-dimensional size valued printing attribute class that indicates the dimensions of the medium in a portrait orientation, with theX
dimension running along the bottom edge and theY
dimension running along the left edge.static final class
ClassMediaSize.Engineering
includesMediaSize
values for engineering media.static final class
ClassMediaSize.ISO
includesMediaSize
values for ISO media.static final class
ClassMediaSize.JIS
includesMediaSize
values for JIS (Japanese) media.static final class
ClassMediaSize.NA
includesMediaSize
values for North American media.static final class
ClassMediaSize.Other
includesMediaSize
values for miscellaneous media.class
ClassMediaSizeName
is a subclass ofMedia
.class
ClassMediaTray
is a subclass ofMedia
.class
ClassMultipleDocumentHandling
is a printing attribute class, an enumeration, that controls finishing operations and the placement of one or more print-stream pages into impressions and onto media sheets.final class
ClassNumberOfDocuments
is an integer valued printing attribute that indicates the number of individual docs the printer has accepted for this job, regardless of whether the docs' print data has reached the printer or not.final class
ClassNumberOfInterveningJobs
is an integer valued printing attribute that indicates the number of jobs that are ahead of this job in the relative chronological order of expected time to complete (i.e., the current scheduled order).final class
ClassNumberUp
is an integer valued printing attribute class that specifies the number of print-stream pages to impose upon a single side of an instance of a selected medium.final class
ClassNumberUpSupported
is a printing attribute class, a set of integers, that gives the supported values for aNumberUp
attribute.final class
ClassOrientationRequested
is a printing attribute class, an enumeration, that indicates the desired orientation for printed print-stream pages; it does not describe the orientation of the client-supplied print-stream pages.final class
ClassOutputDeviceAssigned
is a printing attribute class, a text attribute, that identifies the output device to which the service has assigned this job.final class
ClassPageRanges
is a printing attribute class, a set of integers, that identifies the range(s) of print-stream pages that the Printer object uses for each copy of each document which are to be printed.final class
ClassPagesPerMinute
is an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer (e.g., simplex, black-and-white).final class
ClassPagesPerMinuteColor
is an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer when printing color (e.g., simplex, color).class
ClassPDLOverrideSupported
is a printing attribute class, an enumeration, that expresses the printer's ability to attempt to override processing instructions embedded in documents' print data with processing instructions specified as attributes outside the print data.final class
ClassPresentationDirection
is a printing attribute class, an enumeration, that is used in conjunction with theNumberUp
attribute to indicate the layout of multiple print-stream pages to impose upon a single side of an instance of a selected medium.final class
ClassPrinterInfo
is a printing attribute class, a text attribute, that provides descriptive information about a printer.final class
ClassPrinterIsAcceptingJobs
is a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs.final class
ClassPrinterLocation
is a printing attribute class, a text attribute, that identifies the location of the device.final class
ClassPrinterMakeAndModel
is a printing attribute class, a text attribute, that the make and model of the printer.final class
ClassPrinterMessageFromOperator
is a printing attribute class, a text attribute, that provides a message from an operator, system administrator, or "intelligent" process to indicate to the end user information about or status of the printer, such as why it is unavailable or when it is expected to be available.final class
ClassPrinterMoreInfo
is a printing attribute class, aURI
, that is used to obtain more information about this specific printer.final class
ClassPrinterMoreInfoManufacturer
is a printing attribute class, aURI
, that is used to obtain more information about this type of device.final class
ClassPrinterName
is a printing attribute class, a text attribute, that specifies the name of a printer.final class
ClassPrinterResolution
is a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job.final class
ClassPrinterState
is a printing attribute class, an enumeration, that identifies the current state of a printer.class
ClassPrinterStateReason
is a printing attribute class, an enumeration, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterState
attribute.final class
ClassPrinterStateReasons
is a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterState
attribute.final class
ClassPrinterURI
is a printing attribute class, aURI
, that specifies the globally unique name of a printer.class
ClassPrintQuality
is a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job.final class
ClassQueuedJobCount
is an integer valued printing attribute that indicates the number of jobs in the printer whoseJobState
is eitherPENDING
,PENDING_HELD
,PROCESSING
, orPROCESSING_STOPPED
.class
ClassReferenceUriSchemesSupported
is a printing attribute class an enumeration, that indicates a "URI scheme," such as "http:" or "ftp:", that a printer can use to retrieve print data stored at aURI
location.final class
ClassRequestingUserName
is a printing attribute class, a text attribute, that specifies the name of the end user that submitted the print job.final class
ClassSeverity
is a printing attribute class, an enumeration, that denotes the severity of aPrinterStateReason
attribute.final class
ClassSheetCollate
is a printing attribute class, an enumeration, that specifies whether or not the media sheets of each copy of each printed document in a job are to be in sequence, when multiple copies of the document are specified by theCopies
attribute.final class
ClassSides
is a printing attribute class, an enumeration, that specifies how print-stream pages are to be imposed upon the sides of an instance of a selected medium, i.e., an impression.Modifier and TypeMethodDescriptionboolean
Returns whether this copies attribute is equivalent to the passed in object.boolean
Returns whether this copies supported attribute is equivalent to the passed in object.boolean
Returns whether this date-time at completed attribute is equivalent to the passed in object.boolean
Returns whether this date-time at creation attribute is equivalent to the passed in object.boolean
Returns whether this date-time at processing attribute is equivalent to the passed in object.boolean
Returns whether this destination attribute is equivalent to the passed in object.boolean
Returns whether this document name attribute is equivalent to the passed in object.boolean
Returns whether this job hold until attribute is equivalent to the passed in object.boolean
Returns whether this job impressions attribute is equivalent to the passed in object.boolean
Returns whether this job impressions completed attribute is equivalent tp the passed in object.boolean
Returns whether this job impressions supported attribute is equivalent to the passed in object.boolean
Returns whether this job K octets attribute is equivalent to the passed in object.boolean
Returns whether this job K octets processed attribute is equivalent to the passed in object.boolean
Returns whether this job K octets supported attribute is equivalent to the passed in object.boolean
Returns whether this job media sheets attribute is equivalent to the passed in object.boolean
Returns whether this job media sheets completed attribute is equivalent to the passed in object.boolean
Returns whether this job media sheets supported attribute is equivalent to the passed in object.boolean
Returns whether this job message from operator attribute is equivalent to the passed in object.boolean
Returns whether this job name attribute is equivalent to the passed in object.boolean
Returns whether this job originating user name attribute is equivalent to the passed in object.boolean
Returns whether this job priority attribute is equivalent to the passed in object.boolean
Returns whether this job priority supported attribute is equivalent to the passed in object.boolean
Returns whether this media attribute is equivalent to the passed in object.boolean
Returns whether this media margins attribute is equivalent to the passed in object.boolean
Returns whether this media size attribute is equivalent to the passed in object.boolean
Returns whether this number of documents attribute is equivalent to the passed in object.boolean
Returns whether this number of intervening jobs attribute is equivalent to the passed in object.boolean
Returns whether this number up attribute is equivalent to the passed in object.boolean
Returns whether this number up supported attribute is equivalent to the passed in object.boolean
Returns whether this output device assigned attribute is equivalent to the passed in object.boolean
Returns whether this page ranges attribute is equivalent to the passed in object.boolean
Returns whether this pages per minute attribute is equivalent to the passed in object.boolean
Returns whether this pages per minute color attribute is equivalent to the passed in object.boolean
Returns whether this printer info attribute is equivalent to the passed in object.boolean
Returns whether this printer location attribute is equivalent to the passed in object.boolean
Returns whether this printer make and model attribute is equivalent to the passed in object.boolean
Returns whether this printer message from operator attribute is equivalent to the passed in object.boolean
Returns whether this printer more info attribute is equivalent to the passed in object.boolean
Returns whether this printer more info manufacturer attribute is equivalent to the passed in object.boolean
Returns whether this printer name attribute is equivalent to the passed in object.boolean
Returns whether this printer resolution attribute is equivalent to the passed in object.boolean
Returns whether this printer name attribute is equivalent to the passed in object.boolean
Returns whether this queued job count attribute is equivalent to the passed in object.boolean
Returns whether this requesting user name attribute is equivalent to the passed in object. -
Uses of Object in javax.print.event
Modifier and TypeClassDescriptionclass
ClassPrintEvent
is the super class of all Print Service API events.class
An abstract adapter class for receiving print job events.class
ClassPrintJobAttributeEvent
encapsulates an event aPrintService
reports to let the client know that one or more printing attributes for aPrintJob
have changed.class
ClassPrintJobEvent
encapsulates common events a print job reports to let a listener know of progress in the processing of theDocPrintJob
.class
ClassPrintServiceAttributeEvent
encapsulates an event a Print Service instance reports to let the client know of changes in the print service state. -
Uses of Object in javax.rmi.ssl
Modifier and TypeClassDescriptionclass
AnSslRMIClientSocketFactory
instance is used by the RMI runtime in order to obtain client sockets for RMI calls via SSL.class
AnSslRMIServerSocketFactory
instance is used by the RMI runtime in order to obtain server sockets for RMI calls via SSL. -
Uses of Object in javax.script
Modifier and TypeClassDescriptionclass
Provides a standard implementation for several of the variants of theeval
method.class
Extended by classes that store results of compilations.class
TheScriptEngineManager
implements a discovery and instantiation mechanism forScriptEngine
classes and also maintains a collection of key/value pairs storing state shared by all engines created by the Manager.class
The genericException
class for the Scripting APIs.class
A simple implementation of Bindings backed by aHashMap
or some other specifiedMap
.class
Simple implementation of ScriptContext.Modifier and TypeMethodDescriptioneval(Reader)
calls the abstracteval(Reader, ScriptContext)
passing the value of thecontext
field.eval(Reader, Bindings)
calls the abstracteval(Reader, ScriptContext)
method, passing it aScriptContext
whose Reader, Writers and Bindings for scopes other thatENGINE_SCOPE
are identical to those members of the protectedcontext
field.Same aseval(Reader)
except that the abstracteval(String, ScriptContext)
is used.Same aseval(Reader, Bindings)
except that the abstracteval(String, ScriptContext)
is used.CompiledScript.eval()
Executes the program stored in theCompiledScript
object.Executes the program stored in theCompiledScript
object using the suppliedBindings
of attributes as theENGINE_SCOPE
of the associatedScriptEngine
during script execution.abstract Object
CompiledScript.eval
(ScriptContext context) Executes the program stored in thisCompiledScript
object.Same aseval(String)
except that the source of the script is provided as aReader
Same aseval(String, Bindings)
except that the source of the script is provided as aReader
.ScriptEngine.eval
(Reader reader, ScriptContext context) Same aseval(String, ScriptContext)
where the source of the script is read from aReader
.Executes the specified script.Executes the script using theBindings
argument as theENGINE_SCOPE
Bindings
of theScriptEngine
during the script execution.ScriptEngine.eval
(String script, ScriptContext context) Causes the immediate execution of the script whose source is the String passed as the first argument.Gets the value for the specified key in theENGINE_SCOPE
of the protectedcontext
field.Returns the value to which this map maps the specified key.Retrieves a value set in the state of this engine.Gets the value for the specified key in the Global ScopeReturns the value to which this map maps the specified key.ScriptContext.getAttribute
(String name) Retrieves the value of the attribute with the given name in the scope occurring earliest in the search order.ScriptContext.getAttribute
(String name, int scope) Gets the value of an attribute in a given scope.SimpleScriptContext.getAttribute
(String name) Retrieves the value of the attribute with the given name in the scope occurring earliest in the search order.SimpleScriptContext.getAttribute
(String name, int scope) Gets the value of an attribute in a given scope.ScriptEngineFactory.getParameter
(String key) Returns the value of an attribute whose meaning may be implementation-specific.Invocable.invokeFunction
(String name, Object... args) Used to call top-level procedures and functions defined in scripts.Invocable.invokeMethod
(Object thiz, String name, Object... args) Calls a method on a script object compiled during a previous script execution, which is retained in the state of theScriptEngine
.Set a named value.Sets the specified key/value in the underlyingmap
field.Removes the mapping for this key from this map if it is present (optional operation).Removes the mapping for this key from this map if it is present (optional operation).ScriptContext.removeAttribute
(String name, int scope) Remove an attribute in a given scope.SimpleScriptContext.removeAttribute
(String name, int scope) Remove an attribute in a given scope.Modifier and TypeMethodDescriptionSimpleBindings.entrySet()
Returns aSet
view of the mappings contained in this map.SimpleBindings.values()
Returns aCollection
view of the values contained in this map.Modifier and TypeMethodDescriptionboolean
Bindings.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
SimpleBindings.containsKey
(Object key) Returnstrue
if this map contains a mapping for the specified key.boolean
SimpleBindings.containsValue
(Object value) Returnstrue
if this map maps one or more keys to the specified value.Returns the value to which this map maps the specified key.Returns the value to which this map maps the specified key.<T> T
Invocable.getInterface
(Object thiz, Class<T> clasz) Returns an implementation of an interface using member functions of a scripting object compiled in the interpreter.Invocable.invokeFunction
(String name, Object... args) Used to call top-level procedures and functions defined in scripts.Invocable.invokeMethod
(Object thiz, String name, Object... args) Calls a method on a script object compiled during a previous script execution, which is retained in the state of theScriptEngine
.void
Sets the specified value with the specified key in theENGINE_SCOPE
Bindings
of the protectedcontext
field.Set a named value.void
Sets a key/value pair in the state of the ScriptEngine that may either create a Java Language Binding to be used in the execution of scripts or be used in some other way, depending on whether the key is reserved.void
Sets the specified key/value pair in the Global Scope.Sets the specified key/value in the underlyingmap
field.Removes the mapping for this key from this map if it is present (optional operation).Removes the mapping for this key from this map if it is present (optional operation).void
ScriptContext.setAttribute
(String name, Object value, int scope) Sets the value of an attribute in a given scope.void
SimpleScriptContext.setAttribute
(String name, Object value, int scope) Sets the value of an attribute in a given scope.Modifier and TypeMethodDescriptionvoid
Adds all the mappings in a givenMap
to thisBindings
.void
putAll
is implemented usingMap.putAll
.ModifierConstructorDescriptionConstructor uses an existingMap
to store the values. -
Uses of Object in javax.security.auth
Modifier and TypeClassDescriptionfinal class
This class is for authentication permissions.class
Signals that adestroy
operation failed.final class
This class is used to protect access to private Credentials belonging to a particularSubject
.class
Signals that arefresh
operation failed.final class
ASubject
represents a grouping of related information for a single entity, such as a person.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.Modifier and TypeMethodDescriptionSubject.getPrivateCredentials()
Return theSet
of private credentials held by thisSubject
.Subject.getPublicCredentials()
Return theSet
of public credentials held by thisSubject
. -
Uses of Object in javax.security.auth.callback
Modifier and TypeClassDescriptionclass
Underlying security services instantiate and pass aChoiceCallback
to thehandle
method of aCallbackHandler
to display a list of choices and to retrieve the selected choice(s).class
Underlying security services instantiate and pass aConfirmationCallback
to thehandle
method of aCallbackHandler
to ask for YES/NO, OK/CANCEL, YES/NO/CANCEL or other similar confirmations.class
Underlying security services instantiate and pass aLanguageCallback
to thehandle
method of aCallbackHandler
to retrieve theLocale
used for localizing text.class
Underlying security services instantiate and pass aNameCallback
to thehandle
method of aCallbackHandler
to retrieve name information.class
Underlying security services instantiate and pass aPasswordCallback
to thehandle
method of aCallbackHandler
to retrieve password information.class
Underlying security services instantiate and pass aTextInputCallback
to thehandle
method of aCallbackHandler
to retrieve generic text information.class
Underlying security services instantiate and pass aTextOutputCallback
to thehandle
method of aCallbackHandler
to display information messages, warning messages and error messages.class
Signals that aCallbackHandler
does not recognize a particularCallback
. -
Uses of Object in javax.security.auth.kerberos
Modifier and TypeClassDescriptionfinal class
This class is used to restrict the usage of the Kerberos delegation model, ie: forwardable and proxiable tickets.final class
This class encapsulates an EncryptionKey used in Kerberos.final class
This class encapsulates a Kerberos 5 KRB_CRED message which can be used to send Kerberos credentials from one principal to another.class
This class encapsulates a long term secret key for a Kerberos principal.final class
This class encapsulates a Kerberos principal.class
This class encapsulates a Kerberos ticket and associated information as viewed from the client's point of view.final class
This class encapsulates a keytab file.final class
This class is used to protect Kerberos services and the credentials necessary to access those services.Modifier and TypeMethodDescriptionboolean
Checks two DelegationPermission objects for equality.boolean
Compares the specified object with this key for equality.boolean
Compares the specified object with thisKerberosCredMessage
for equality.boolean
Compares the specified object with thisKerberosKey
for equality.boolean
Compares the specified object with this principal for equality.boolean
Compares the specified object with thisKerberosTicket
for equality.boolean
Compares the specified object with thisKeyTab
for equality.boolean
Checks two ServicePermission objects for equality. -
Uses of Object in javax.security.auth.login
Modifier and TypeClassDescriptionclass
A generic account exception.class
Signals that a user account has expired.class
Signals that an account was locked.class
Signals that an account was not found.class
This class represents a singleLoginModule
entry configured for the application specified in thegetAppConfigurationEntry(String appName)
method in theConfiguration
class.static class
This class represents whether aLoginModule
is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.class
A Configuration object is responsible for specifying which LoginModules should be used for a particular application, and in what order the LoginModules should be invoked.class
This class defines the Service Provider Interface (SPI) for theConfiguration
class.class
A generic credential exception.class
Signals that aCredential
has expired.class
Signals that a credential was not found.class
Signals that user authentication failed.class
TheLoginContext
class describes the basic methods used to authenticate Subjects and provides a way to develop an application independent of the underlying authentication technology.class
This is the basic login exception. -
Uses of Object in javax.security.auth.x500
Modifier and TypeClassDescriptionfinal class
This class represents an X.500Principal
.final class
This class represents anX500PrivateCredential
. -
Uses of Object in javax.security.cert
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead. -
Uses of Object in javax.security.sasl
Modifier and TypeClassDescriptionclass
This exception is thrown by a SASL mechanism implementation to indicate that the SASL exchange has failed due to reasons related to authentication, such as an invalid identity, passphrase, or key.class
This callback is used bySaslServer
to determine whether one entity (identified by an authenticated authentication id) can act on behalf of another entity (identified by an authorization id).class
This callback is used bySaslClient
andSaslServer
to retrieve realm information.class
This callback is used bySaslClient
andSaslServer
to obtain a realm given a list of realm choices.class
A static class for creating SASL clients and servers.class
This class represents an error that has occurred when using SASL.Modifier and TypeMethodDescriptionSaslClient.getNegotiatedProperty
(String propName) Retrieves the negotiated property.SaslServer.getNegotiatedProperty
(String propName) Retrieves the negotiated property. -
Uses of Object in javax.smartcardio
Modifier and TypeClassDescriptionfinal class
A Smart Card's answer-to-reset bytes.class
A Smart Card with which a connection has been established.class
A logical channel connection to a Smart Card.class
Exception for errors that occur during communication with the Smart Card stack or the card itself.class
Exception thrown when an application tries to establish a connection with a terminal that has no card present.class
A permission for Smart Card operations.class
A Smart Card terminal, sometimes referred to as a Smart Card Reader.class
The set of terminals supported by a TerminalFactory.final class
A command APDU following the structure defined in ISO/IEC 7816-4.final class
A response APDU as defined in ISO/IEC 7816-4.final class
A factory for CardTerminal objects.class
The TerminalFactorySpi class defines the service provider interface.Modifier and TypeMethodDescriptionboolean
Compares the specified object with this ATR for equality.boolean
Compares the specified object with this CardPermission for equality.boolean
Compares the specified object with this command APDU for equality.boolean
Compares the specified object with this response APDU for equality.static TerminalFactory
TerminalFactory.getInstance
(String type, Object params) Returns a TerminalFactory of the specified type that is initialized with the specified parameters.static TerminalFactory
TerminalFactory.getInstance
(String type, Object params, String provider) Returns a TerminalFactory of the specified type that is initialized with the specified parameters.static TerminalFactory
TerminalFactory.getInstance
(String type, Object params, Provider provider) Returns a TerminalFactory of the specified type that is initialized with the specified parameters. -
Uses of Object in javax.sound.midi
Modifier and TypeClassDescriptionclass
An instrument is a sound-synthesis algorithm with certain parameter settings, usually designed to emulate a specific real-world musical instrument or to achieve a specific sort of sound effect.class
AnInvalidMidiDataException
indicates that inappropriate MIDI data was encountered.class
AMetaMessage
is aMidiMessage
that is not meaningful to synthesizers, but that can be stored in a MIDI file and interpreted by a sequencer program.static class
AMidiDevice.Info
object contains assorted data about aMidiDevice
, including its name, the company who created it, and descriptive text.class
MIDI events contain a MIDI message and a corresponding time-stamp expressed in ticks, and can represent the MIDI event information stored in a MIDI file or aSequence
object.class
AMidiFileFormat
object encapsulates a MIDI file's type, as well as its length and timing information.class
MidiMessage
is the base class for MIDI messages.class
TheMidiSystem
class provides access to the installed MIDI system resources, including devices such as synthesizers, sequencers, and MIDI input and output ports.class
AMidiUnavailableException
is thrown when a requested MIDI component cannot be opened or created because it is unavailable.class
APatch
object represents a location, on a MIDI synthesizer, into which a single instrument is stored (loaded).class
ASequence
is a data structure containing musical information (often an entire song or composition) that can be played back by aSequencer
object.static class
ASyncMode
object represents one of the ways in which a MIDI sequencer's notion of time can be synchronized with a master or slave device.class
AShortMessage
contains a MIDI message that has at most two data bytes following its status byte.class
ASoundbankResource
represents any audio resource stored in aSoundbank
.class
ASysexMessage
object represents a MIDI system exclusive message.final class
A MIDI track is an independent stream of MIDI events (time-stamped MIDI data) that can be stored along with other tracks in a standard MIDI file.class
AVoiceStatus
object contains information about the current status of one of the voices produced by aSynthesizer
.Modifier and TypeMethodDescriptionMetaMessage.clone()
Creates a new object of the same class and with the same contents as this object.abstract Object
MidiMessage.clone()
Creates a new object of the same class and with the same contents as this object.ShortMessage.clone()
Creates a new object of the same class and with the same contents as this object.SysexMessage.clone()
Creates a new object of the same class and with the same contents as this object.abstract Object
SoundbankResource.getData()
Obtains the sampled audio that is stored in thisSoundbankResource
.MidiFileFormat.getProperty
(String key) Obtain the property value specified by the key.Modifier and TypeMethodDescriptionMidiFileFormat.properties()
Obtain an unmodifiable map of properties.Modifier and TypeMethodDescriptionfinal boolean
Indicates whether the specified object is equal to this info object, returningtrue
if the objects are the same.final boolean
Indicates whether the specified object is equal to this synchronization mode, returningtrue
if the objects are the same.ModifierConstructorDescriptionMidiFileFormat
(int type, float divisionType, int resolution, int bytes, long microseconds, Map<String, Object> properties) Construct aMidiFileFormat
with a set of properties. -
Uses of Object in javax.sound.midi.spi
Modifier and TypeClassDescriptionclass
AMidiDeviceProvider
is a factory or provider for a particular type of MIDI device.class
AMidiFileReader
supplies MIDI file-reading services.class
AMidiFileWriter
supplies MIDI file-writing services.class
ASoundbankReader
supplies soundbank file-reading services. -
Uses of Object in javax.sound.sampled
Modifier and TypeClassDescriptionclass
An instance of theAudioFileFormat
class describes an audio file, including the file type, the file's length in bytes, the length in sample frames of the audio data contained in the file, and the format of the audio data.static class
An instance of theType
class represents one of the standard types of audio file.class
AudioFormat
is the class that specifies a particular arrangement of data in a sound stream.static class
TheEncoding
class names the specific type of data representation used for an audio stream.class
An audio input stream is an input stream with a specified audio format and length.class
TheAudioPermission
class represents access rights to the audio system resources.class
TheAudioSystem
class acts as the entry point to the sampled-audio system resources.class
ABooleanControl
provides the ability to switch between two possible settings that affect a line's audio.static class
An instance of theBooleanControl.Type
class identifies one kind of boolean control.class
ACompoundControl
, such as a graphic equalizer, provides control over two or more related properties, each of which is itself represented as aControl
.static class
An instance of theCompoundControl.Type
inner class identifies one kind of compound control.class
Lines
often have a set of controls, such as gain and pan, that affect the audio signal passing through the line.static class
An instance of theType
class represents the type of the control.static class
Besides the class information inherited from its superclass,DataLine.Info
provides additional information specific to data lines.class
AnEnumControl
provides control over a set of discrete possible values, each represented by an object.static class
An instance of theEnumControl.Type
inner class identifies one kind of enumerated control.class
AFloatControl
object provides control over a range of floating-point values.static class
An instance of theFloatControl.Type
inner class identifies one kind of float control.static class
ALine.Info
object contains information about a line.class
TheLineEvent
class encapsulates information that a line sends its listeners whenever the line opens, closes, starts, or stops.static class
The LineEvent.Type inner class identifies what kind of event occurred on a line.class
ALineUnavailableException
is an exception indicating that a line cannot be opened because it is unavailable.static class
TheMixer.Info
class represents information about an audio mixer, including the product's name, version, and vendor, along with a textual description.static class
ThePort.Info
class extendsLine.Info
with additional information specific to ports, including the port's name and whether it is a source or a target for its mixer.class
TheReverbType
class provides methods for accessing various reverberation settings to be applied to an audio signal.class
AnUnsupportedAudioFileException
is an exception indicating that an operation failed because a file did not contain valid data of a recognized file type and format.Modifier and TypeMethodDescriptionAudioFileFormat.getProperty
(String key) Obtain the property value specified by the key.AudioFormat.getProperty
(String key) Obtain the property value specified by the key.EnumControl.getValue()
Obtains this control's current value.Object[]
EnumControl.getValues()
Returns the set of possible values for this control.Modifier and TypeMethodDescriptionAudioFileFormat.properties()
Obtain an unmodifiable map of properties.AudioFormat.properties()
Obtain an unmodifiable map of properties.Modifier and TypeMethodDescriptionfinal boolean
Indicates whether the specified object is equal to this file type, returningtrue
if the objects are equal.final boolean
Indicates whether the specified object is equal to this encoding, returningtrue
if the objects are equal.final boolean
Indicates whether the specified object is equal to this control type, returningtrue
if the objects are the same.final boolean
Indicates whether the specified object is equal to this event type, returningtrue
if the objects are the same.final boolean
Indicates whether the specified object is equal to this info object, returningtrue
if the objects are the same.final boolean
Indicates whether the specified object is equal to this info object, returningtrue
if the objects are the same.final boolean
Indicates whether the specified object is equal to this reverb type, returningtrue
if the objects are the same.void
Sets the current value for the control.ModifierConstructorDescriptionprotected
EnumControl
(EnumControl.Type type, Object[] values, Object value) Constructs a new enumerated control object with the given parameters.ModifierConstructorDescriptionAudioFileFormat
(AudioFileFormat.Type type, AudioFormat format, int frameLength, Map<String, Object> properties) Construct an audio file format object with a set of defined properties.AudioFormat
(AudioFormat.Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian, Map<String, Object> properties) Constructs anAudioFormat
with the given parameters. -
Uses of Object in javax.sound.sampled.spi
Modifier and TypeClassDescriptionclass
Provider for audio file reading services.class
Provider for audio file writing services.class
A format conversion provider provides format conversion services from one or more input formats to one or more output formats.class
A provider or factory for a particular mixer type. -
Uses of Object in javax.sql
Modifier and TypeClassDescriptionclass
AnEvent
object that provides information about the source of a connection-related event.class
AnEvent
object generated when an event occurs to aRowSet
object.class
AStatementEvent
is sent to allStatementEventListener
s which were registered with aPooledConnection
.Modifier and TypeMethodDescriptionObject[]
RowSetInternal.getParams()
Retrieves the parameters that have been set for thisRowSet
object's command.Modifier and TypeMethodDescriptionvoid
Sets the designated parameter in thisRowSet
object's command with a JavaObject
.void
Sets the designated parameter in thisRowSet
object's command with a JavaObject
.void
Sets the designated parameter in thisRowSet
object's command with the given JavaObject
.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object. -
Uses of Object in javax.sql.rowset
Modifier and TypeClassDescriptionclass
An abstract class providing aRowSet
object with its basic functionality.class
Provides implementations for the methods that set and get metadata information about aRowSet
object's columns.class
A factory API that enables applications to obtain aRowSetFactory
implementation that can be used to create different types ofRowSet
implementations.class
An extension ofSQLException
that provides information about database warnings set onRowSet
objects.Modifier and TypeMethodDescriptionObject[]
BaseRowSet.getParams()
Retrieves an array containing the parameter values (both Objects and primitives) that have been set for thisRowSet
object's command and throws anSQLException
object if all parameters have not been set.Modifier and TypeMethodDescriptionboolean
This method is called by aFilteredRowSet
object to check whether the value lies between the filtering criterion (or criteria if multiple constraints exist) set using thesetFilter()
method.boolean
This method is called by theFilteredRowSet
object to check whether the value lies between the filtering criteria set using the setFilter method.void
Sets the designated parameter to anObject
in the Java programming language.void
Sets the value of the designated parameter with the givenObject
value.void
Sets the designated parameter to anObject
in the Java programming language.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object.void
Sets the value of the designated parameter with the given object. -
Uses of Object in javax.sql.rowset.serial
Modifier and TypeClassDescriptionclass
A serialized version of anArray
object, which is the mapping in the Java programming language of an SQLARRAY
value.class
A serialized mapping in the Java programming language of an SQLBLOB
value.class
A serialized mapping in the Java programming language of an SQLCLOB
value.class
A serialized mapping in the Java programming language of an SQLDATALINK
value.class
Indicates and an error with the serialization or de-serialization of SQL types such asBLOB, CLOB, STRUCT or ARRAY
in addition to SQL types such asDATALINK and JAVAOBJECT
class
A serializable mapping in the Java programming language of an SQLJAVA_OBJECT
value.class
A serialized mapping of aRef
object, which is the mapping in the Java programming language of an SQLREF
value.class
A serialized mapping in the Java programming language of an SQL structured type.class
An input stream used for custom mapping user-defined types (UDTs).class
The output stream for writing the attributes of a custom-mapped user-defined type (UDT) back to the database.Modifier and TypeMethodDescriptionSerialArray.clone()
Returns a clone of thisSerialArray
.SerialBlob.clone()
Returns a clone of thisSerialBlob
.SerialClob.clone()
Returns a clone of thisSerialClob
.SerialDatalink.clone()
Returns a clone of thisSerialDatalink
.SerialJavaObject.clone()
Returns a clone of thisSerialJavaObject
.SerialRef.clone()
Returns a clone of thisSerialRef
.SerialStruct.clone()
Returns a clone of thisSerialStruct
.SerialArray.getArray()
Returns a new array that is a copy of thisSerialArray
object.SerialArray.getArray
(long index, int count) Returns a new array that is a copy of a slice of thisSerialArray
object, starting with the element at the given index and containing the given number of consecutive elements.Returns a new array that is a copy of a slice of thisSerialArray
object, starting with the element at the given index and containing the given number of consecutive elements.Returns a new array that is a copy of thisSerialArray
object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.Object[]
SerialStruct.getAttributes()
Retrieves an array ofObject
values containing the attributes of the SQL structured type that thisSerialStruct
object represents.Object[]
SerialStruct.getAttributes
(Map<String, Class<?>> map) Retrieves the attributes for the SQL structured type that thisSerialStruct
represents as an array ofObject
values, using the given type map for custom mapping if appropriate.SerialJavaObject.getObject()
Returns anObject
that is a copy of thisSerialJavaObject
object.SerialRef.getObject()
Returns anObject
representing the SQL structured type to which thisSerialRef
object refers.Returns anObject
representing the SQL structured type to which thisSerialRef
object refers.SQLInputImpl.readObject()
Retrieves the value at the head of thisSQLInputImpl
object as anObject
in the Java programming language.Modifier and TypeMethodDescriptionboolean
Compares this SerialArray to the specified object.boolean
Compares this SerialBlob to the specified object.boolean
Compares this SerialClob to the specified object.boolean
Compares thisSerialDatalink
to the specified object.boolean
Compares this SerialJavaObject to the specified object.boolean
Compares this SerialRef to the specified object.boolean
Compares this SerialStruct to the specified object.void
Sets the SQL structured type that thisSerialRef
object references to the givenObject
object.ModifierConstructorDescriptionSerialJavaObject
(Object obj) Constructor forSerialJavaObject
helper class.SQLInputImpl
(Object[] attributes, Map<String, Class<?>> map) Creates anSQLInputImpl
object initialized with the given array of attributes and the given type map. -
Uses of Object in javax.sql.rowset.spi
Modifier and TypeClassDescriptionclass
The Service Provider Interface (SPI) mechanism that generatesSyncProvider
instances to be used by disconnectedRowSet
objects.class
Indicates an error withSyncFactory
mechanism.class
The synchronization mechanism that provides reader/writer capabilities for disconnectedRowSet
objects.class
Indicates an error with theSyncProvider
mechanism.Modifier and TypeMethodDescriptionSyncResolver.getConflictValue
(int index) Retrieves the value in the designated column in the current row of thisSyncResolver
object, which is the value in the data source that caused a conflict.SyncResolver.getConflictValue
(String columnName) Retrieves the value in the designated column in the current row of thisSyncResolver
object, which is the value in the data source that caused a conflict.Modifier and TypeMethodDescriptionvoid
SyncResolver.setResolvedValue
(int index, Object obj) Sets obj as the value in column index in the current row of theRowSet
object that is being synchronized.void
SyncResolver.setResolvedValue
(String columnName, Object obj) Sets obj as the value in column columnName in the current row of theRowSet
object that is being synchronized. -
Uses of Object in javax.swing
Modifier and TypeClassDescriptionclass
This class provides default implementations for the JFCAction
interface.class
Defines common behaviors for buttons and menu items.protected class
This class implements accessibility support for theAbstractButton
class.protected class
ExtendsChangeListener
to be serializable.class
A base class forCellEditors
, providing default implementations for the methods in theCellEditor
interface exceptgetCellEditorValue()
.class
The abstract definition for the data model that provides aList
with its contents.class
This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.class
ActionMap
provides mappings fromObject
s (called keys orAction
names) toAction
s.class
Factory class for vending standardBorder
objects.class
A lightweight container that uses a BoxLayout object as its layout manager.protected class
This class implements accessibility support for theBox
class.static class
An implementation of a lightweight component that participates in layout but has no view.protected class
This class implements accessibility support for theBox.Filler
class.class
A layout manager that allows multiple components to be laid out either vertically or horizontally.class
This class is used to create a multiple-exclusion scope for a set of buttons.class
This class is inserted in between cell renderers and the components that use them.protected class
This class implements accessibility support for theCellRendererPane
class.class
AComponentInputMap
is anInputMap
associated with a particularJComponent
.class
Graphics subclass supporting graphics debugging.class
A generic implementation of BoundedRangeModel.class
The default implementation of aButton
component's data model.class
The default editor for table and tree cells.protected class
The protectedEditorDelegate
class.class
The default model for combo boxes.class
This is an implementation of theDesktopManager
.class
This class has been obsoleted by the 1.4 focus APIs.class
Renders an item in a list.static class
A subclass of DefaultListCellRenderer that implements UIResource.class
This class loosely implements thejava.util.Vector
API, in that it implements the 1.1.x version ofjava.util.Vector
, has no collection class support, and notifies theListDataListener
s when changes occur.class
Default data model for list selections.class
DefaultRowSorter<M,
I> An implementation ofRowSorter
that provides sorting and filtering around a grid-based data model.protected static class
DefaultRowSorter.ModelWrapper
is responsible for providing the data that gets sorted byDefaultRowSorter
.class
A generic implementation of SingleSelectionModel.class
This class has been obsoleted by the 1.4 focus APIs.class
An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image.class
GroupLayout
is aLayoutManager
that hierarchically groups components in order to position them in aContainer
.class
Group
provides the basis for the two types of operations supported byGroupLayout
: laying out components one after another (SequentialGroup
) or aligned (ParallelGroup
).class
AGroup
that aligns and sizes its children.final class
AGroup
that positions and sizes its elements sequentially, one after another.class
An implementation of the Icon interface that paints Icons from Images.protected class
This class implements accessibility support for theImageIcon
class.class
InputMap
provides a binding between an input event (currently onlyKeyStroke
s are used) and anObject
.class
This class provides the validation mechanism for Swing components.class
A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component.class
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 theJApplet
class.class
An implementation of a "push" button.protected class
This class implements accessibility support for theJButton
class.class
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.protected class
This class implements accessibility support for theJCheckBox
class.class
A menu item that can be selected or deselected.protected class
This class implements accessibility support for theJCheckBoxMenuItem
class.class
JColorChooser
provides a pane of controls designed to allow a user to manipulate and select a color.protected class
This class implements accessibility support for theJColorChooser
class.class
JComboBox<E>
A component that combines a button or editable field and a drop-down list.protected class
This class implements accessibility support for theJComboBox
class.class
The base class for all Swing components except top-level containers.class
Inner class of JComponent used to provide default support for accessibility.protected class
Fire PropertyChange listener, if one is registered, when children added/removed.protected class
Deprecated.This class is no longer used or needed.class
A container used to create a multiple-document interface or a virtual desktop.protected class
This class implements accessibility support for theJDesktopPane
class.class
The main class for creating a dialog window.protected class
This class implements accessibility support for theJDialog
class.class
A text component to edit various kinds of content.protected class
This class implements accessibility support for theJEditorPane
class.protected class
This class provides support forAccessibleHypertext
, and is used in instances where theEditorKit
installed in thisJEditorPane
is an instance ofHTMLEditorKit
.protected class
What's returned byAccessibleJEditorPaneHTML.getAccessibleText
.class
An HTML link.class
JFileChooser
provides a simple mechanism for the user to choose a file.protected class
This class implements accessibility support for theJFileChooser
class.class
JFormattedTextField
extendsJTextField
adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.static class
Instances ofAbstractFormatter
are used byJFormattedTextField
to handle the conversion both from an Object to a String, and back from a String to an Object.static class
Instances ofAbstractFormatterFactory
are used byJFormattedTextField
to obtain instances ofAbstractFormatter
which in turn are used to format values.class
An extended version ofjava.awt.Frame
that adds support for the JFC/Swing component architecture.protected class
This class implements accessibility support for theJFrame
class.class
A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.protected class
This class implements accessibility support for theJInternalFrame
class.static class
This component represents an iconified version of aJInternalFrame
.protected class
This class implements accessibility support for theJInternalFrame.JDesktopIcon
class.class
A display area for a short text string or an image, or both.protected class
The class used to obtain the accessible role for this object.final class
JLayer
is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of allAWTEvent
s generated within its borders.class
JLayeredPane
adds depth to a JFC/Swing container, allowing components to overlap each other when needed.protected class
This class implements accessibility support for theJLayeredPane
class.class
JList<E>
A component that displays a list of objects and allows the user to select one or more items.protected class
This class implements accessibility support for theJList
class.protected class
This class implements accessibility support appropriate for list children.static final class
A subclass ofTransferHandler.DropLocation
representing a drop location for aJList
.class
An implementation of a menu -- a popup window containingJMenuItem
s that is displayed when the user selects an item on theJMenuBar
.protected class
This class implements accessibility support for theJMenu
class.protected class
A listener class that watches for a popup window closing.class
An implementation of a menu bar.protected class
This class implements accessibility support for theJMenuBar
class.class
An implementation of an item in a menu.protected class
This class implements accessibility support for theJMenuItem
class.class
JOptionPane
makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.protected class
This class implements accessibility support for theJOptionPane
class.class
JPanel
is a generic lightweight container.protected class
This class implements accessibility support for theJPanel
class.class
JPasswordField
is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.protected class
This class implements accessibility support for theJPasswordField
class.class
An implementation of a popup menu -- a small window that pops up and displays a series of choices.protected class
This class implements accessibility support for theJPopupMenu
class.static class
A popup menu-specific separator.class
A component that visually displays the progress of some task.protected class
This class implements accessibility support for theJProgressBar
class.class
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.protected class
This class implements accessibility support for theJRadioButton
class.class
An implementation of a radio button menu item.protected class
This class implements accessibility support for theJRadioButtonMenuItem
class.class
A lightweight container used behind the scenes byJFrame
,JDialog
,JWindow
,JApplet
, andJInternalFrame
.protected class
This class implements accessibility support for theJRootPane
class.protected class
A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.class
An implementation of a scrollbar.protected class
This class implements accessibility support for theJScrollBar
class.class
Provides a scrollable view of a lightweight component.protected class
This class implements accessibility support for theJScrollPane
class.protected class
By defaultJScrollPane
creates scrollbars that are instances of this class.class
JSeparator
provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.protected class
This class implements accessibility support for theJSeparator
class.class
A component that lets the user graphically select a value by sliding a knob within a bounded interval.protected class
This class implements accessibility support for theJSlider
class.class
A single line input field that lets the user select a number or an object value from an ordered sequence.protected class
AccessibleJSpinner
implements accessibility support for theJSpinner
class.static class
An editor for aJSpinner
whose model is aSpinnerDateModel
.static class
A simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField
.static class
An editor for aJSpinner
whose model is aSpinnerListModel
.static class
An editor for aJSpinner
whose model is aSpinnerNumberModel
.class
JSplitPane
is used to divide two (and only two)Component
s.protected class
This class implements accessibility support for theJSplitPane
class.class
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.protected class
This class implements accessibility support for theJTabbedPane
class.protected class
We passModelChanged
events along to the listeners with the tabbedpane (instead of the model itself) as the event source.class
TheJTable
is used to display and edit regular two-dimensional tables of cells.protected class
This class implements accessibility support for theJTable
class.protected class
The class provides an implementation of the Java Accessibility API appropriate to table cells.protected class
Describes a change in the accessible table model.static final class
A subclass ofTransferHandler.DropLocation
representing a drop location for aJTable
.class
AJTextArea
is a multi-line area that displays plain text.protected class
This class implements accessibility support for theJTextArea
class.class
JTextField
is a lightweight component that allows the editing of a single line of text.protected class
This class implements accessibility support for theJTextField
class.class
A text component that can be marked up with attributes that are represented graphically.class
An implementation of a two-state button.protected class
This class implements accessibility support for theJToggleButton
class.static class
The ToggleButton modelclass
JToolBar
provides a component that is useful for displaying commonly usedAction
s or controls.protected class
This class implements accessibility support for theJToolBar
class.static class
A toolbar-specific separator.class
Used to display a "Tip" for a Component.protected class
This class implements accessibility support for theJToolTip
class.class
A control that displays a set of hierarchical data as an outline.protected class
This class implements accessibility support for theJTree
class.protected class
This class implements accessibility support for theJTree
child.static final class
A subclass ofTransferHandler.DropLocation
representing a drop location for aJTree
.static class
DynamicUtilTreeNode
can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.protected static class
EmptySelectionModel
is aTreeSelectionModel
that does not allow anything to be selected.protected class
Listens to the model and updates theexpandedState
accordingly when nodes are removed, or changed.protected class
Handles creating a newTreeSelectionEvent
with theJTree
as the source and passing it off to all the listeners.class
The "viewport" or "porthole" through which you see the underlying information.protected class
This class implements accessibility support for theJViewport
class.protected class
A listener for the view.class
AJWindow
is a container that can be displayed anywhere on the user's desktop.protected class
This class implements accessibility support for theJWindow
class.class
A KeyStroke represents a key action on the keyboard, or equivalent input device.class
A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.class
LayoutStyle
provides information about how to position components.class
LookAndFeel
, as the name implies, encapsulates a look and feel.class
A MenuSelectionManager owns the selection in menu hierarchy.class
A layout manager to arrange components over the top of each other.class
Popups are used to display aComponent
to the user, typically on top of all the otherComponent
s in a particular containment hierarchy.class
PopupFactory
, as the name implies, is used to obtain instances ofPopup
s.class
A class to monitor the progress of some operation.protected class
AccessibleProgressMonitor
implements accessibility support for theProgressMonitor
class.class
Monitors the progress of reading from some InputStream.class
This class manages repaint requests, allowing the number of repaints to be minimized, for example by collapsing multiple requests into a single repaint for members of a component tree.class
RowFilter<M,
I> RowFilter
is used to filter out entries from the model so that they are not shown in the view.static class
RowFilter.Entry<M,
I> AnEntry
object is passed to instances ofRowFilter
, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown.class
RowSorter<M>
RowSorter
provides the basis for sorting and filtering.static class
SortKey describes the sort order for a particular column.class
The layout manager used byJScrollPane
.static class
The UI resource version ofScrollPaneLayout
.class
For the convenience of layout managers, calculates information about the size and position of components.class
ASizeSequence
object efficiently maintains an ordered list of sizes and corresponding positions.class
A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator.class
ASpinnerModel
for sequences ofDate
s.class
A simple implementation ofSpinnerModel
whose values are defined by an array or aList
.class
ASpinnerModel
for sequences of numbers.class
An instance of theSpring
class holds three properties that characterize its behavior: the minimum, preferred, and maximum values.class
ASpringLayout
lays out the children of its associated container according to a set of constraints.static class
AConstraints
object holds the constraints that govern the way a component's size and position change in a container controlled by aSpringLayout
.class
A collection of utility methods for Swing.class
SwingWorker<T,
V> An abstract class to perform lengthy GUI-interaction tasks in a background thread.class
Fires one or moreActionEvent
s at specified intervals.final class
Manages all theToolTips
in the system.protected class
Inside timer action.protected class
Outside timer action.protected class
Still inside timer action.class
This class is used to handle the transfer of aTransferable
to and from Swing components.static class
Represents a location where dropped data should be inserted.static final class
This class encapsulates all relevant details of a clipboard or drag and drop transfer, and also allows for customizing aspects of the drag and drop experience.class
A table of defaults for Swing components.static class
LazyInputMap
will create aInputMap
in itscreateValue
method.static class
This class provides an implementation ofLazyValue
which can be used to delay loading of the Class for the instance to be created.class
UIManager
manages the current look and feel, the set of available look and feels,PropertyChangeListeners
that are notified when the look and feel changes, look and feel defaults, and convenience methods for obtaining various default values.static class
Provides a little information about an installedLookAndFeel
for the sake of configuring a menu or for initial application set up.class
An exception that indicates the requested look & feel management classes are not present on the user's system.class
The default layout manager forJViewport
.Modifier and TypeFieldDescriptionprotected Object
JTree.DynamicUtilTreeNode.childValue
Value to create children with.protected Object
JOptionPane.initialSelectionValue
Initial value to select inselectionValues
.protected Object
JOptionPane.initialValue
Value that should be initially selected inoptions
.protected Object
JOptionPane.inputValue
Value the user has input.protected Object
JOptionPane.message
Message to display.protected Object[]
JOptionPane.options
Options to display to the user.protected Object
JComboBox.selectedItemReminder
This protected field is implementation specific.protected Object[]
JOptionPane.selectionValues
Array of values the user can choose from.static final Object
JOptionPane.UNINITIALIZED_VALUE
Indicates that the user has not yet selected a value.protected Object
DefaultCellEditor.EditorDelegate.value
The value of this cell.protected Object
JOptionPane.value
Currently selected value, will be a valid option, orUNINITIALIZED_VALUE
ornull
.Modifier and TypeFieldDescriptionJTable.defaultEditorsByColumnClass
A table of objects that display and edit the contents of a cell, indexed by class as declared ingetColumnClass
in theTableModel
interface.JTable.defaultEditorsByColumnClass
A table of objects that display and edit the contents of a cell, indexed by class as declared ingetColumnClass
in theTableModel
interface.A table of objects that display the contents of a cell, indexed by class as declared ingetColumnClass
in theTableModel
interface.A table of objects that display the contents of a cell, indexed by class as declared ingetColumnClass
in theTableModel
interface.Modifier and TypeMethodDescriptionObject[]
ActionMap.allKeys()
Returns an array of the keys defined in thisActionMap
and its parent.protected Object
AbstractAction.clone()
Clones the abstract action.DefaultListSelectionModel.clone()
Returns a clone of this selection model with the same selection.protected Object
JFormattedTextField.AbstractFormatter.clone()
Clones theAbstractFormatter
.UIDefaults.ActiveValue.createValue
(UIDefaults table) Creates the value retrieved from theUIDefaults
table.UIDefaults.LazyInputMap.createValue
(UIDefaults table) Creates anInputMap
with the bindings that are passed in.UIDefaults.LazyValue.createValue
(UIDefaults table) Creates the actual value retrieved from theUIDefaults
table.UIDefaults.ProxyLazyValue.createValue
(UIDefaults table) Creates the value retrieved from theUIDefaults
table.Returns the binding forkeyStroke
, messaging the parentInputMap
if the binding is not locally defined.Returns the value for key.Returns the value for key associated with the given locale.static Object
Returns an object from the defaults.static Object
Returns an object from the defaults that is appropriate for the given locale.JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink.getAccessibleActionAnchor
(int i) Return an object that represents the link anchor, as appropriate for that link.JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink.getAccessibleActionObject
(int i) Returns a URL object that represents the link.CellEditor.getCellEditorValue()
Returns the value contained in the editor.DefaultCellEditor.EditorDelegate.getCellEditorValue()
Returns the value of this cell.DefaultCellEditor.getCellEditorValue()
Forwards the message from theCellEditor
to thedelegate
.final Object
JComponent.getClientProperty
(Object key) Returns the value of the property with the specified key.static Object
LookAndFeel.getDesktopPropertyValue
(String systemPropertyName, Object fallbackValue) Returns the value of the specified system desktop property by invokingToolkit.getDefaultToolkit().getDesktopProperty()
.JOptionPane.getInitialSelectionValue()
Returns the input value that is displayed as initially selected to the user.JOptionPane.getInitialValue()
Returns the initial value.JOptionPane.getInputValue()
Returns the value the user has input, ifwantsInput
is true.ComboBoxEditor.getItem()
Returns the edited itemObject[]
AbstractAction.getKeys()
Returns an array ofObject
s which are keys for which values have been set for thisAbstractAction
, ornull
if no keys have values set.JTree.getLastSelectedPathComponent()
Returns the last path component of the selected path.JOptionPane.getMessage()
Returns the message-object this pane displays.JSpinner.getNextValue()
Returns the object in the sequence that comes after the object returned bygetValue()
.SpinnerDateModel.getNextValue()
Returns the nextDate
in the sequence, ornull
if the next date is afterend
.SpinnerListModel.getNextValue()
Returns the next legal value of the underlying sequence ornull
if value is already the last element.SpinnerModel.getNextValue()
Return the object in the sequence that comes after the object returned bygetValue()
.SpinnerNumberModel.getNextValue()
Returns the next number in the sequence.Object[]
JOptionPane.getOptions()
Returns the choices the user can make.JSpinner.getPreviousValue()
Returns the object in the sequence that comes before the object returned bygetValue()
.SpinnerDateModel.getPreviousValue()
Returns the previousDate
in the sequence, ornull
if the previous date is beforestart
.SpinnerListModel.getPreviousValue()
Returns the previous element of the underlying sequence ornull
if value is already the first element.SpinnerModel.getPreviousValue()
Return the object in the sequence that comes before the object returned bygetValue()
.SpinnerNumberModel.getPreviousValue()
Returns the previous number in the sequence.ComboBoxModel.getSelectedItem()
Returns the selected itemDefaultComboBoxModel.getSelectedItem()
JComboBox.getSelectedItem()
Returns the current selected item.Object[]
AbstractButton.getSelectedObjects()
Returns an array (length 1) containing the label ornull
if the button is not selected.Object[]
DefaultButtonModel.getSelectedObjects()
Overridden to returnnull
.Object[]
JCheckBoxMenuItem.getSelectedObjects()
Returns an array (length 1) containing the check box menu item label or null if the check box is not selected.Object[]
JComboBox.getSelectedObjects()
Returns an array containing the selected item.Object[]
JList.getSelectedValues()
Deprecated.As of JDK 1.7, replaced byJList.getSelectedValuesList()
Object[]
JOptionPane.getSelectionValues()
Returns the input selection values.Gets theObject
associated with the specified key.Gets one of this object's properties using the associated key.JFormattedTextField.getValue()
Returns the last valid value.JOptionPane.getValue()
Returns the value the user has selected.JSpinner.getValue()
Returns the current value of the model, typically this value is displayed by theeditor
.abstract Object
RowFilter.Entry.getValue
(int index) Returns the value at the specified index.SpinnerDateModel.getValue()
Returns the current element in this sequence ofDate
s.SpinnerListModel.getValue()
Returns the current element of the sequence.SpinnerModel.getValue()
The current element of the sequence.SpinnerNumberModel.getValue()
Returns the value of the current element of the sequence.abstract Object
DefaultRowSorter.ModelWrapper.getValueAt
(int row, int column) Returns the value at the specified index.JTable.getValueAt
(int row, int column) Returns the cell value atrow
andcolumn
.Object[]
ActionMap.keys()
Returns theAction
names that are bound in thisActionMap
.static Object
Creates and returns aUIDefault.LazyValue
that loads an image.Sets the value ofkey
tovalue
for all locales.static Object
Stores an object in the developer defaults.static Object
JOptionPane.showInputDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.static Object
JOptionPane.showInternalInputDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified.abstract Object
JFormattedTextField.AbstractFormatter.stringToValue
(String text) Parsestext
returning an arbitrary Object.Object[]
DefaultListModel.toArray()
Returns an array containing all of the elements in this list in the correct order.Modifier and TypeMethodDescriptiondefault boolean
Determines whether the action should be performed with the specified sender object.void
Adds acomponent
to the tabbed pane.void
Adds acomponent
at the specified tab index.protected void
Adds the specified component to this container at the specified index, refer toContainer.addImpl(Component, Object, int)
for a complete description of this method.protected void
If the specified component is already a child of this then we don't bother doing anything - stacking order doesn't matter for cell renderer components (CellRendererPane doesn't paint anyway).protected void
Deprecated, for removal: This API element is subject to removal in a future version.Adds the specified childComponent
.protected void
Adds the specified component to this container at the specified index.protected void
Adds the specified childComponent
.protected void
Adds the specified childComponent
.protected void
Adds the specified childComponent
.protected void
This method is not supported byJLayer
and always throwsUnsupportedOperationException
protected void
Overridden to enforce the position of the glass component as the zero child.protected void
Adds the specified component to this split pane.protected void
If aJButton
is being added, it is initially set to be disabled.protected void
Sets theJViewport
's one lightweight child, which can benull
.protected void
Adds the specified childComponent
.void
BoxLayout.addLayoutComponent
(Component comp, Object constraints) Not used by this class.void
GroupLayout.addLayoutComponent
(Component component, Object constraints) Notification that aComponent
has been added to the parent container.void
JRootPane.RootLayout.addLayoutComponent
(Component comp, Object constraints) void
OverlayLayout.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to the layout, using the specified constraint object.void
SpringLayout.addLayoutComponent
(Component component, Object constraints) Ifconstraints
is an instance ofSpringLayout.Constraints
, associates the constraints with the specified component.void
JComboBox.configureEditor
(ComboBoxEditor anEditor, Object anItem) Initializes the editor with the specified item.boolean
Tests whether the specified object is a component in this list.JTree.convertValueToText
(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) Called by the renderers to convert the specified value to text.void
Copies the components of this list into the specified array.static void
JTree.DynamicUtilTreeNode.createChildren
(DefaultMutableTreeNode parent, Object children) Adds to parent all the children inchildren
.protected static TreeModel
JTree.createTreeModel
(Object value) Returns aTreeModel
wrapping the specified object.boolean
Returns true if this object equals the specified object.protected void
AbstractListModel.fireContentsChanged
(Object source, int index0, int index1) AbstractListModel
subclasses must call this method after one or more elements of the list change.protected void
AbstractListModel.fireIntervalAdded
(Object source, int index0, int index1) AbstractListModel
subclasses must call this method after one or more elements are added to the model.protected void
AbstractListModel.fireIntervalRemoved
(Object source, int index0, int index1) AbstractListModel
subclasses must call this method after one or more elements are removed from the model.protected void
AbstractAction.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Supports reporting bound property changes.protected void
DefaultListCellRenderer.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Overridden for performance reasons.protected void
JViewport.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Notifies listeners of a property change.final void
SwingWorker.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Reports a bound property update to any registered listeners.protected void
UIDefaults.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes.protected void
JComponent.fireVetoableChange
(String propertyName, Object oldValue, Object newValue) Supports reporting constrained property changes.Returns the binding forkey
, messaging the parentActionMap
if the binding is not locally defined.Returns the value for key.Returns the value for key associated with the given locale.static Object
Returns an object from the defaults.static Object
Returns an object from the defaults that is appropriate for the given locale.boolean
UIDefaults.getBoolean
(Object key) If the value ofkey
is boolean, return the boolean value, otherwise return false.boolean
UIDefaults.getBoolean
(Object key, Locale l) If the value ofkey
for the givenLocale
is boolean, return the boolean value, otherwise return false.static boolean
UIManager.getBoolean
(Object key) Returns a boolean from the defaults which is associated with the key value.static boolean
UIManager.getBoolean
(Object key, Locale l) Returns a boolean from the defaults which is associated with the key value and the givenLocale
.If the value ofkey
is aBorder
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is aBorder
return it, otherwise returnnull
.static Border
Returns a border from the defaults.static Border
Returns a border from the defaults that is appropriate for the given locale.final Object
JComponent.getClientProperty
(Object key) Returns the value of the property with the specified key.If the value ofkey
is aColor
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is aColor
return it, otherwise returnnull
.static Color
Returns a color from the defaults.static Color
Returns a color from the defaults that is appropriate for the given locale.Returns theTableColumn
object for the column in the table whose identifier is equal toidentifier
, when compared usingequals
.static Object
LookAndFeel.getDesktopPropertyValue
(String systemPropertyName, Object fallbackValue) Returns the value of the specified system desktop property by invokingToolkit.getDefaultToolkit().getDesktopProperty()
.UIDefaults.getDimension
(Object key) If the value ofkey
is aDimension
return it, otherwise returnnull
.UIDefaults.getDimension
(Object key, Locale l) If the value ofkey
for the givenLocale
is aDimension
return it, otherwise returnnull
.static Dimension
UIManager.getDimension
(Object key) Returns a dimension from the defaults.static Dimension
UIManager.getDimension
(Object key, Locale l) Returns a dimension from the defaults that is appropriate for the given locale.If the value ofkey
is aFont
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is aFont
return it, otherwise returnnull
.static Font
Returns a font from the defaults.static Font
Returns a font from the defaults that is appropriate for the given locale.If the value ofkey
is anIcon
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is anIcon
return it, otherwise returnnull
.static Icon
Returns anIcon
from the defaults.static Icon
Returns anIcon
from the defaults that is appropriate for the given locale.int
DefaultComboBoxModel.getIndexOf
(Object anObject) Returns the index-position of the specified object in the list.If the value ofkey
is anInsets
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is anInsets
return it, otherwise returnnull
.static Insets
Returns anInsets
object from the defaults.static Insets
Returns anInsets
object from the defaults that is appropriate for the given locale.int
If the value ofkey
is anInteger
return its integer value, otherwise return 0.int
If the value ofkey
for the givenLocale
is anInteger
return its integer value, otherwise return 0.static int
Returns an integer from the defaults.static int
Returns an integer from the defaults that is appropriate for the given locale.DefaultListCellRenderer.getListCellRendererComponent
(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) If the value ofkey
is aString
return it, otherwise returnnull
.If the value ofkey
for the givenLocale
is aString
return it, otherwise returnnull
.static String
Returns a string from the defaults.static String
Returns a string from the defaults that is appropriate for the given locale.DefaultCellEditor.getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) Implements theTableCellEditor
interface.DefaultCellEditor.getTreeCellEditorComponent
(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) Implements theTreeCellEditor
interface.int
Searches for the first occurrence ofelem
.int
Searches for the first occurrence ofelem
, beginning the search atindex
.static void
LookAndFeel.installProperty
(JComponent c, String propertyName, Object propertyValue) Convenience method for installing a property with the specified name and value on a component if that property has not already been set by the developer.int
DefaultListModel.lastIndexOf
(Object elem) Returns the index of the last occurrence ofelem
.int
DefaultListModel.lastIndexOf
(Object elem, int index) Searches backwards forelem
, starting from the specified index, and returns an index to it.static void
LookAndFeel.loadKeyBindings
(InputMap retMap, Object[] keys) Populates anInputMap
with the specified bindings.static ComponentInputMap
LookAndFeel.makeComponentInputMap
(JComponent c, Object[] keys) Creates aComponentInputMapUIResource
fromkeys
.static InputMap
LookAndFeel.makeInputMap
(Object[] keys) Creates anInputMapUIResource
fromkeys
.static JTextComponent.KeyBinding[]
LookAndFeel.makeKeyBindings
(Object[] keyBindingList) Convenience method for building an array ofKeyBindings
.static boolean
SwingUtilities.notifyAction
(Action action, KeyStroke ks, KeyEvent event, Object sender, int modifiers) InvokesactionPerformed
onaction
ifaction
is non-null
and accepts the sender object.protected final void
Sends data chunks to theSwingWorker.process(java.util.List<V>)
method.void
Adds a binding forkey
toaction
.void
Adds a binding forkeyStroke
toactionMapKey
.void
Adds a binding forkeyStroke
toactionMapKey
.Sets the value ofkey
tovalue
for all locales.static Object
Stores an object in the developer defaults.final void
JComponent.putClientProperty
(Object key, Object value) Adds an arbitrary key/value "client property" to this component.void
UIDefaults.putDefaults
(Object[] keyValueList) Puts all of the key/value pairs in the database and unconditionally generates onePropertyChangeEvent
.void
Sets theValue
associated with the specified key.void
Sets one of this object's properties using the associated key.void
JEditorPane.read
(InputStream in, Object desc) This method initializes from a stream.void
Removes the binding forkey
from thisActionMap
.void
DefaultComboBoxModel.removeElement
(Object anObject) boolean
DefaultListModel.removeElement
(Object obj) Removes the first (lowest-indexed) occurrence of the argument from this list.void
MutableComboBoxModel.removeElement
(Object obj) Removes an item from the model.void
JComboBox.removeItem
(Object anObject) Removes an item from the item list.void
JOptionPane.setInitialSelectionValue
(Object newValue) Sets the input value that is initially displayed as selected to the user.void
JOptionPane.setInitialValue
(Object newInitialValue) Sets the initial value that is to be enabled -- theComponent
that has the focus when the pane is initially displayed.void
JOptionPane.setInputValue
(Object newValue) Sets the input value that was selected or input by the user.void
Set the item that should be edited.void
JList.setListData
(E[] listData) Constructs a read-onlyListModel
from an array of items, and callssetModel
with this model.void
JOptionPane.setMessage
(Object newMessage) Sets the option pane's message-object.void
JOptionPane.setOptions
(Object[] newOptions) Sets the options this pane displays.void
ComboBoxModel.setSelectedItem
(Object anItem) Set the selected item.void
DefaultComboBoxModel.setSelectedItem
(Object anObject) Set the value of the selected item.void
JComboBox.setSelectedItem
(Object anObject) Sets the selected item in the combo box display area to the object in the argument.void
JList.setSelectedValue
(Object anObject, boolean shouldScroll) Selects the specified object from the list.void
JOptionPane.setSelectionValues
(Object[] newValues) Sets the input selection values for a pane that provides the user with a list of items to choose from.void
Sets the value of this cell.void
Sets the value that will be formatted by anAbstractFormatter
obtained from the currentAbstractFormatterFactory
.void
Sets the value the user has chosen.void
Changes current value of the model, typically this value is displayed by theeditor
.void
Specifies the value to display and whether or not the value should be portrayed as "currently selected".void
Sets the currentDate
for this sequence.void
Changes the current element of the sequence and notifiesChangeListeners
.void
Changes current value of the model, typically this value is displayed by theeditor
part of aJSpinner
.void
Sets the current value for this sequence.void
JTable.setValueAt
(Object aValue, int row, int column) Sets the value for the cell in the table model atrow
andcolumn
.static int
JOptionPane.showConfirmDialog
(Component parentComponent, Object message) Brings up a dialog with the options Yes, No and Cancel; with the title, Select an Option.static int
JOptionPane.showConfirmDialog
(Component parentComponent, Object message, String title, int optionType) Brings up a dialog where the number of choices is determined by theoptionType
parameter.static int
JOptionPane.showConfirmDialog
(Component parentComponent, Object message, String title, int optionType, int messageType) Brings up a dialog where the number of choices is determined by theoptionType
parameter, where themessageType
parameter determines the icon to display.static int
JOptionPane.showConfirmDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon) Brings up a dialog with a specified icon, where the number of choices is determined by theoptionType
parameter.static String
JOptionPane.showInputDialog
(Component parentComponent, Object message) Shows a question-message dialog requesting input from the user parented toparentComponent
.static String
JOptionPane.showInputDialog
(Component parentComponent, Object message, Object initialSelectionValue) Shows a question-message dialog requesting input from the user and parented toparentComponent
.static String
JOptionPane.showInputDialog
(Component parentComponent, Object message, String title, int messageType) Shows a dialog requesting input from the user parented toparentComponent
with the dialog having the titletitle
and message typemessageType
.static Object
JOptionPane.showInputDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.static String
JOptionPane.showInputDialog
(Object message) Shows a question-message dialog requesting input from the user.static String
JOptionPane.showInputDialog
(Object message, Object initialSelectionValue) Shows a question-message dialog requesting input from the user, with the input value initialized toinitialSelectionValue
.static int
JOptionPane.showInternalConfirmDialog
(Component parentComponent, Object message) Brings up an internal dialog panel with the options Yes, No and Cancel; with the title, Select an Option.static int
JOptionPane.showInternalConfirmDialog
(Component parentComponent, Object message, String title, int optionType) Brings up a internal dialog panel where the number of choices is determined by theoptionType
parameter.static int
JOptionPane.showInternalConfirmDialog
(Component parentComponent, Object message, String title, int optionType, int messageType) Brings up an internal dialog panel where the number of choices is determined by theoptionType
parameter, where themessageType
parameter determines the icon to display.static int
JOptionPane.showInternalConfirmDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon) Brings up an internal dialog panel with a specified icon, where the number of choices is determined by theoptionType
parameter.static String
JOptionPane.showInternalInputDialog
(Component parentComponent, Object message) Shows an internal question-message dialog requesting input from the user parented toparentComponent
.static String
JOptionPane.showInternalInputDialog
(Component parentComponent, Object message, String title, int messageType) Shows an internal dialog requesting input from the user parented toparentComponent
with the dialog having the titletitle
and message typemessageType
.static Object
JOptionPane.showInternalInputDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified.static void
JOptionPane.showInternalMessageDialog
(Component parentComponent, Object message) Brings up an internal confirmation dialog panel.static void
JOptionPane.showInternalMessageDialog
(Component parentComponent, Object message, String title, int messageType) Brings up an internal dialog panel that displays a message using a default icon determined by themessageType
parameter.static void
JOptionPane.showInternalMessageDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon) Brings up an internal dialog panel displaying a message, specifying all parameters.static int
JOptionPane.showInternalOptionDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) Brings up an internal dialog panel with a specified icon, where the initial choice is determined by theinitialValue
parameter and the number of choices is determined by theoptionType
parameter.static void
JOptionPane.showMessageDialog
(Component parentComponent, Object message) Brings up an information-message dialog titled "Message".static void
JOptionPane.showMessageDialog
(Component parentComponent, Object message, String title, int messageType) Brings up a dialog that displays a message using a default icon determined by themessageType
parameter.static void
JOptionPane.showMessageDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon) Brings up a dialog displaying a message, specifying all parameters.static int
JOptionPane.showOptionDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) Brings up a dialog with a specified icon, where the initial choice is determined by theinitialValue
parameter and the number of choices is determined by theoptionType
parameter.abstract String
JFormattedTextField.AbstractFormatter.valueToString
(Object value) Returns the string value to display forvalue
.ModifierConstructorDescriptionDefaultComboBoxModel
(E[] items) Constructs a DefaultComboBoxModel object initialized with an array of objects.DynamicUtilTreeNode
(Object value, Object children) Creates a node with the specified object as its value and with the specified children.Creates aJComboBox
that contains the elements in the specified array.JFormattedTextField
(Object value) Creates a JFormattedTextField with the specified value.JFormattedTextField
(JFormattedTextField.AbstractFormatterFactory factory, Object currentValue) Creates aJFormattedTextField
with the specifiedAbstractFormatterFactory
and initial value.Constructs aJList
that displays the elements in the specified array.JOptionPane
(Object message) Creates a instance ofJOptionPane
to display a message using the plain-message message type and the default options delivered by the UI.JOptionPane
(Object message, int messageType) Creates an instance ofJOptionPane
to display a message with the specified message type and the default options,JOptionPane
(Object message, int messageType, int optionType) Creates an instance ofJOptionPane
to display a message with the specified message type and options.JOptionPane
(Object message, int messageType, int optionType, Icon icon) Creates an instance ofJOptionPane
to display a message with the specified message type, options, and icon.JOptionPane
(Object message, int messageType, int optionType, Icon icon, Object[] options) Creates an instance ofJOptionPane
to display a message with the specified message type, icon, and options.JOptionPane
(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue) Creates an instance ofJOptionPane
to display a message with the specified message type, icon, and options, with the initially-selected option specified.Constructs aJTable
to display the values in the two dimensional array,rowData
, with column names,columnNames
.Returns aJTree
with each element of the specified array as the child of a new root node which is not displayed.LazyInputMap
(Object[] bindings) Constructs aLazyInputMap
.ProgressMonitor
(Component parentComponent, Object message, String note, int min, int max) Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion.ProgressMonitorInputStream
(Component parentComponent, Object message, InputStream in) Constructs an object to monitor the progress of an input stream.ProxyLazyValue
(String c, Object[] o) Creates aLazyValue
which will construct an instance when asked.ProxyLazyValue
(String c, String m, Object[] o) Creates aLazyValue
which will construct an instance when asked.SpinnerListModel
(Object[] values) Constructs aSpinnerModel
whose sequence of values is defined by the specified array.UIDefaults
(Object[] keyValueList) Creates a defaults table initialized with the specified key/value pairs. -
Uses of Object in javax.swing.border
Modifier and TypeClassDescriptionclass
A class that implements an empty border with no size.class
A class which implements a simple two-line bevel border.class
A composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object.class
A class which provides an empty, transparent border which takes up space but does no drawing.class
A class which implements a simple etched border which can either be etched-in or etched-out.class
A class which implements a line border of arbitrary thickness and of a single color.class
A class which provides a matte-like border of either a solid color or a tiled icon.class
A class which implements a raised or lowered bevel with softened corners.class
A class which implements a border of an arbitrary stroke.class
A class which implements an arbitrary border with the addition of a String title in a specified position and justification. -
Uses of Object in javax.swing.colorchooser
Modifier and TypeClassDescriptionclass
This is the abstract superclass for color choosers.class
A class designed to produce preconfigured "accessory" objects to insert into color choosers.class
A generic implementation ofColorSelectionModel
. -
Uses of Object in javax.swing.event
Modifier and TypeClassDescriptionclass
An event reported to a child component that originated from an ancestor in the component hierarchy.class
CaretEvent is used to notify interested parties that the text caret has changed in the event source.class
ChangeEvent is used to notify interested parties that state has changed in the event source.static final class
Enumeration for document event typesclass
A class that holds a list of EventListeners.class
HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.static final class
Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().class
An abstract adapter class for receiving internal frame events.class
AnAWTEvent
that adds support forJInternalFrame
objects as the event source.class
Defines an event that encapsulates changes to a list.class
An event that characterizes a change in selection.class
MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.class
MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.class
MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.class
An empty implementation of theMouseInputListener
interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest.class
PopupMenuEvent only contains the source of the event which is the JPopupMenu sending the eventclass
RowSorterEvent
provides notification of changes to aRowSorter
.final class
This subclass ofjava.beans.PropertyChangeSupport
is almost identical in functionality.class
TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.class
TableModelEvent is used to notify listeners that a table model has changed.class
An event used to identify a single path in a tree.class
Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.class
An event that characterizes a change in the current selection.class
An event indicating that an operation which can be undone has occurred.Modifier and TypeFieldDescriptionprotected Object[]
TreeModelEvent.children
Children that have been removed.protected Object[]
EventListenerList.listenerList
The list of ListenerType - Listener pairsModifier and TypeMethodDescriptionTreeSelectionEvent.cloneWithSource
(Object newSource) Returns a copy of the receiver, but with the source being newSource.Object[]
TreeModelEvent.getChildren()
Returns the objects that are children of the node identified bygetPath
at the locations specified bygetChildIndices
.Object[]
EventListenerList.getListenerList()
Passes back the event listener list as an array of ListenerType-listener pairs.Object[]
TreeModelEvent.getPath()
Convenience method to get the array of objects from the TreePath instance that this event wraps.Modifier and TypeMethodDescriptionTreeSelectionEvent.cloneWithSource
(Object newSource) Returns a copy of the receiver, but with the source being newSource.ModifierConstructorDescriptionCaretEvent
(Object source) Creates a new CaretEvent object.ChangeEvent
(Object source) Constructs a ChangeEvent object.HyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u) Creates a new object representing a hypertext link event.HyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u, String desc) Creates a new object representing a hypertext link event.HyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement) Creates a new object representing a hypertext link event.HyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement, InputEvent inputEvent) Creates a new object representing a hypertext link event.ListDataEvent
(Object source, int type, int index0, int index1) Constructs a ListDataEvent object.ListSelectionEvent
(Object source, int firstIndex, int lastIndex, boolean isAdjusting) Represents a change in selection status betweenfirstIndex
andlastIndex
, inclusive.Constructs a MenuEvent object.PopupMenuEvent
(Object source) Constructs a PopupMenuEvent object.SwingPropertyChangeSupport
(Object sourceBean) Constructs a SwingPropertyChangeSupport object.SwingPropertyChangeSupport
(Object sourceBean, boolean notifyOnEDT) Constructs a SwingPropertyChangeSupport object.TreeExpansionEvent
(Object source, TreePath path) Constructs a TreeExpansionEvent object.TreeModelEvent
(Object source, Object[] path) Used to create an event when the node structure has changed in some way, identifying the path to the root of a modified subtree as an array of Objects.TreeModelEvent
(Object source, Object[] path, int[] childIndices, Object[] children) Used to create an event when nodes have been changed, inserted, or removed, identifying the path to the parent of the modified items as an array of Objects.TreeModelEvent
(Object source, TreePath path) Used to create an event when the node structure has changed in some way, identifying the path to the root of the modified subtree as a TreePath object.TreeModelEvent
(Object source, TreePath path, int[] childIndices, Object[] children) Used to create an event when nodes have been changed, inserted, or removed, identifying the path to the parent of the modified items as a TreePath object.TreeSelectionEvent
(Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) Represents a change in the selection of aTreeSelectionModel
.TreeSelectionEvent
(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) Represents a change in the selection of aTreeSelectionModel
.UndoableEditEvent
(Object source, UndoableEdit edit) Constructs an UndoableEditEvent object. -
Uses of Object in javax.swing.filechooser
Modifier and TypeClassDescriptionclass
FileFilter
is an abstract class used byJFileChooser
for filtering the set of files shown to the user.final class
An implementation ofFileFilter
that filters using a specified set of extensions.class
FileSystemView is JFileChooser's gateway to the file system.class
FileView
defines an abstract class that can be implemented to provide the filechooser with UI information for aFile
. -
Uses of Object in javax.swing.plaf
Modifier and TypeClassDescriptionclass
A subclass of javax.swing.ActionMap that implements UIResource.class
A Border wrapper class which implements UIResource.static class
A bevel border UI resource.static class
A compound border UI resource.static class
An empty border UI resource.static class
An etched border UI resource.static class
A line border UI resource.static class
A matte border UI resource.static class
A titled border UI resource.class
Pluggable look and feel interface for JButton.class
Pluggable look and feel interface for JColorChooser.class
A subclass of Color that implements UIResource.class
Pluggable look and feel interface for JComboBox.class
A subclass of javax.swing.ComponentInputMap that implements UIResource.class
The base class for all UI delegate objects in the Swing pluggable look and feel architecture.class
Pluggable look and feel interface for JDesktopIcon.class
Pluggable look and feel interface for JDesktopPane.class
A subclass ofDimension
that implementsUIResource
.class
Pluggable look and feel interface forJFileChooser
.class
A subclass of java.awt.Font that implements UIResource.class
An Icon wrapper class which implements UIResource.class
A subclass of javax.swing.InputMap that implements UIResource.class
A subclass of Insets that implements UIResource.class
Pluggable look and feel interface for JInternalFrame.class
Pluggable look and feel interface for JLabel.class
The base class for allJLayer
's UI delegates.class
TheJList
pluggable look and feel delegate.class
Pluggable look and feel interface for JMenuBar.class
Pluggable look and feel interface for JMenuItem.class
Pluggable look and feel interface for JOptionPane.class
Pluggable look and feel interface for Panel.class
Pluggable look and feel interface for JPopupMenu.class
Pluggable look and feel interface for JProgressBar.class
Pluggable look and feel interface for JRootPane.class
Pluggable look and feel interface for JScrollBar.class
Pluggable look and feel interface for JScrollPane.class
Pluggable look and feel interface for JSeparator.class
Pluggable look and feel interface for JSlider.class
Pluggable look and feel interface for JSpinnerclass
Pluggable look and feel interface for JSplitPane.class
Pluggable look and feel interface for JTabbedPane.class
Pluggable look and feel interface for JTableHeader.class
Pluggable look and feel interface for JTable.class
Text editor user interfaceclass
Pluggable look and feel interface for JToolBar.class
Pluggable look and feel interface for JToolTip.class
Pluggable look and feel interface for JTree.class
Pluggable look and feel interface for JViewport.Modifier and TypeMethodDescriptionprotected void
LayerUI.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes for Object properties. -
Uses of Object in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
JButton object that draws a scaled Arrow in one of the cardinal directions.class
Factory object that can vend Borders appropriate for the basic L & F.static class
Draws a border around a button.static class
Draws the border around a field.static class
Draws the border around components which support margins.static class
Draws the border around a menu bar.static class
Draws the border around a radio button.static class
Special thin border for rollover toolbar buttons.static class
Draws the border around the splitpane.static class
Draws the border around a toggle button.class
Button Listenerclass
BasicButton implementationclass
BasicCheckboxMenuItem implementationclass
CheckboxUI implementation for BasicCheckboxUIclass
Provides the basic look and feel for a JColorChooser.class
This class should be treated as a "protected" inner class.class
The default editor for editable combo boxes.static class
A subclass of BasicComboBoxEditor that implements UIResource.class
ComboBox rendererstatic class
A subclass of BasicComboBoxRenderer that implements UIResource.class
Basic UI implementation for JComboBox.class
This layout manager handles the 'standard' layout of combo boxes.class
This listener hides the popup when the focus is lost.class
This listener watches for changes to the selection in the combo box.class
This listener checks to see if the key event isn't a navigation key.class
This listener watches for changes in theComboBoxModel
.class
This listener watches for bound properties that have changed in the combo box.class
This is a basic implementation of theComboPopup
interface.class
As of Java 2 platform v 1.4, this class is now obsolete and is only included for backwards API compatibility.protected class
A listener to be registered upon the combo box (not its popup menu) to handle mouse events that affect the state of the popup menu.protected class
This listener watches for dragging and updates the current selection in the list if it is dragging over the list.protected class
This listener watches for changes to the selection in the combo box.class
As of 1.4, this class is now obsolete, doesn't do anything, and is only included for backwards API compatibility.protected class
This listener hides the popup when the mouse is released in the list.protected class
This listener changes the selected item as you move the mouse over the list.protected class
As of Java 2 platform v 1.4, this class is now obsolete, doesn't do anything, and is only included for backwards API compatibility.protected class
This listener watches for bound properties that have changed in the combo box.class
Basic L&F for a minimized window on a desktop.class
Listens for mouse movements and acts on them.class
Basic L&F for a desktop.protected class
Handles closing an internal frame.protected class
Handles maximizing an internal frame.protected class
Handles minimizing an internal frame.protected class
Handles navigating to the next internal frame.protected class
Handles restoring a minimized or maximized internal frame.class
Basic implementation of a file list.class
Provides the look and feel for a JEditorPane.class
Basic L&F implementation of a FileChooser.protected class
Accept all file filter.protected class
Responds to an Open or Save requestprotected class
A basic file view.protected class
Responds to a cancel request.protected class
Change to parent directory action.protected class
A double click listener.protected class
Acts on the "home" key event or equivalent event.protected class
Creates a new folder.protected class
A selection listener.protected class
Rescans the files in the current directoryclass
Provides the look and feel implementation forJFormattedTextField
.class
Convenient util class.class
Support for providing html views for the swing components.class
Factory object that can vend Icons appropriate for the basic L & F.class
The class that manages a basic title barclass
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
A basic L&F implementation of JInternalFrame.protected class
Basic internal frame listener.protected class
Listens for border adjustments.protected class
Component handler.protected class
Glass pane dispatcher.class
Internal frame layout.class
Internal frame property change listener.class
A Windows L&F implementation of LabelUI.class
An extensible implementation ofListUI
.class
This class should be treated as a "protected" inner class.class
TheListDataListener
that's added to theJLists
model atinstallUI time
, and whenever the JList.model property changes.class
The ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes.class
Mouse input, and focus handling for JList.class
The PropertyChangeListener that's added to the JList at installUI time.class
A base class to use in creating a look and feel for Swing.class
A default L&F implementation of MenuBarUI.class
BasicMenuItem implementationprotected class
Deprecated, for removal: This API element is subject to removal in a future version.class
A default L&F implementation of MenuUI.class
As of Java 2 platform 1.4, this previously undocumented class is now obsolete.protected class
Instantiated and used by a menu item to handle the current menu selection from mouse events.class
Provides the basic look and feel for aJOptionPane
.class
This class should be treated as a "protected" inner class.static class
ButtonAreaLayout
behaves in a similar manner toFlowLayout
.class
This class should be treated as a "protected" inner class.class
BasicPanel implementationclass
Provides the Windows look and feel for a password field.class
A Basic L&F implementation of PopupMenuSeparatorUI.class
A Windows L&F implementation of PopupMenuUI.class
A Basic L&F implementation of ProgressBarUI.class
This class should be treated as a "protected" inner class.class
BasicRadioButtonMenuItem implementationclass
RadioButtonUI implementation for BasicRadioButtonUIclass
Basic implementation of RootPaneUI, there is one shared between all JRootPane instances.class
Implementation of ScrollBarUI for the Basic Look and Feelprotected class
Listener for cursor keys.protected class
A listener to listen for model changes.class
Property change handlerprotected class
Listener for scrolling events initiated in theScrollPane
.protected class
Track mouse drags.class
A default L&F implementation of ScrollPaneUI.class
Deprecated, for removal: This API element is subject to removal in a future version.protected class
MouseWheelHandler is an inner class which implements the MouseWheelListener interface.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
A Basic L&F implementation of SeparatorUI.class
A Basic L&F implementation of SliderUI.class
As of Java 2 platform v1.3 this undocumented class is no longer used.class
Data model listener.class
Listener for resizing events.class
Focus-change listener.class
A property change handler.class
Scroll-event listener.class
Track mouse movements.class
The default Spinner UI delegate.class
Divider used by BasicSplitPaneUI.protected class
Used to layout aBasicSplitPaneDivider
.protected class
Handles the events during a dragging session for a HORIZONTAL_SPLIT oriented split pane.protected class
MouseHandler is responsible for converting mouse events (released, dragged...) into the appropriate DragController methods.protected class
Handles the events during a dragging session for a VERTICAL_SPLIT oriented split pane.class
A Basic L&F implementation of the SplitPaneUI.class
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.class
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.class
Implementation of the FocusListener that the JSplitPane UI uses.class
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.class
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.class
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.class
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.class
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.class
Implementation of the PropertyChangeListener that the JSplitPane UI uses.class
A Basic L&F implementation of TabbedPaneUI.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
BasicTableHeaderUI implementationclass
This class should be treated as a "protected" inner class.class
BasicTableUI implementationclass
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
Provides the look and feel for a plain text editor.class
Basis of a look and feel for a JTextField.class
Provides the look and feel for a styled text editor.class
Basis of a text components look-and-feel.static class
Default implementation of the interfaceCaret
.static class
Default implementation of the interfaceHighlighter
.class
BasicToggleButton implementationclass
A Basic L&F implementation of ToolBarSeparatorUI.class
A Basic L&F implementation of ToolBarUI.class
This class should be treated as a "protected" inner class.protected class
The window which appears during dragging theJToolBar
.protected class
The class listens for window events.protected class
The class listens for property changed events.protected class
The class listens for component events.protected class
The class listens for focus events.class
Standard tool tip L&F.class
The basic L&F for a hierarchical data structure.class
Listener responsible for getting cell editing events and updating the tree accordingly.class
Updates the preferred size when scrolling (if necessary).class
Repaints the lead selection row when focus is lost/gained.class
This is used to get multiple key down events to appropriately generate events.class
TreeMouseListener is responsible for updating the selection based on mouse events.class
MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.class
Class responsible for getting size of node, method is forwarded to BasicTreeUI method.class
PropertyChangeListener for the tree.class
Listener on the TreeSelectionModel, resets the row selection if any of the properties of the model change.class
ActionListener that invokes cancelEditing when action performed.class
Updates the TreeState in response to nodes expanding/collapsing.class
TreeHomeAction is used to handle end/home actions.class
TreeIncrementAction is used to handle up/down actions.class
Forwards all TreeModel events to the TreeState.class
TreePageAction handles page up and page down events.class
Listens for changes in the selection model and updates the display accordingly.class
For the first selected row expandedness will be toggled.class
TreeTraverseAction
is the action used for left/right keys.class
BasicViewport implementationclass
The default layout manager for Popup menus and menubars.Modifier and TypeFieldDescriptionBasicComboBoxUI.comboBox
The instance ofJComboBox
.BasicComboPopup.comboBox
The instance ofJComboBox
.BasicComboPopup.list
This protected field is implementation specific.BasicListUI.list
The instance ofJList
.BasicComboBoxUI.listBox
This list is for drawing the current item in the combo box.Modifier and TypeMethodDescriptionprotected Object[]
BasicOptionPaneUI.getButtons()
Returns the buttons to display from theJOptionPane
the receiver is providing the look and feel for.BasicDirectoryModel.getElementAt
(int index) BasicComboBoxEditor.getItem()
protected Object
BasicOptionPaneUI.getMessage()
Returns the message to display from theJOptionPane
the receiver is providing the look and feel for.Modifier and TypeMethodDescriptionBasicComboPopup.createList()
Creates the JList used in the popup to display the items in the combo box model.protected ListCellRenderer<Object>
BasicComboBoxUI.createRenderer()
Creates the default renderer that will be used in a non-editiable combo box.BasicComboPopup.getList()
Implementation of ComboPopup.getList().ComboPopup.getList()
Returns the list that is being used to draw the items in the combo box.Modifier and TypeMethodDescriptionprotected void
BasicOptionPaneUI.addButtonComponents
(Container container, Object[] buttons, int initialIndex) Creates the appropriate object to represent each of the objects inbuttons
and adds it tocontainer
.void
BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent
(Component comp, Object constraints) Adds the specified component to the layout, using the specified constraint object.protected void
BasicOptionPaneUI.addMessageComponents
(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) Creates the appropriate object to representmsg
and places it intocontainer
.boolean
Returnstrue
if an elemento
is in file cache, otherwise, returnsfalse
.protected Action
BasicLookAndFeel.createAudioAction
(Object key) Creates and returns anAction
used to play a sound.protected void
BasicDirectoryModel.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes for boolean properties.BasicComboBoxRenderer.getListCellRendererComponent
(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) BasicTreeUI.NodeDimensionsHandler.getNodeDimensions
(Object value, int row, int depth, boolean expanded, Rectangle size) Responsible for getting the size of a particular node.int
Returns an index of elemento
in file cache.void
Sets the item that should be edited.Modifier and TypeMethodDescriptionprotected void
BasicListUI.paintCell
(Graphics g, int row, Rectangle rowBounds, ListCellRenderer<Object> cellRenderer, ListModel<Object> dataModel, ListSelectionModel selModel, int leadIndex) Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use theCellRendererPane
to paint it.protected void
BasicListUI.paintCell
(Graphics g, int row, Rectangle rowBounds, ListCellRenderer<Object> cellRenderer, ListModel<Object> dataModel, ListSelectionModel selModel, int leadIndex) Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use theCellRendererPane
to paint it.ModifierConstructorDescriptionBasicComboPopup
(JComboBox<Object> combo) Constructs a new instance ofBasicComboPopup
. -
Uses of Object in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
A concrete implementation ofMetalTheme
providing the original look of the Java Look and Feel, code-named "Steel".class
Factory object that can vend Borders appropriate for the metal L & F.static class
The class represents the border of aJButton
.static class
The class represents the 3D border.static class
The class represents the border of aJInternalFrame
.static class
The class represents the border of aJMenuBar
.static class
The class represents the border of aJMenuItem
.static class
The class represents the border of an option dialog.static class
Border for a Palette.static class
The class represents the border of aJPopupMenu
.static class
The class represents the border of a rolloverButton
.static class
The class represents the border of aJScrollPane
.static class
Border for a Table Headerstatic class
Border for aJTextField
.static class
Border for aJToggleButton
.static class
The class represents the border of aJToolBar
.class
MetalButtonUI implementationclass
CheckboxIcon implementation for OrganicCheckBoxUIclass
CheckboxUI implementation for MetalCheckboxUIclass
JButton subclass to help out MetalComboBoxUIclass
The default editor for Metal editable combo boxesstatic class
A subclass of BasicComboBoxEditor that implements UIResource.class
This utility class draws the horizontal bars which indicate a MetalComboBoxclass
Metal UI for JComboBoxclass
This class should be treated as a "protected" inner class.class
Deprecated.As of Java 2 platform v1.4.class
This class should be treated as a "protected" inner class.class
Metal desktop icon.class
Metal L&F implementation of a FileChooser.protected class
Acts when DirectoryComboBox has changed the selected item.protected class
Data model for a type-face selection combo-box.protected class
Deprecated.As of JDK version 9.protected class
Data model for a type-face selection combo-box.class
Render different type sizes and styles.protected class
Deprecated.As of JDK version 9.class
Factory object that vendsIcon
s for the Java look and feel (Metal).static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Defines an icon for Palette closestatic class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
The class represents a tree leaf icon.class
Class that manages a JLF title barclass
Metal implementation of JInternalFrame.class
A Windows L&F implementation of LabelUI.class
The Java Look and Feel, otherwise known as Metal.class
Metal implementation ofMenuBarUI
.class
A Metal L&F implementation of PopupMenuSeparatorUI.class
The Metal implementation of ProgressBarUI.class
RadioButtonUI implementation for MetalRadioButtonUIclass
Provides the metal look and feel implementation ofRootPaneUI
.class
Implementation of ScrollBarUI for the Metal Look and Feelclass
JButton object for Metal scrollbar arrows.class
A Metal L&F implementation of ScrollPaneUI.class
A Metal L&F implementation of SeparatorUI.class
A Java L&F implementation of SliderUI.protected class
PropertyListener
forJSlider.isFilled
.class
Metal split pane.class
The Metal subclass of BasicTabbedPaneUI.class
This class should be treated as a "protected" inner class.class
Basis of a look and feel for a JTextField.class
MetalTheme
provides the color palette and fonts used by the Java Look and Feel.class
MetalToggleButton implementationclass
A Metal Look and Feel implementation of ToolBarUI.protected class
No longer used.protected class
DockingListener
forMetalToolBarUI
.protected class
No longer used.class
A Metal L&F extension of BasicToolTipUI.class
The metal look and feel implementation ofTreeUI
.class
The default theme for theMetalLookAndFeel
.Modifier and TypeFieldDescriptionMetalComboBoxButton.comboBox
The instance ofJComboBox
.MetalComboBoxButton.listBox
The instance ofJList
.Modifier and TypeMethodDescriptionMetalFileChooserUI.DirectoryComboBoxModel.getElementAt
(int index) MetalFileChooserUI.FilterComboBoxModel.getElementAt
(int index) MetalFileChooserUI.DirectoryComboBoxModel.getSelectedItem()
MetalFileChooserUI.FilterComboBoxModel.getSelectedItem()
Modifier and TypeMethodDescriptionprotected void
MetalTreeUI.decodeLineStyle
(Object lineStyleFlag) Converts between the string passed into the client property and the internal representation (currently and int)void
MetalFileChooserUI.DirectoryComboBoxModel.setSelectedItem
(Object selectedDirectory) void
MetalFileChooserUI.FilterComboBoxModel.setSelectedItem
(Object filter) Modifier and TypeMethodDescriptionfinal void
MetalComboBoxButton.setComboBox
(JComboBox<Object> cb) Sets theJComboBox
.ModifierConstructorDescriptionMetalComboBoxButton
(JComboBox<Object> cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.MetalComboBoxButton
(JComboBox<Object> cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.MetalComboBoxButton
(JComboBox<Object> cb, Icon i, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.MetalComboBoxButton
(JComboBox<Object> cb, Icon i, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.MetalComboPopup
(JComboBox<Object> cBox) Deprecated.Constructs a new instance ofMetalComboPopup
. -
Uses of Object in javax.swing.plaf.multi
Modifier and TypeClassDescriptionclass
A multiplexing UI used to combineButtonUI
s.class
A multiplexing UI used to combineColorChooserUI
s.class
A multiplexing UI used to combineComboBoxUI
s.class
A multiplexing UI used to combineDesktopIconUI
s.class
A multiplexing UI used to combineDesktopPaneUI
s.class
A multiplexing UI used to combineFileChooserUI
s.class
A multiplexing UI used to combineInternalFrameUI
s.class
A multiplexing UI used to combineLabelUI
s.class
A multiplexing UI used to combineListUI
s.class
A multiplexing look and feel that allows more than one UI to be associated with a component at the same time.class
A multiplexing UI used to combineMenuBarUI
s.class
A multiplexing UI used to combineMenuItemUI
s.class
A multiplexing UI used to combineOptionPaneUI
s.class
A multiplexing UI used to combinePanelUI
s.class
A multiplexing UI used to combinePopupMenuUI
s.class
A multiplexing UI used to combineProgressBarUI
s.class
A multiplexing UI used to combineRootPaneUI
s.class
A multiplexing UI used to combineScrollBarUI
s.class
A multiplexing UI used to combineScrollPaneUI
s.class
A multiplexing UI used to combineSeparatorUI
s.class
A multiplexing UI used to combineSliderUI
s.class
A multiplexing UI used to combineSpinnerUI
s.class
A multiplexing UI used to combineSplitPaneUI
s.class
A multiplexing UI used to combineTabbedPaneUI
s.class
A multiplexing UI used to combineTableHeaderUI
s.class
A multiplexing UI used to combineTableUI
s.class
A multiplexing UI used to combineTextUI
s.class
A multiplexing UI used to combineToolBarUI
s.class
A multiplexing UI used to combineToolTipUI
s.class
A multiplexing UI used to combineTreeUI
s.class
A multiplexing UI used to combineViewportUI
s. -
Uses of Object in javax.swing.plaf.nimbus
Modifier and TypeClassDescriptionclass
Convenient base class for defining Painter instances for rendering a region or component in Nimbus.protected static class
A class encapsulating state useful when painting.class
The NimbusLookAndFeel class.final class
A SynthStyle implementation used by Nimbus.class
State<T extends JComponent>
Represents a built in, or custom, state in Nimbus.Modifier and TypeMethodDescriptionNimbusStyle.get
(SynthContext ctx, Object key) Getter for a region specific style property.protected Object[]
AbstractRegionPainter.getExtendedCacheKeys
(JComponent c) Get any extra attributes which the painter implementation would like to include in the image cache lookups.Modifier and TypeMethodDescriptionNimbusStyle.getBackgroundPainter
(SynthContext ctx) Gets the appropriate background Painter, if there is one, for the state specified in the given SynthContext.NimbusStyle.getBorderPainter
(SynthContext ctx) Gets the appropriate border Painter, if there is one, for the state specified in the given SynthContext.NimbusStyle.getForegroundPainter
(SynthContext ctx) Gets the appropriate foreground Painter, if there is one, for the state specified in the given SynthContext.Modifier and TypeMethodDescriptionprotected abstract void
AbstractRegionPainter.doPaint
(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) Actually performs the painting operation.NimbusStyle.get
(SynthContext ctx, Object key) Getter for a region specific style property. -
Uses of Object in javax.swing.plaf.synth
Modifier and TypeClassDescriptionclass
A typesafe enumeration of colors that can be fetched from a style.class
A distinct rendering area of a Swing component.class
Provides the Synth L&F UI delegate forJButton
.class
Provides the Synth L&F UI delegate forJCheckBoxMenuItem
.class
Provides the Synth L&F UI delegate forJCheckBox
.class
Provides the Synth L&F UI delegate forJColorChooser
.class
Provides the Synth L&F UI delegate forJComboBox
.class
An immutable transient object containing contextual information about aRegion
.class
Provides the Synth L&F UI delegate for a minimized internal frame on a desktop.class
Provides the Synth L&F UI delegate forJDesktopPane
.class
Provides the Synth L&F UI delegate forJEditorPane
.class
Provides the Synth L&F UI delegate forJFormattedTextField
.class
Wrapper for primitive graphics calls.class
Provides the Synth L&F UI delegate forJInternalFrame
.class
Provides the Synth L&F UI delegate forJLabel
.class
Provides the Synth L&F UI delegate forJList
.class
SynthLookAndFeel provides the basis for creating a customized look and feel.class
Provides the Synth L&F UI delegate forJMenuBar
.class
Provides the Synth L&F UI delegate forJMenuItem
.class
Provides the Synth L&F UI delegate forJMenu
.class
Provides the Synth L&F UI delegate forJOptionPane
.class
SynthPainter
is used for painting portions ofJComponent
s.class
Provides the Synth L&F UI delegate forJPanel
.class
Provides the Synth L&F UI delegate forJPasswordField
.class
Provides the Synth L&F UI delegate forJPopupMenu
.class
Provides the Synth L&F UI delegate forJProgressBar
.class
Provides the Synth L&F UI delegate forJRadioButtonMenuItem
.class
Provides the Synth L&F UI delegate forJRadioButton
.class
Provides the Synth L&F UI delegate forJRootPane
.class
Provides the Synth L&F UI delegate forJScrollBar
.class
Provides the Synth L&F UI delegate forJScrollPane
.class
Provides the Synth L&F UI delegate forJSeparator
.class
Provides the Synth L&F UI delegate forJSlider
.class
Provides the Synth L&F UI delegate forJSpinner
.class
Provides the Synth L&F UI delegate forJSplitPane
.class
SynthStyle
is a set of style properties.class
Factory used for obtainingSynthStyle
s.class
Provides the Synth L&F UI delegate forJTabbedPane
.class
Provides the Synth L&F UI delegate forJTableHeader
.class
Provides the Synth L&F UI delegate forJTable
.class
Provides the look and feel for a plain text editor in the Synth look and feel.class
Provides the Synth L&F UI delegate forJTextField
.class
Provides the look and feel for a styled text editor in the Synth look and feel.class
Provides the Synth L&F UI delegate forJToggleButton
.class
Provides the Synth L&F UI delegate forJToolBar
.class
Provides the Synth L&F UI delegate forJToolTip
.class
Provides the Synth L&F UI delegate forJTree
.class
Provides the Synth L&F UI delegate forJViewport
.Modifier and TypeMethodDescriptionSynthStyle.get
(SynthContext context, Object key) Getter for a region specific style property.Modifier and TypeMethodDescriptionvoid
SynthGraphicsUtils.drawLine
(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2) Draws a line between the two end points.void
SynthGraphicsUtils.drawLine
(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2, Object styleKey) Draws a line between the two end points.SynthStyle.get
(SynthContext context, Object key) Getter for a region specific style property.boolean
SynthStyle.getBoolean
(SynthContext context, Object key, boolean defaultValue) Convenience method to get a specific style property whose value is an Boolean.SynthStyle.getIcon
(SynthContext context, Object key) Convenience method to get a specific style property whose value is an Icon.int
SynthStyle.getInt
(SynthContext context, Object key, int defaultValue) Convenience method to get a specific style property whose value is aNumber
.SynthStyle.getString
(SynthContext context, Object key, String defaultValue) Convenience method to get a specific style property whose value is a String. -
Uses of Object in javax.swing.table
Modifier and TypeClassDescriptionclass
This abstract class provides default implementations for most of the methods in theTableModel
interface.class
The standard class for rendering (displaying) individual cells in aJTable
.static class
A subclass ofDefaultTableCellRenderer
that implementsUIResource
.class
The standard column-handler for aJTable
.class
This is an implementation ofTableModel
that uses aVector
ofVectors
to store the cell value objects.class
This is the object which manages the header of theJTable
.protected class
This class implements accessibility support for theJTableHeader
class.protected class
This class provides an implementation of the Java Accessibility API appropriate for JTableHeader entries.class
ATableColumn
represents all the attributes of a column in aJTable
, such as width, resizability, minimum and maximum width.class
TableRowSorter<M extends TableModel>
An implementation ofRowSorter
that provides sorting and filtering using aTableModel
.class
TableStringConverter is used to convert objects from the model into strings.Modifier and TypeFieldDescriptionprotected Object
TableColumn.headerValue
The header value of the column.protected Object
TableColumn.identifier
This object is not used internally by the drawing machinery of theJTable
; identifiers may be set in theTableColumn
as an optional way to tag and locate table columns.Modifier and TypeMethodDescriptionTableColumn.getHeaderValue()
Returns theObject
used as the value for the header renderer.TableColumn.getIdentifier()
Returns theidentifier
object for this column.DefaultTableModel.getValueAt
(int row, int column) Returns an attribute value for the cell atrow
andcolumn
.TableModel.getValueAt
(int rowIndex, int columnIndex) Returns the value for the cell atcolumnIndex
androwIndex
.Modifier and TypeMethodDescriptionDefaultTableModel.convertToVector
(Object[] anArray) Returns a vector that contains the same objects as the array.DefaultTableModel.convertToVector
(Object[][] anArray) Returns a vector of vectors that contains the same objects as the array.Modifier and TypeMethodDescriptionvoid
Adds a column to the model.void
Adds a column to the model.void
Adds a column to the model.void
Adds a row to the end of the model.DefaultTableModel.convertToVector
(Object[] anArray) Returns a vector that contains the same objects as the array.DefaultTableModel.convertToVector
(Object[][] anArray) Returns a vector of vectors that contains the same objects as the array.protected void
DefaultTableCellRenderer.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Overridden for performance reasons.int
DefaultTableColumnModel.getColumnIndex
(Object identifier) Returns the index of the first column in thetableColumns
array whose identifier is equal toidentifier
, when compared usingequals
.int
TableColumnModel.getColumnIndex
(Object columnIdentifier) Returns the index of the first column in the table whose identifier is equal toidentifier
, when compared usingequals
.TableCellEditor.getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) Sets an initialvalue
for the editor.DefaultTableCellRenderer.getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Returns the default table cell renderer.TableCellRenderer.getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Returns the component used for drawing the cell.void
Inserts a row atrow
in the model.void
DefaultTableModel.setColumnIdentifiers
(Object[] newIdentifiers) Replaces the column identifiers in the model.void
DefaultTableModel.setDataVector
(Object[][] dataVector, Object[] columnIdentifiers) Replaces the value in thedataVector
instance variable with the values in the arraydataVector
.void
TableColumn.setHeaderValue
(Object headerValue) Sets theObject
whose string representation will be used as the value for theheaderRenderer
.void
TableColumn.setIdentifier
(Object identifier) Sets theTableColumn
's identifier toanIdentifier
.protected void
Sets theString
object for the cell being rendered tovalue
.void
AbstractTableModel.setValueAt
(Object aValue, int rowIndex, int columnIndex) This empty implementation is provided so users don't have to implement this method if their data model is not editable.void
DefaultTableModel.setValueAt
(Object aValue, int row, int column) Sets the object value for the cell atcolumn
androw
.void
TableModel.setValueAt
(Object aValue, int rowIndex, int columnIndex) Sets the value in the cell atcolumnIndex
androwIndex
toaValue
.ModifierConstructorDescriptionDefaultTableModel
(Object[][] data, Object[] columnNames) Constructs aDefaultTableModel
and initializes the table by passingdata
andcolumnNames
to thesetDataVector
method.DefaultTableModel
(Object[] columnNames, int rowCount) Constructs aDefaultTableModel
with as many columns as there are elements incolumnNames
androwCount
ofnull
object values. -
Uses of Object in javax.swing.text
Modifier and TypeClassDescriptionclass
An implementation of the document interface to serve as a basis for implementing various kinds of documents.class
Implements the abstract part of an element.class
Implements a composite element that contains other elements.class
Stores document changes as the document is being modified.static class
An implementation of ElementChange that can be added to the document event.class
Implements an element that directly represents content of some kind.class
AbstractWriter is an abstract class that actually does the work of writing out the element tree including the attributes.class
A box that does layout asynchronously.class
A class to manage the effective position of the child views in a localized area while changes are being made around the localized area.class
A record representing the layout state of a child view.class
This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).class
A view that arranges its children into a box shape by tiling its children along an axis.class
ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.class
Component decorator that implements the view interface.class
CompositeView
is an abstractView
implementation which manages one or more child views.class
DateFormatter is anInternationalFormatter
that does its formatting by way of an instance ofjava.text.DateFormat
.class
A default implementation of Caret.class
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.static class
Creates a beep.static class
Copies the selected region and place its contents into the system clipboard.static class
Cuts the selected region and place its contents into the system clipboard.static class
The action that is executed by default if a key typed event is received and there is no keymap entry.static class
Places a line/paragraph break into the document.static class
Places content into the associated document.static class
Places a tab character into the document.static class
Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.class
DefaultFormatter
formats arbitrary objects.class
An implementation ofJFormattedTextField.AbstractFormatterFactory
.class
Implements the Highlighter interfaces.static class
Simple highlight painter that fills a highlighted area with a solid color.class
A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.static class
An UndoableEdit used to remember AttributeSet changes to an Element.class
Class to manage changes to the element hierarchy.static class
Specification for building elements.protected class
Default root element for a document... maps out the paragraphs/lines contained.class
Deprecated.class
DocumentFilter
, as the name implies, is a filter for theDocument
mutation methods.static class
Used as a way to circumvent calling back into the Document to change it.class
Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.class
ElementIterator
, as the name suggests, iterates over theElement
tree.class
Extends the multi-line plain text view to be suitable for a single-line editor view.class
A View that tries to flow it's children into some partially constrained space.static class
Strategy for maintaining the physical form of the flow.class
An implementation of the AbstractDocument.Content interface implemented using a gapped buffer similar to that used by emacs.class
A GlyphView is a styled chunk of text that represents a view mapped over an element in the text model.static class
A class to perform rendering of the glyphs.class
Icon decorator that implements the view interface.class
InternationalFormatter
extendsDefaultFormatter
, using an instance ofjava.text.Format
to handle the conversion to a String, and the conversion from a String.class
JTextComponent
is the base class for swing text components.class
This class implements accessibility support for theJTextComponent
class.static final class
Represents a drop location forJTextComponent
s.static class
Binding record for creating key bindings.class
ALabelView
is a styled chunk of text that represents a view mapped over an element in the text model.class
Implementation ofHighlighter
interface to mark up the background of leaf views with colored areas.static class
Layered highlight renderer.class
A queue of text layout tasks.class
MaskFormatter
is used to format and edit strings.class
NavigationFilter
can be used to restrict where the cursor can be positioned.static class
Used as a way to circumvent calling back into the caret to position the cursor.class
NumberFormatter
subclassesInternationalFormatter
adding special behavior for numbers.class
View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.class
Implements a View suitable for use in JPasswordField UI implementations.class
A plain document that maintains no character attributes.class
Implements View interface for a simple multi-line text view that has text in one font and color.static final class
A typesafe enumeration to indicate bias to a position in the model.class
A segment of a character array representing a fragment of text.class
A straightforward implementation of MutableAttributeSet using a hash table.final class
An implementation of the AbstractDocument.Content interface that is a brute force implementation that is useful for relatively small documents and/or debugging.class
A collection of well known or common attribute keys and methods to apply to an AttributeSet or MutableAttributeSet to get/set the properties in a typesafe manner.static final class
This is a typesafe enumeration of the well-known attributes that contribute to a character style.static final class
This is a typesafe enumeration of the well-known attributes that contribute to a color.static final class
This is a typesafe enumeration of the well-known attributes that contribute to a font.static final class
This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style.class
A pool of styles and their associated resources.class
A collection of attributes, typically used to represent character and paragraph styles.class
This class holds a small number of attributes in an array.class
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.static class
An action to set paragraph alignment.static class
An action to toggle the bold attribute.static class
An action to set the font family in the associated JEditorPane.static class
An action to set the font size in the associated JEditorPane.static class
An action to set foreground color.static class
An action to toggle the italic attribute.static class
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.static class
An action to toggle the underline attribute.class
Implements View interface for a table, that is composed of an element structure where the child elements of the element this view is responsible for represent rows and the child elements of the row elements are cells.class
Deprecated.A table cell can now be any View implementation.class
View of a row in a row-centric table.class
A TabSet is comprised of many TabStops.class
This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).class
An Action implementation useful for key bindings that are shared across a number of different text components.class
A collection of methods to deal with various text related activities.class
A very important part of the text package is theView
class.class
View of plain text (text with only one font and color) that does line-wrapping.class
ZoneView is a View implementation that creates zones for which the child views are not created or stored until they are needed for display or model/view translations.Modifier and TypeFieldDescriptionstatic final Object
StyleConstants.Alignment
Alignment for the paragraph.static final Object
StyleConstants.Background
Name of the background color attribute.static final Object
StyleConstants.BidiLevel
Bidirectional level of a character as assigned by the Unicode bidi algorithm.static final Object
StyleConstants.Bold
Name of the bold attribute.static final Object
StyleConstants.ComponentAttribute
Name of the component attribute.static final Object
StyleConstants.ComposedTextAttribute
Name of the input method composed text attribute.static final Object
StyleConstants.Family
Name of the font family.static final Object
StyleConstants.FirstLineIndent
The amount of space to indent the first line of the paragraph.static final Object
StyleConstants.FontFamily
Name of the font family.static final Object
StyleConstants.FontSize
Name of the font size.static final Object
StyleConstants.Foreground
Name of the foreground color attribute.static final Object
StyleConstants.IconAttribute
Name of the icon attribute.static final Object
StyleConstants.Italic
Name of the italic attribute.static final Object
StyleConstants.LeftIndent
The amount to indent the left side of the paragraph.static final Object
StyleConstants.LineSpacing
The amount of space between lines of the paragraph.static final Object
StyleConstants.ModelAttribute
Attribute used to identify the model for embedded objects that have a model view separation.static final Object
AttributeSet.NameAttribute
Attribute name used to name the collection of attributes.static final Object
StyleConstants.NameAttribute
Attribute name used to name the collection of attributes.static final Object
StyleConstants.Orientation
Orientation for a paragraph.static final Object
AttributeSet.ResolveAttribute
Attribute name used to identify the resolving parent set of attributes, if one is defined.static final Object
StyleConstants.ResolveAttribute
Attribute name used to identify the resolving parent set of attributes, if one is defined.static final Object
StyleConstants.RightIndent
The amount to indent the right side of the paragraph.static final Object
StyleConstants.Size
Name of the font size.static final Object
StyleConstants.SpaceAbove
The amount of space above the paragraph.static final Object
StyleConstants.SpaceBelow
The amount of space below the paragraph.static final Object
StyleConstants.StrikeThrough
Name of the Strikethrough attribute.static final Object
StyleConstants.Subscript
Name of the Subscript attribute.static final Object
StyleConstants.Superscript
Name of the Superscript attribute.static final Object
StyleConstants.TabSet
TabSet for the paragraph, type is a TabSet containing TabStops.static final Object
StyleConstants.Underline
Name of the underline attribute.Modifier and TypeMethodDescriptionDefaultHighlighter.addHighlight
(int p0, int p1, Highlighter.HighlightPainter p) Adds a highlight to the view.Highlighter.addHighlight
(int p0, int p1, Highlighter.HighlightPainter p) Adds a highlight to the view.protected Object
GapContent.allocateArray
(int len) Allocate an array to store items of the type appropriate (which is determined by the subclass).DefaultFormatter.clone()
Creates a copy of the DefaultFormatter.EditorKit.clone()
Creates a copy of the editor kit.ElementIterator.clone()
Clones theElementIterator
.protected final Object
GlyphView.clone()
Creates a shallow copy.InternationalFormatter.clone()
Creates a copy of the DefaultFormatter.Segment.clone()
Creates a shallow copy.SimpleAttributeSet.clone()
Clones a set of attributes.StyleContext.SmallAttributeSet.clone()
Clones a set of attributes.StyledEditorKit.clone()
Creates a copy of the editor kit.AbstractDocument.AbstractElement.getAttribute
(Object attrName) Gets the value of an attribute.AttributeSet.getAttribute
(Object key) Fetches the value of the given attribute.SimpleAttributeSet.getAttribute
(Object name) Gets the value of an attribute.StyleContext.NamedStyle.getAttribute
(Object attrName) Gets the value of an attribute.StyleContext.SmallAttributeSet.getAttribute
(Object key) Gets the value of an attribute.final Object
AbstractDocument.getProperty
(Object key) A convenience method for looking up a property value.Document.getProperty
(Object key) Gets the properties associated with the document.static Object
StyleContext.getStaticAttribute
(Object key) Returns the object previously registered withregisterStaticAttributeKey
.static Object
StyleContext.getStaticAttributeKey
(Object key) Returns the String thatkey
will be registered with.DefaultFormatter.stringToValue
(String string) Converts the passed in String into an instance ofgetValueClass
by way of the constructor that takes a String argument.InternationalFormatter.stringToValue
(String text) Returns theObject
representation of theString
text
.MaskFormatter.stringToValue
(String value) Parses the text, returning the appropriate Object representation of the Stringvalue
.Modifier and TypeMethodDescriptionAbstractDocument.getDocumentProperties()
Supports managing a set of properties.AbstractDocument.getDocumentProperties()
Supports managing a set of properties.Modifier and TypeMethodDescriptionvoid
AbstractDocument.AbstractElement.addAttribute
(Object name, Object value) Adds an attribute to the element.AbstractDocument.AttributeContext.addAttribute
(AttributeSet old, Object name, Object value) Adds an attribute to the given set, and returns the new representative set.void
MutableAttributeSet.addAttribute
(Object name, Object value) Creates a new attribute set similar to this one except that it contains an attribute with the given name and value.void
SimpleAttributeSet.addAttribute
(Object name, Object value) Adds an attribute to the list.StyleContext.addAttribute
(AttributeSet old, Object name, Object value) Adds an attribute to the given set, and returns the new representative set.void
StyleContext.NamedStyle.addAttribute
(Object name, Object value) Adds an attribute.void
DefaultHighlighter.changeHighlight
(Object tag, int p0, int p1) Changes a highlight.void
Highlighter.changeHighlight
(Object tag, int p0, int p1) Changes the given highlight to span a different portion of the document.boolean
AbstractDocument.AbstractElement.containsAttribute
(Object name, Object value) Checks whether a given attribute name/value is defined.boolean
AttributeSet.containsAttribute
(Object name, Object value) Returnstrue
if this set defines an attribute with the same name and an equal value.boolean
SimpleAttributeSet.containsAttribute
(Object name, Object value) Checks whether the attribute list contains a specified attribute name/value pair.boolean
StyleContext.NamedStyle.containsAttribute
(Object name, Object value) Checks whether a given attribute name/value is defined.boolean
StyleContext.SmallAttributeSet.containsAttribute
(Object name, Object value) Checks whether a given attribute name/value is defined.boolean
Compares this object to the specified object.boolean
Compares this object to the specified object.boolean
Compares this object to the specified object.boolean
Indicates whether thisTabSet
is equal to another one.boolean
Returns true if the tabs are equal.AbstractDocument.AbstractElement.getAttribute
(Object attrName) Gets the value of an attribute.AttributeSet.getAttribute
(Object key) Fetches the value of the given attribute.SimpleAttributeSet.getAttribute
(Object name) Gets the value of an attribute.StyleContext.NamedStyle.getAttribute
(Object attrName) Gets the value of an attribute.StyleContext.SmallAttributeSet.getAttribute
(Object key) Gets the value of an attribute.final Object
AbstractDocument.getProperty
(Object key) A convenience method for looking up a property value.Document.getProperty
(Object key) Gets the properties associated with the document.static Object
StyleContext.getStaticAttribute
(Object key) Returns the object previously registered withregisterStaticAttributeKey
.static Object
StyleContext.getStaticAttributeKey
(Object key) Returns the String thatkey
will be registered with.boolean
Checks whether a given attribute is defined.boolean
Checks whether the named attribute has a value specified in the set without resolving through another attribute set.boolean
Tells whether a given attribute is defined.boolean
Checks whether a given attribute is defined.boolean
Checks whether a given attribute is defined.final void
AbstractDocument.putProperty
(Object key, Object value) A convenience method for storing up a property value.void
Document.putProperty
(Object key, Object value) Associates a property with the document.void
Initializes from a stream.static void
StyleContext.registerStaticAttributeKey
(Object key) Registers an object as a static object that is being used as a key in attribute sets.void
AbstractDocument.AbstractElement.removeAttribute
(Object name) Removes an attribute from the set.AbstractDocument.AttributeContext.removeAttribute
(AttributeSet old, Object name) Removes an attribute from the set.void
MutableAttributeSet.removeAttribute
(Object name) Removes an attribute with the givenname
.void
SimpleAttributeSet.removeAttribute
(Object name) Removes an attribute from the list.void
StyleContext.NamedStyle.removeAttribute
(Object name) Removes an attribute from the set.StyleContext.removeAttribute
(AttributeSet old, Object name) Removes an attribute from the set.void
DefaultHighlighter.removeHighlight
(Object tag) Removes a highlight from the view.void
Highlighter.removeHighlight
(Object tag) Removes a highlight from the view.DefaultFormatter.valueToString
(Object value) Converts the passed in Object into a String by way of thetoString
method.InternationalFormatter.valueToString
(Object value) Returns a String representation of the Objectvalue
.MaskFormatter.valueToString
(Object value) Returns a String representation of the Objectvalue
based on the mask.Modifier and TypeMethodDescriptionvoid
AbstractDocument.setDocumentProperties
(Dictionary<Object, Object> x) Replaces the document properties dictionary for this document.void
AbstractDocument.setDocumentProperties
(Dictionary<Object, Object> x) Replaces the document properties dictionary for this document.ModifierConstructorDescriptionSmallAttributeSet
(Object[] attributes) Constructs a SmallAttributeSet. -
Uses of Object in javax.swing.text.html
Modifier and TypeClassDescriptionclass
A view implementation to display a block (as a box) with CSS specifications.class
Defines a set of CSS attributes as a typesafe enumeration.static final class
Definitions to be used as a key on AttributeSet's that might hold CSS attributes.final class
FormSubmitEvent is used to notify interested parties that a form was submitted.class
Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>.protected class
MouseEventListener class to handle form submissions when an input with type equal to image is clicked on.class
Constants used in theHTMLDocument
.static final class
Typesafe enumeration representing an HTML attribute.static class
Typesafe enumeration for an HTML tag.static class
Class represents unknown HTML tag.class
A document that models HTML.class
An element that represents a structural block of HTML.class
An HTML reader to load an HTML document with an HTML element structure.class
Action assigned by default to handle the Block task of the reader.class
Action assigned by default to handle the Character task of the reader.class
Action to support forms by building all of the elements used to represent form controls.class
Action assigned by default to handle the Hidden task of the reader.class
Action assigned by default to handle the Isindex task of the reader.class
Action assigned by default to handle the Paragraph task of the reader.class
Action assigned by default to handle the Pre block task of the reader.class
Action assigned by default to handle the Special task of the reader.class
An action to be performed in response to parsing a tag.static class
An iterator to iterate over a particular type of tag.class
An element that represents a chunk of text that has a set of HTML character level attributes assigned to it.class
The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.static class
A factory to build views for HTML.static class
An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.static class
InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.static class
Class to watch the associated component and fire hyperlink events on it when appropriate.static class
Interface to be supported by the parser.static class
The result of parsing drives these callback methods.class
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.class
This is a writer for HTMLDocuments.class
View of an Image, intended to support the HTML <IMG> tag.class
Displays the inline element styles based upon css attributes.class
A view implementation to display an html listclass
MinimalHTMLWriter is a fallback writer used by the HTMLEditorKit to write out HTML for a document that is a not produced by the EditorKit.class
Component decorator that implements the view interface for <object> elements.class
Value for the ListModel used to represent <option> elements.class
Displays the paragraph and uses CSS attributes for its configuration.class
Support for defining the visual characteristics of HTML views being rendered.static final class
Class to carry out some of the duties of CSS formatting.static final class
Class to carry out some of the duties of CSS list formatting.Modifier and TypeFieldDescriptionstatic final Object
HTMLEditorKit.ParserCallback.IMPLIED
This is passed as an attribute in the attributeset to indicate the element is implied eg, the string '<>foo<\t>' contains an implied html element and an implied body element.Modifier and TypeMethodDescriptionStyleSheet.addAttribute
(AttributeSet old, Object key, Object value) Adds an attribute to the given set, and returns the new representative set.boolean
Compares this object to the specified object.HTMLDocument.getElement
(Element e, Object attribute, Object value) Returns the child element ofe
that contains the attribute,attribute
with valuevalue
, ornull
if one isn't found.StyleSheet.removeAttribute
(AttributeSet old, Object key) Removes an attribute from the set.ModifierConstructorDescriptionHTMLFrameHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL targetURL, String targetFrame) Creates a new object representing a html frame hypertext link event.HTMLFrameHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, Element sourceElement, InputEvent inputEvent, String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, Element sourceElement, String targetFrame) Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL targetURL, Element sourceElement, String targetFrame) Creates a new object representing a hypertext link event. -
Uses of Object in javax.swing.text.html.parser
Modifier and TypeClassDescriptionfinal class
This class defines the attributes of an SGML element as described in a DTD using the ATTLIST construct.final class
A representation of a content model.class
A Parser for HTML Documents (actually, you can specify a DTD, but you should really only use this class with the html dtd in swing).class
The representation of an SGML DTD.final class
An element as described in a DTD using the ELEMENT construct.final class
An entity is described in a DTD using the ENTITY construct.class
A simple DTD-driven HTML parser.class
Responsible for starting up a new DocumentParser each time its parse method is invoked.class
A generic HTML TagElement class.Modifier and TypeFieldDescriptionContentModel.content
The content.Element.data
A field to store user data.Modifier and TypeFieldDescriptionDTD.entityHash
The hash table contains anObject
and the correspondingEntity
Modifier and TypeMethodDescriptionprotected ContentModel
DTD.defContentModel
(int type, Object obj, ContentModel next) Creates and returns a new content model.boolean
Return true if the token could potentially be the first token in the input stream.ModifierConstructorDescriptionContentModel
(int type, Object content, ContentModel next) Create a content model of a particular type. -
Uses of Object in javax.swing.text.rtf
Modifier and TypeClassDescriptionclass
This is the default implementation of RTF editing functionality. -
Uses of Object in javax.swing.tree
Modifier and TypeClassDescriptionclass
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Used byAbstractLayoutCache
to determine the size and x origin of a particular node.class
ADefaultMutableTreeNode
is a general-purpose node in a tree data structure.class
ATreeCellEditor
.class
TextField
used when no editor is supplied.class
Container responsible for placing theeditingComponent
.class
Displays an entry in a tree.class
A simple tree data model that uses TreeNodes.class
Default implementation of TreeSelectionModel.class
Exception used to stop an expand/collapse from happening.class
NOTE: This will become more open in a future release.class
TreePath
represents an array of objects that uniquely identify the path to a node in a tree.class
NOTE: This will become more open in a future release.Modifier and TypeFieldDescriptionprotected Object
DefaultMutableTreeNode.userObject
optional user objectModifier and TypeMethodDescriptionDefaultMutableTreeNode.clone()
Overridden to make clone public.DefaultTreeSelectionModel.clone()
Returns a clone of this object with the same selection.DefaultTreeCellEditor.getCellEditorValue()
Returns the value currently being edited.Returns the child of parent at index index in the parent's child array.Returns the child ofparent
at indexindex
in the parent's child array.TreePath.getLastPathComponent()
Returns the last element of this path.Object[]
TreePath.getPath()
Returns an ordered array of the elements of thisTreePath
.TreePath.getPathComponent
(int index) Returns the path element at the specified index.DefaultTreeModel.getRoot()
Returns the root of the tree.TreeModel.getRoot()
Returns the root of the tree.DefaultMutableTreeNode.getUserObject()
Returns this node's user object.Object[]
DefaultMutableTreeNode.getUserObjectPath()
Returns the user object path, from the root, to get to this node.Modifier and TypeMethodDescriptionprotected void
DefaultTreeCellEditor.determineOffset
(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) Determine the offset.boolean
Compares thisTreePath
to the specified object.protected void
DefaultTreeCellRenderer.firePropertyChange
(String propertyName, Object oldValue, Object newValue) Overridden for performance reasons.protected void
DefaultTreeModel.fireTreeNodesChanged
(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type.protected void
DefaultTreeModel.fireTreeNodesInserted
(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type.protected void
DefaultTreeModel.fireTreeNodesRemoved
(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type.protected void
DefaultTreeModel.fireTreeStructureChanged
(Object source, Object[] path, int[] childIndices, Object[] children) Notifies all listeners that have registered interest for notification on this event type.Returns the child of parent at index index in the parent's child array.Returns the child ofparent
at indexindex
in the parent's child array.int
DefaultTreeModel.getChildCount
(Object parent) Returns the number of children of parent.int
TreeModel.getChildCount
(Object parent) Returns the number of children ofparent
.int
DefaultTreeModel.getIndexOfChild
(Object parent, Object child) Returns the index of child in parent.int
TreeModel.getIndexOfChild
(Object parent, Object child) Returns the index of child in parent.protected Rectangle
AbstractLayoutCache.getNodeDimensions
(Object value, int row, int depth, boolean expanded, Rectangle placeIn) Returns, by reference inplaceIn
, the size needed to representvalue
.abstract Rectangle
AbstractLayoutCache.NodeDimensions.getNodeDimensions
(Object value, int row, int depth, boolean expanded, Rectangle bounds) Returns, by reference in bounds, the size and x origin to place value at.DefaultTreeCellEditor.getTreeCellEditorComponent
(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) Configures the editor.TreeCellEditor.getTreeCellEditorComponent
(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) Sets an initial value for the editor.DefaultTreeCellRenderer.getTreeCellRendererComponent
(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) Configures the renderer based on the passed in components.TreeCellRenderer.getTreeCellRendererComponent
(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) Sets the value of the current tree cell tovalue
.boolean
Returns whether the specified node is a leaf node.boolean
Returnstrue
ifnode
is a leaf.void
DefaultTreeModel.nodesWereRemoved
(TreeNode node, int[] childIndices, Object[] removedChildren) Invoke this method after you've removed some TreeNodes from node.TreePath.pathByAddingChild
(Object child) Returns a new path containing all the elements of this path pluschild
.void
DefaultMutableTreeNode.setUserObject
(Object userObject) Sets the user object for this node touserObject
.void
MutableTreeNode.setUserObject
(Object object) Resets the user object of the receiver toobject
.void
DefaultTreeModel.valueForPathChanged
(TreePath path, Object newValue) This sets the user object of the TreeNode identified by path and posts a node changed.void
TreeModel.valueForPathChanged
(TreePath path, Object newValue) Messaged when the user has altered the value for the item identified bypath
tonewValue
.ModifierConstructorDescriptionDefaultMutableTreeNode
(Object userObject) Creates a tree node with no parent, no children, but which allows children, and initializes it with the specified user object.DefaultMutableTreeNode
(Object userObject, boolean allowsChildren) Creates a tree node with no parent, no children, initialized with the specified user object, and that allows children only if specified.Creates aTreePath
containing a single element.Creates aTreePath
from an array.protected
Creates aTreePath
from an array.protected
Creates aTreePath
with the specified parent and element. -
Uses of Object in javax.swing.undo
Modifier and TypeClassDescriptionclass
An abstract implementation ofUndoableEdit
, implementing simple responses to all boolean methods in that interface.class
Thrown when an UndoableEdit is told toredo()
and can't.class
Thrown when an UndoableEdit is told toundo()
and can't.class
A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.class
StateEdit is a general edit for objects that change state.class
A support class used for managingUndoableEdit
listeners.class
UndoManager
manages a list ofUndoableEdits
, providing a way to undo or redo the appropriate edits.Modifier and TypeFieldDescriptionprotected Object
UndoableEditSupport.realSource
The real source.Modifier and TypeFieldDescriptionStateEdit.postState
The state information after the editStateEdit.postState
The state information after the editStateEdit.preState
The state information prior to the editStateEdit.preState
The state information prior to the editModifier and TypeMethodDescriptionvoid
StateEditable.storeState
(Hashtable<Object, Object> state) Upon receiving this message the receiver should place any relevant state into state.void
StateEditable.storeState
(Hashtable<Object, Object> state) Upon receiving this message the receiver should place any relevant state into state.ModifierConstructorDescriptionConstructs anUndoableEditSupport
object. -
Uses of Object in javax.tools
Modifier and TypeClassDescriptionfinal class
Provides an easy way to collect diagnostics in a list.class
ForwardingFileObject<F extends FileObject>
Forwards calls to a given file object.class
ForwardingJavaFileManager<M extends JavaFileManager>
Forwards calls to a given file manager.class
ForwardingJavaFileObject<F extends JavaFileObject>
Forwards calls to a given file object.class
Provides simple implementations for most methods in JavaFileObject.class
Provides methods for locating tool providers, for example, providers of compilers. -
Uses of Object in javax.transaction.xa
Modifier and TypeClassDescriptionclass
The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction. -
Uses of Object in javax.xml
Modifier and TypeClassDescriptionfinal class
Utility class to contain basic XML values as constants. -
Uses of Object in javax.xml.catalog
Modifier and TypeClassDescriptionclass
The exception class handles errors that may happen while processing or using a catalog.class
The CatalogFeatures holds a collection of features and properties.static class
The Builder class for building the CatalogFeatures object.final class
The Catalog Manager manages the creation of XML Catalogs and Catalog Resolvers. -
Uses of Object in javax.xml.crypto
Modifier and TypeClassDescriptionclass
A selector that finds and returns a key using the data contained in aKeyInfo
object.static class
The purpose of the key that is to be selected.class
Indicates an exceptional condition thrown by aKeySelector
.class
Indicates an exceptional condition that occurred during the XML marshalling or unmarshalling process.class
This exception is thrown when a particular XML mechanism is requested but is not available in the environment.class
A representation of aData
type containing an octet stream.class
Indicates an exceptional condition thrown while dereferencing aURIReference
.Modifier and TypeMethodDescriptionReturns the value to which this context maps the specified key.XMLCryptoContext.getProperty
(String name) Returns the value of the specified property.Associates the specified value with the specified key in this context.XMLCryptoContext.setProperty
(String name, Object value) Sets the specified property.Modifier and TypeMethodDescriptionReturns the value to which this context maps the specified key.Associates the specified value with the specified key in this context.XMLCryptoContext.setProperty
(String name, Object value) Sets the specified property. -
Uses of Object in javax.xml.crypto.dom
Modifier and TypeClassDescriptionclass
This class provides a DOM-specific implementation of theXMLCryptoContext
interface.class
A DOM-specificXMLStructure
.Modifier and TypeMethodDescriptionThis implementation uses an internalHashMap
to get the object that the specified key maps to.DOMCryptoContext.getProperty
(String name) This implementation uses an internalHashMap
to get the object that the specified name maps to.This implementation uses an internalHashMap
to map the key to the specified object.DOMCryptoContext.setProperty
(String name, Object value) This implementation uses an internalHashMap
to map the name to the specified object.Modifier and TypeMethodDescriptionThis implementation uses an internalHashMap
to get the object that the specified key maps to.This implementation uses an internalHashMap
to map the key to the specified object.DOMCryptoContext.setProperty
(String name, Object value) This implementation uses an internalHashMap
to map the name to the specified object. -
Uses of Object in javax.xml.crypto.dsig
Modifier and TypeClassDescriptionclass
Indicates an exceptional condition that occurred while executing a transform algorithm.class
A Service Provider Interface for transform and canonicalization algorithms.class
Indicates an exceptional condition that occurred during the XML signature generation or validation process.class
A factory for creatingXMLSignature
objects from scratch or for unmarshalling anXMLSignature
object from a corresponding XML representation. -
Uses of Object in javax.xml.crypto.dsig.dom
Modifier and TypeClassDescriptionclass
A DOM-specificXMLSignContext
.class
A DOM-specificXMLValidateContext
. -
Uses of Object in javax.xml.crypto.dsig.keyinfo
Modifier and TypeClassDescriptionclass
A factory for creatingKeyInfo
objects from scratch or for unmarshalling aKeyInfo
object from a corresponding XML representation. -
Uses of Object in javax.xml.crypto.dsig.spec
Modifier and TypeClassDescriptionfinal class
Parameters for the W3C Recommendation: Exclusive XML Canonicalization (C14N) algorithm.final class
Parameters for the XML Signature HMAC Algorithm.final class
Parameters for the XML Signature RSASSA-PSS Algorithm.final class
Parameters for the W3C Recommendation XPath Filter 2.0 Transform Algorithm.final class
Parameters for the XPath Filtering Transform Algorithm.class
The XML Schema Definition of theXPath
element as defined in the W3C Recommendation for XML-Signature XPath Filter 2.0:static class
Represents the filter set operation.final class
Parameters for the XSLT Transform Algorithm. -
Uses of Object in javax.xml.datatype
Modifier and TypeClassDescriptionclass
Indicates a serious configuration error.final class
Utility class to contain basic Datatype values as constants.static final class
Type-safe enum class that represents six fields of theDuration
class.class
Factory that creates newjavax.xml.datatype
Object
s that map XML to/from JavaObject
s.class
Immutable representation of a time span as defined in the W3C XML Schema 1.0 specification.class
Representation for W3C XML Schema 1.0 date/time datatypes. -
Uses of Object in javax.xml.namespace
Modifier and TypeClassDescriptionclass
QName
represents a qualified name as defined in the XML specifications: XML Schema Part2: Datatypes specification, Namespaces in XML. -
Uses of Object in javax.xml.parsers
Modifier and TypeClassDescriptionclass
Defines the API to obtain DOM Document instances from an XML document.class
Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents.class
Thrown when a problem with configuration with the Parser Factories exists.class
Indicates a serious configuration error.class
Defines the API that wraps anXMLReader
implementation class.class
Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.Modifier and TypeMethodDescriptionabstract Object
DocumentBuilderFactory.getAttribute
(String name) Allows the user to retrieve specific attributes on the underlying implementation.abstract Object
SAXParser.getProperty
(String name) Returns the particular property requested for in the underlying implementation ofXMLReader
.Modifier and TypeMethodDescriptionabstract void
DocumentBuilderFactory.setAttribute
(String name, Object value) Allows the user to set specific attributes on the underlying implementation.abstract void
SAXParser.setProperty
(String name, Object value) Sets the particular property in the underlying implementation ofXMLReader
. -
Uses of Object in javax.xml.stream
Modifier and TypeClassDescriptionclass
An error class for reporting factory configuration errors.class
This interface defines a utility class for creating instances of XMLEventsclass
Defines an abstract implementation of a factory for getting streams.class
Defines an abstract implementation of a factory for getting XMLEventWriters and XMLStreamWriters.class
The base exception for unexpected processing errors.Modifier and TypeMethodDescriptionXMLEventReader.getProperty
(String name) Get the value of a feature/property from the underlying implementationabstract Object
XMLInputFactory.getProperty
(String name) Get the value of a feature/property from the underlying implementationabstract Object
XMLOutputFactory.getProperty
(String name) Get a feature/property on the underlying implementationXMLStreamReader.getProperty
(String name) Get the value of a feature/property from the underlying implementationXMLStreamWriter.getProperty
(String name) Get the value of a feature/property from the underlying implementationXMLResolver.resolveEntity
(String publicID, String systemID, String baseURI, String namespace) Retrieves a resource.Modifier and TypeMethodDescriptionvoid
Report the desired message in an application specific format.abstract void
XMLInputFactory.setProperty
(String name, Object value) Allows the user to set specific feature/property on the underlying implementation.abstract void
XMLOutputFactory.setProperty
(String name, Object value) Allows the user to set specific features/properties on the underlying implementation. -
Uses of Object in javax.xml.stream.events
Modifier and TypeMethodDescriptionDTD.getProcessedDTD()
Returns an implementation defined representation of the DTD. -
Uses of Object in javax.xml.stream.util
Modifier and TypeClassDescriptionclass
This is the base class for deriving an XMLEventReader filter.class
This is the base class for deriving an XMLStreamReader filter This class is designed to sit between an XMLStreamReader and an application's XMLStreamReader.Modifier and TypeMethodDescriptionEventReaderDelegate.getProperty
(String name) StreamReaderDelegate.getProperty
(String name) EventReaderDelegate.next()
-
Uses of Object in javax.xml.transform
Modifier and TypeClassDescriptionclass
Provides string constants that can be used to set output properties for a Transformer, or to retrieve output properties from a Transformer or Templates object.class
An instance of this abstract class can transform a source tree into a result tree.class
Indicates a serious configuration error.class
This class specifies an exceptional condition that occurred during the transformation process.class
A TransformerFactory instance can be used to createTransformer
andTemplates
objects.class
Thrown when a problem with configuration with the Transformer Factories exists.Modifier and TypeMethodDescriptionabstract Object
TransformerFactory.getAttribute
(String name) Allows the user to retrieve specific attributes on the underlying implementation.abstract Object
Transformer.getParameter
(String name) Get a parameter that was explicitly set with setParameter.Modifier and TypeMethodDescriptionabstract void
TransformerFactory.setAttribute
(String name, Object value) Allows the user to set specific attributes on the underlying implementation.abstract void
Transformer.setParameter
(String name, Object value) Add a parameter for the transformation. -
Uses of Object in javax.xml.transform.dom
-
Uses of Object in javax.xml.transform.sax
Modifier and TypeClassDescriptionclass
Acts as an holder for a transformation Result.class
Acts as an holder for SAX-style Source.class
This class extends TransformerFactory to provide SAX-specific factory methods. -
Uses of Object in javax.xml.transform.stax
-
Uses of Object in javax.xml.transform.stream
Modifier and TypeClassDescriptionclass
Acts as an holder for a transformation result, which may be XML, plain Text, HTML, or some other form of markup.class
Acts as an holder for a transformation Source in the form of a stream of XML markup. -
Uses of Object in javax.xml.validation
Modifier and TypeClassDescriptionclass
Immutable in-memory representation of grammar.class
Factory that createsSchema
objects.final class
Thrown when a problem with configuration with the Schema Factories exists.class
Factory that createsSchemaFactory
.class
This class provides access to the type information determined byValidatorHandler
.class
A processor that checks an XML document againstSchema
.class
Streaming validator that works on SAX stream.Modifier and TypeMethodDescriptionSchemaFactory.getProperty
(String name) Look up the value of a property.Validator.getProperty
(String name) Look up the value of a property.ValidatorHandler.getProperty
(String name) Look up the value of a property.Modifier and TypeMethodDescriptionvoid
SchemaFactory.setProperty
(String name, Object object) Set the value of a property.void
Validator.setProperty
(String name, Object object) Set the value of a property.void
ValidatorHandler.setProperty
(String name, Object object) Set the value of a property. -
Uses of Object in javax.xml.xpath
Modifier and TypeClassDescriptionclass
XPath constants.class
XPathException
represents a generic XPath exception.class
XPathExpressionException
represents an error in an XPath expression.class
AnXPathFactory
instance can be used to createXPath
objects.class
XPathFactoryConfigurationException
represents a configuration error in aXPathFactory
environment.class
XPathFunctionException
represents an error with an XPath function.Modifier and TypeMethodDescriptionEvaluate anXPath
expression in the specified context and return the result as the specified type.XPath.evaluate
(String expression, InputSource source, QName returnType) Evaluate an XPath expression in the context of the specifiedInputSource
and return the result as the specified type.Evaluate the compiled XPath expression in the specified context and return the result as the specified type.XPathExpression.evaluate
(InputSource source, QName returnType) Evaluate the compiled XPath expression in the context of the specifiedInputSource
and return the result as the specified type.Evaluate the function with the specified arguments.XPathVariableResolver.resolveVariable
(QName variableName) Find a variable in the set of available variables.Modifier and TypeMethodDescriptionEvaluate an XPath expression in the specified context and return the result as aString
.Evaluate anXPath
expression in the specified context and return the result as the specified type.Evaluate the compiled XPath expression in the specified context and return the result as aString
.Evaluate the compiled XPath expression in the specified context and return the result as the specified type.default XPathEvaluationResult<?>
XPath.evaluateExpression
(String expression, Object item) Evaluate an XPath expression in the specified context.default <T> T
XPath.evaluateExpression
(String expression, Object item, Class<T> type) Evaluate an XPath expression in the specified context and return the result with the type specified through theclass type
default XPathEvaluationResult<?>
XPathExpression.evaluateExpression
(Object item) Evaluate the compiled XPath expression in the specified context.default <T> T
XPathExpression.evaluateExpression
(Object item, Class<T> type) Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through theclass type
. -
Uses of Object in jdk.dynalink
Modifier and TypeClassDescriptionclass
Call site descriptors contain all the information necessary for linking a call site.final class
The linker forRelinkableCallSite
objects.final class
A factory class for creatingDynamicLinker
objects.final class
Operation that associates a name with another operation.final class
Describes an operation that operates on at least oneNamespace
of an object.class
Thrown at the invocation if the call site can not be linked by any availableGuardingDynamicLinker
.class
Provides security-checked access to aMethodHandles.Lookup
object.Modifier and TypeMethodDescriptionNamedOperation.getName()
Returns the name of this named operation.static Object
If the passed operation is a named operation, returns itsNamedOperation.getName()
, otherwise returns null.Modifier and TypeMethodDescriptionboolean
Returns true if this call site descriptor is equal to the passed object.boolean
Compares this named operation to another object.boolean
Returns true if the other object is also a namespace operation and their base operation and namespaces are equal.default NamedOperation
Returns aNamedOperation
using this operation as its base.ModifierConstructorDescriptionNamedOperation
(Operation baseOperation, Object name) Creates a new named operation. -
Uses of Object in jdk.dynalink.beans
Modifier and TypeClassDescriptionclass
A linker for ordinary Java objects.final class
Object that allows access to the static members of a class (its static methods, properties, and fields), as well as construction of instances usingStandardOperation.NEW
operation.Modifier and TypeMethodDescriptionstatic Object
BeansLinker.getConstructorMethod
(Class<?> clazz, String signature) Return the dynamic method of constructor of the given class and the given signature.Modifier and TypeMethodDescriptionstatic boolean
BeansLinker.isDynamicConstructor
(Object obj) Returns true if the object is a Java constructor (obtained throughBeansLinker.getConstructorMethod(Class, String)
}.static boolean
BeansLinker.isDynamicMethod
(Object obj) Returns true if the object is a Java dynamic method (e.g., one obtained through aGET:METHOD
operation on a Java object orStaticClass
or throughBeansLinker.getConstructorMethod(Class, String)
. -
Uses of Object in jdk.dynalink.linker
Modifier and TypeClassDescriptionclass
Represents a conditionally valid method handle.class
A class acting as a supplier of guarding dynamic linkers that can be automatically loaded by other language runtimes.Modifier and TypeMethodDescriptionObject[]
LinkRequest.getArguments()
Returns the arguments for the invocation being linked.LinkRequest.getReceiver()
Returns the first argument for the invocation being linked; this is typically the receiver object.Modifier and TypeMethodDescriptionLinkRequest.replaceArguments
(CallSiteDescriptor callSiteDescriptor, Object... arguments) Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified. -
Uses of Object in jdk.dynalink.linker.support
Modifier and TypeClassDescriptionclass
AGuardingDynamicLinker
that delegates sequentially to a list of other guarding dynamic linkers in itsCompositeGuardingDynamicLinker.getGuardedInvocation(LinkRequest, LinkerServices)
.class
A composite type-based guarding dynamic linker.class
Default implementation for aDynamicLinkerFactory.setInternalObjectsFilter(MethodHandleTransformer)
that delegates to a pair of filtering method handles.final class
Utility methods for creating typical guards forMethodHandles.guardWithTest(MethodHandle, MethodHandle, MethodHandle)
and for adjusting their method types.final class
A wrapper aroundMethodHandles.Lookup
that masks checked exceptions.class
Default simple implementation ofLinkRequest
.final class
Various static utility methods for working with Java types.Modifier and TypeMethodDescriptionObject[]
SimpleLinkRequest.getArguments()
SimpleLinkRequest.getReceiver()
Modifier and TypeMethodDescriptionstatic MethodHandle
Guards.getIdentityGuard
(Object obj) Creates a guard method that tests its only argument for being referentially identical to another objectSimpleLinkRequest.replaceArguments
(CallSiteDescriptor newCallSiteDescriptor, Object... newArguments) ModifierConstructorDescriptionSimpleLinkRequest
(CallSiteDescriptor callSiteDescriptor, boolean callSiteUnstable, Object... arguments) Creates a new link request. -
Uses of Object in jdk.dynalink.support
Modifier and TypeClassDescriptionclass
A basic implementation of theRelinkableCallSite
as aMutableCallSite
.class
A relinkable call site that implements a polymorphic inline caching strategy.class
A relinkable call site that implements monomorphic inline caching strategy, only being linked to a singleGuardedInvocation
at any given time. -
Uses of Object in jdk.incubator.concurrent
Modifier and TypeClassDescriptionfinal class
ScopedValue<T>
A value that is set once and is then available for reading for a bounded period of execution by a thread.static final class
A mapping of scoped values, as keys, to values.class
A basic API for structured concurrency.static final class
AStructuredTaskScope
that captures the exception of the first subtask to complete abnormally.static final class
AStructuredTaskScope
that captures the result of the first subtask to complete successfully.final class
Thrown when a structure violation is detected.Modifier and TypeMethodDescriptionprotected void
StructuredTaskScope.ShutdownOnFailure.handleComplete
(Future<Object> future) Shut down the given task scope when invoked for the first time with aFuture
for a task that completed abnormally (exception or cancelled). -
Uses of Object in jdk.incubator.vector
Modifier and TypeClassDescriptionclass
A specializedVector
representing an ordered immutable sequence ofbyte
values.class
A specializedVector
representing an ordered immutable sequence ofdouble
values.class
A specializedVector
representing an ordered immutable sequence offloat
values.class
A specializedVector
representing an ordered immutable sequence ofint
values.class
A specializedVector
representing an ordered immutable sequence oflong
values.class
A specializedVector
representing an ordered immutable sequence ofshort
values.class
Vector<E>
class
VectorMask<E>
AVectorMask
represents an ordered immutable sequence ofboolean
values.class
This class consists solely of static constants that describe lane-wise vector operations, plus nested interfaces which classify them.class
AVectorShuffle
represents an ordered immutable sequence ofint
values called source indexes, where each source index numerically selects a source lane from a compatibleVector
.Modifier and TypeMethodDescriptionabstract Object
Vector.toArray()
Returns a packed array containing all the lane values.Modifier and TypeMethodDescriptionfinal boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this vector is identical to some other object.abstract boolean
Indicates whether this vector is identical to some other object.final boolean
Indicates whether this mask is identical to some other object.final boolean
Indicates whether this shuffle is identical to some other object.boolean
Indicates whether this species is identical to some other object.Returns a vector of this species where lane elements are initialized from the given array at the given offset. -
Uses of Object in jdk.javadoc.doclet
Modifier and TypeClassDescriptionclass
This doclet generates HTML-formatted documentation for the specified modules, packages and types. -
Uses of Object in jdk.jfr
Modifier and TypeClassDescriptionfinal class
Describes event metadata, such as labels, descriptions and units.final class
A collection of settings and metadata describing the configuration.class
Base class for events, to be subclassed in order to define events and their fields.final class
Class for defining an event at runtime.class
Convenience class for applying event settings to a recording.final class
Describes an event, its fields, settings and annotations.final class
Class for accessing, controlling, and managing Flight Recorder.final class
Permission for controlling access to Flight Recorder.final class
Provides means to configure, start, stop and dump recording data to disk.class
Base class to extend to create setting controls.final class
Describes an event setting.final class
Describes the event fields and annotation elements.Modifier and TypeMethodDescriptionReturns a value for thisAnnotationElement
.Modifier and TypeMethodDescriptionAnnotationElement.getValues()
Returns an immutable list of annotation values in an order that matches the value descriptors for thisAnnotationElement
.Modifier and TypeMethodDescriptionfinal void
Sets a field value.ModifierConstructorDescriptionAnnotationElement
(Class<? extends Annotation> annotationType, Object value) Creates an annotation element to use for dynamically defined events.ModifierConstructorDescriptionAnnotationElement
(Class<? extends Annotation> annotationType, Map<String, Object> values) Creates an annotation element to use for dynamically defined events. -
Uses of Object in jdk.jfr.consumer
Modifier and TypeClassDescriptionfinal class
Event that contains information about event types and configurations.final class
A recorded Java type, such as a class or an interface.final class
A recorded Java class loader.final class
A recorded event.final class
A recorded frame in a stack trace.final class
A recorded method.class
A complex data type that consists of one or more fields.final class
A recorded stack trace.final class
A recorded thread.final class
A recorded Java thread group.final class
A recording file.final class
A recording stream produces events from the current JVM (Java Virtual Machine). -
Uses of Object in jdk.jshell
Modifier and TypeClassDescriptionclass
Grouping for all declaration Snippets: variable declarations (VarSnippet
), method declarations (MethodSnippet
), and type declarations (TypeDeclSnippet
).class
Diagnostic information for a Snippet.class
A snippet of code that is not valid Java programming language code.class
Wraps an throwable thrown in the executing client.class
Snippet for an assignment or variable-value expression.class
Snippet for an import declaration.class
The JShell evaluation state engine.static class
Builder forJShell
instances.class
Subscription is a token for referring to subscriptions so they can be unsubscribed.class
The superclass of JShell generated exceptionsclass
Snippet for a method definition.class
Grouping for Snippets which persist and influence future code.class
A Snippet represents a snippet of Java source code as passed toJShell.eval(java.lang.String)
.class
A description of a change to a Snippet.class
Provides analysis utilities for source code input.static final class
List of possible qualified names.class
Snippet for a statement.class
Snippet for a type definition (a class, interface, enum, or annotation interface definition).class
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet.class
Snippet for a variable definition. -
Uses of Object in jdk.jshell.execution
Modifier and TypeClassDescriptionclass
AnExecutionControl
implementation that runs in the current process.class
Tries other providers in sequence until one works.class
The implementation ofExecutionControl
that the JShell-core uses by default.class
Abstract JDI implementation ofExecutionControl
.class
A provider of remote JDI-controlled execution engines.class
Sets up a JDI connection, providing the resulting JDIVirtualMachine
and theProcess
the remote agent is running in.class
An implementation ofExecutionControl
which executes in the same JVM as the JShell-core.class
A provider of execution engines which run in the same process as JShell.class
The remote agent runs in the execution process (separate from the main JShell process).class
An implementation of theExecutionControl
execution engine SPI which streams requests to a remote agent where execution takes place.class
Miscellaneous utility methods for setting-up implementations ofExecutionControl
.Modifier and TypeMethodDescriptionDirectExecutionControl.extensionCommand
(String command, Object arg) StreamingExecutionControl.extensionCommand
(String command, Object arg) Modifier and TypeMethodDescriptionDirectExecutionControl.extensionCommand
(String command, Object arg) StreamingExecutionControl.extensionCommand
(String command, Object arg) protected static String
DirectExecutionControl.valueString
(Object value) Converts theObject
value fromExecutionControl.invoke(String, String)
orExecutionControl.varValue(String, String)
toString
. -
Uses of Object in jdk.jshell.spi
Modifier and TypeClassDescriptionstatic final class
Bundles class name with class bytecodes.static class
A class install (load or redefine) encountered a problem.static class
Unbidden execution engine termination has occurred.static class
The abstract base of allExecutionControl
exceptions.static class
An internal problem has occurred.static class
The command is not implemented.static class
An exception indicating that aDeclarationSnippet
with unresolved references has been encountered.static class
The abstract base of of exceptions specific to running user code.static class
An exception indicating that anExecutionControl.invoke(java.lang.String, java.lang.String)
(or theoretically aExecutionControl.varValue(java.lang.String, java.lang.String)
) has been interrupted by aExecutionControl.stop()
.static class
A 'normal' user exception occurred.class
The construction and throw of this exception is embedded in code generated by the JShell core implementation in such a way that, upon executing aRECOVERABLE_DEFINED
user method, this exception is thrown.Modifier and TypeMethodDescriptionExecutionControl.extensionCommand
(String command, Object arg) Run a non-standard command (or a standard command from a newer version).Modifier and TypeMethodDescriptionExecutionControl.extensionCommand
(String command, Object arg) Run a non-standard command (or a standard command from a newer version). -
Uses of Object in jdk.management.jfr
Modifier and TypeClassDescriptionfinal class
Management representation of aConfiguration
.final class
Management representation of anEventType
.final class
Management representation of aRecording
.final class
An implementation of anEventStream
that can serialize events over the network using anMBeanServerConnection
.final class
Management class that describes a setting, for example name, description and default value. -
Uses of Object in jdk.net
Modifier and TypeClassDescriptionfinal class
Defines extended socket options, beyond those defined inStandardSocketOptions
.final class
Represents permission to access the extended networking capabilities defined in the jdk.net package.class
Deprecated.Java SE 9 added standard methods to set/get socket options, and retrieve the per-Socket supported options effectively rendering this API redundant. -
Uses of Object in jdk.nio
-
Uses of Object in jdk.nio.mapmode
-
Uses of Object in jdk.security.jarsigner
Modifier and TypeClassDescriptionfinal class
An immutable utility class to sign a jar file.static class
A mutable builder class that can create an immutableJarSigner
from various signing-related parameters.class
This exception is thrown whenJarSigner.sign(java.util.zip.ZipFile, java.io.OutputStream)
fails. -
Uses of Object in netscape.javascript
Modifier and TypeClassDescriptionclass
Thrown when an exception is raised in the JavaScript engine.class
Allows Java code to manipulate JavaScript objects.Modifier and TypeMethodDescriptionabstract Object
Calls a JavaScript method.abstract Object
Evaluates a JavaScript expression.abstract Object
Retrieves a named member of a JavaScript object.abstract Object
JSObject.getSlot
(int index) Retrieves an indexed member of a JavaScript object.Modifier and TypeMethodDescriptionabstract Object
Calls a JavaScript method.abstract void
Sets a named member of a JavaScript object.abstract void
Sets an indexed member of a JavaScript object. -
Uses of Object in org.ietf.jgss
Modifier and TypeClassDescriptionclass
This class encapsulates the concept of caller-provided channel binding information.class
This exception is thrown whenever a GSS-API error occurs, including any mechanism specific error.class
This class serves as a factory for other important GSS-API classes and also provides information about the mechanisms that are supported.class
This is a utility class used within the per-message GSSContext methods to convey per-message properties.class
This class represents Universal Object Identifiers (Oids) and their associated operations.Modifier and TypeMethodDescriptionboolean
Compares two instances of ChannelBinding.boolean
Tests if this GSSCredential asserts the same entity as the supplied object.boolean
Compares thisGSSName
object to another Object that might be aGSSName
.boolean
Tests if two Oid objects represent the same Object identifier value. -
Uses of Object in org.w3c.dom
Modifier and TypeClassDescriptionclass
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).Modifier and TypeMethodDescriptionDOMImplementation.getFeature
(String feature, String version) This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in DOM Features.Node.getFeature
(String feature, String version) This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .DOMConfiguration.getParameter
(String name) Return the value of a parameter if known.DOMError.getRelatedData()
The relatedDOMError.type
dependent data if any.DOMError.getRelatedException()
The related platform dependent exception if any.Node.getUserData
(String key) Retrieves the object associated to a key on a this node.Node.setUserData
(String key, Object data, UserDataHandler handler) Associate an object to a key on this node.Modifier and TypeMethodDescriptionboolean
DOMConfiguration.canSetParameter
(String name, Object value) Check if setting a parameter to a specific value is supported.void
This method is called whenever the node for which this handler is registered is imported or cloned.void
DOMConfiguration.setParameter
(String name, Object value) Set the value of a parameter.Node.setUserData
(String key, Object data, UserDataHandler handler) Associate an object to a key on this node. -
Uses of Object in org.w3c.dom.bootstrap
Modifier and TypeClassDescriptionfinal class
A factory that enables applications to obtain instances ofDOMImplementation
. -
Uses of Object in org.w3c.dom.events
Modifier and TypeClassDescriptionclass
Event operations may throw anEventException
as specified in their method descriptions. -
Uses of Object in org.w3c.dom.ls
Modifier and TypeClassDescriptionclass
Parser or write operations may throw anLSException
if the processing is stopped. -
Uses of Object in org.w3c.dom.ranges
Modifier and TypeClassDescriptionclass
Range operations may throw aRangeException
as specified in their method descriptions. -
Uses of Object in org.w3c.dom.xpath
Modifier and TypeClassDescriptionclass
A new exception has been created for exceptions specific to these XPath interfaces.Modifier and TypeMethodDescriptionXPathEvaluator.evaluate
(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) Evaluates an XPath expression string and returns a result of the specified type if possible.Evaluates this XPath expression and returns a result.Modifier and TypeMethodDescriptionXPathEvaluator.evaluate
(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) Evaluates an XPath expression string and returns a result of the specified type if possible.Evaluates this XPath expression and returns a result. -
Uses of Object in org.xml.sax
Modifier and TypeClassDescriptionclass
Deprecated.This class works with the deprecatedDocumentHandler
interface.class
A single input source for an XML entity.class
Encapsulate a general SAX error or warning.class
Exception class for an unrecognized identifier.class
Exception class for an unsupported operation.class
Encapsulate an XML parse error or warning.Modifier and TypeMethodDescriptionXMLReader.getProperty
(String name) Look up the value of a property.Modifier and TypeMethodDescriptionvoid
XMLReader.setProperty
(String name, Object value) Set the value of a property. -
Uses of Object in org.xml.sax.ext
Modifier and TypeClassDescriptionclass
SAX2 extension helper for additional Attributes information, implementing theAttributes2
interface.class
This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions.class
SAX2 extension helper for holding additional Entity information, implementing theLocator2
interface. -
Uses of Object in org.xml.sax.helpers
Modifier and TypeClassDescriptionclass
Deprecated.This class implements a deprecated interface,AttributeList
; that interface has been replaced byAttributes
, which is implemented in theAttributesImpl
helper class.class
Default implementation of the Attributes interface.class
Default base class for SAX2 event handlers.class
Provide an optional convenience implementation of Locator.class
Encapsulate Namespace logic for use by applications using SAX, or internally by SAX drivers.class
Adapt a SAX1 Parser as a SAX2 XMLReader.class
Deprecated.This class works with the deprecatedParser
interface.class
Base class for deriving an XML filter.class
Adapt a SAX2 XMLReader as a SAX1 Parser.final class
Deprecated.It is recommended to useSAXParserFactory
instead.Modifier and TypeMethodDescriptionParserAdapter.getProperty
(String name) Get a parser property.XMLFilterImpl.getProperty
(String name) Look up the value of a property.Modifier and TypeMethodDescriptionvoid
ParserAdapter.setProperty
(String name, Object value) Set a parser property.void
XMLFilterImpl.setProperty
(String name, Object value) Set the value of a property.