Uses of Interface
java.lang.Comparable

Packages that useComparable
Package
Description
com.sun.jdi
This is the core package of the Java DebugInterface (JDI), it defines mirrors for values, types, and the targetVirtualMachine itself - as well bootstrapping facilities.
com.sun.management
This package contains JDK extensions to the standard implementation ofthejava.lang.management API and also defines the managementinterface for some other components of the platform.
com.sun.net.httpserver
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
com.sun.nio.sctp
A Java API for Stream Control Transport Protocol.
com.sun.security.jgss
This package defines classes and interfaces for the JDK extensionsto the GSS-API.
com.sun.source.doctree
Provides interfaces to represent documentation comments as abstract syntaxtrees (AST).
com.sun.source.tree
Provides interfaces to represent source code as abstract syntaxtrees (AST).
com.sun.source.util
Provides utilities for operations on abstract syntax trees (AST).
com.sun.tools.jconsole
This package contains the JConsole API.
java.awt
Contains all of the classes for creating user interfaces and for paintinggraphics and images.
java.awt.desktop
Provides interfaces and classes for interaction with various desktopcapabilities.
java.awt.event
Provides interfaces and classes for dealing with different types of eventsfired by AWT components.
java.awt.font
Provides classes and interface relating to fonts.
java.io
Provides for system input and output through data streams,serialization and the file system.
java.lang
Provides classes that are fundamental to the design of the Javaprogramming language.
java.lang.annotation
Provides library support for the Java programming languageannotation facility.
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describingclass file attributes for thejava.lang.classfile library.
java.lang.constant
Classes and interfaces to representnominal descriptors for run-timeentities such as classes or method handles, and classfile entities such asconstant pool entries orinvokedynamic call sites.
java.lang.invoke
Thejava.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.
java.lang.management
Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime.
java.lang.module
Classes to support module descriptors and creating configurations of modulesby means of resolution and service binding.
java.lang.reflect
Provides classes and interfaces for obtaining reflective information aboutclasses and objects.
java.math
Provides classes for performing arbitrary-precision integerarithmetic (BigInteger) and arbitrary-precision decimalarithmetic (BigDecimal).
java.net
Provides the classes for implementing networking applications.
java.net.http
HTTP Client and WebSocket APIs
java.nio
Defines buffers, which are containers for data, and provides anoverview of the other NIO packages.
java.nio.charset
Defines charsets, decoders, and encoders, for translating betweenbytes and Unicode characters.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files,file attributes, and file systems.
java.nio.file.attribute
Interfaces and classes providing access to file and file system attributes.
java.security
Provides the classes and interfaces for the security framework.
java.security.cert
Provides classes and interfaces for parsing and managingcertificates, certificate revocation lists (CRLs), andcertification paths.
java.sql
Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava programming language.
java.text
Provides classes and interfaces for handling text, dates, numbers,and messages in a manner independent of natural languages.
java.time
The main API for dates, times, instants, and durations.
java.time.chrono
Generic API for calendar systems other than the default ISO.
java.time.format
Provides classes to print and parse dates and times.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.
java.time.zone
Support for time-zones and their rules.
java.util
Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.
java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.stream
Classes to support functional-style operations on streams of elements, suchas map-reduce transformations on collections.
javax.imageio.metadata
A package of the Java Image I/O API dealing with reading and writingmetadata.
javax.lang.model
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Javaprogramming language.
javax.lang.model.element
Interfaces used to model elements of the Java programming language.
javax.lang.model.type
Interfaces used to model Java programming language types.
javax.lang.model.util
Utilities to assist in the processing ofprogram elements andtypes.
javax.management
Provides the core classes for the Java Management Extensions.
javax.management.openmbean
Provides the open data types and Open MBean descriptor classes.
javax.naming
Provides the classes and interfaces for accessing naming services.
javax.naming.ldap
Provides support for LDAPv3 extended operations and controls.
javax.net.ssl
Provides classes for the secure socket package.
javax.smartcardio
Java™ Smart Card I/O API.
javax.swing
Provides a set of "lightweight" (all-Java language) componentsthat, to the maximum degree possible, work the same on all platforms.
javax.swing.event
Provides for events fired by Swing components.
javax.swing.plaf.nimbus
Provides user interface objects built according to the cross-platform Nimbuslook and feel.
javax.swing.text
Provides classes and interfaces that deal with editable and noneditable textcomponents.
javax.swing.text.html
Provides the classHTMLEditorKit and supporting classes for creatingHTML text editors.
javax.tools
Provides interfaces for tools which can be invoked from a program,for example, compilers.
javax.xml.catalog
Provides the classes for implementingXML Catalogs OASIS Standard V1.1, 7 October 2005.
javax.xml.xpath
Provides anobject-model neutral API for theevaluation of XPath expressions and access to the evaluationenvironment.
jdk.dynalink
Contains interfaces and classes that are used to link aninvokedynamic call site.
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implementtheir own language-specific object models and type conversions.
jdk.incubator.vector

Incubating Feature. Will be removed in a future release.
jdk.javadoc.doclet
The Doclet API provides an environment which, in conjunction withthe Language Model API and Compiler Tree API, allows clientsto inspect the source-level structures of programs andlibraries, including API comments embedded in the source.
jdk.jfr
This package provides classes to create events and control Flight Recorder.
jdk.jshell
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),which interactively evaluate "snippets" of Java programming language code.