Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Interface
java.lang.Comparable

Packages that use Comparable
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.net Provides the classes for implementing networking applications. 
java.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 java.io
 

Classes in java.io 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 wraps a value of primitive type byte in an object.
 class Character
          The Character class wraps a value of the primitive type char in an object.
 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 wraps a value of primitive type short in an object.
 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.net
 

Classes in java.net that implement Comparable
 class URI
          Represents a Uniform Resource Identifier (URI) reference.
 

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.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.