JavaTM 2 Platform
Standard Edition

Uses of Interface

Packages that use Comparable Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.sql Provides the JDBC package. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 

Uses of Comparable in

Classes in that implement Comparable
 class File
          An abstract representation of file and directory pathnames.
 class ObjectStreamField
          A description of a Serializable field from a Serializable class.

Uses of Comparable in java.lang

Classes in java.lang that implement Comparable
 class Byte
          The Byte class is the standard wrapper for byte values.
 class Character
          The Character class wraps a value of the primitive type char in an object.
 class Double
          The Double class wraps a value of the primitive type double in an object.
 class Float
          The Float class wraps a value of primitive type float in an object.
 class Integer
          The Integer class wraps a value of the primitive type int in an object.
 class Long
          The Long class wraps a value of the primitive type long in an object.
 class Short
          The Short class is the standard wrapper for short values.
 class String
          The String class represents character strings.

Uses of Comparable in java.math

Classes in java.math that implement Comparable
 class BigDecimal
          Immutable, arbitrary-precision signed decimal numbers.
 class BigInteger
          Immutable arbitrary-precision integers.

Uses of Comparable in java.sql

Classes in java.sql that implement Comparable
 class Time
          A thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIME value.
 class Timestamp
          This class is a thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIMESTAMP value.

Uses of Comparable in java.text

Classes in java.text that implement Comparable
 class CollationKey
          A CollationKey represents a String under the rules of a specific Collator object.

Uses of Comparable in java.util

Classes in java.util that implement Comparable
 class Date
          The class Date represents a specific instant in time, with millisecond precision.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.