JavaTM 2 Platform
Std. Ed. v1.4.2

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.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. 
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
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). 
javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

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.nio
 

Classes in java.nio that implement Comparable
 class ByteBuffer
          A byte buffer.
 class CharBuffer
          A character buffer.
 class DoubleBuffer
          A double buffer.
 class FloatBuffer
          A float buffer.
 class IntBuffer
          An int buffer.
 class LongBuffer
          A long buffer.
 class MappedByteBuffer
          A direct byte buffer whose content is a memory-mapped region of a file.
 class ShortBuffer
          A short buffer.
 

Uses of Comparable in java.nio.charset
 

Classes in java.nio.charset that implement Comparable
 class Charset
          A named mapping between sequences of sixteen-bit Unicode characters and sequences of bytes.
 

Uses of Comparable in java.sql
 

Classes in java.sql that implement Comparable
 class Time
          A thin wrapper around the java.util.Date class that allows the JDBC API to identify this as an SQL TIME value.
 class Timestamp
          A thin wrapper around java.util.Date that allows the JDBC API to identify this as an 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.
 

Uses of Comparable in javax.imageio.metadata
 

Methods in javax.imageio.metadata that return Comparable
 Comparable IIOMetadataFormatImpl.getObjectMinValue(String elementName)
           
 Comparable IIOMetadataFormatImpl.getObjectMaxValue(String elementName)
           
 Comparable IIOMetadataFormat.getObjectMinValue(String elementName)
          Returns the minimum legal value for the Object reference within the named element.
 Comparable IIOMetadataFormat.getObjectMaxValue(String elementName)
          Returns the maximum legal value for the Object reference within the named element.
 

Methods in javax.imageio.metadata with parameters of type Comparable
protected  void IIOMetadataFormatImpl.addObjectValue(String elementName, Class classType, Object defaultValue, Comparable minValue, Comparable maxValue, boolean minInclusive, boolean maxInclusive)
          Allows an Object reference of a given class type to be stored in nodes implementing the named element.
 

Uses of Comparable in javax.swing
 

Methods in javax.swing that return Comparable
 Comparable SpinnerDateModel.getStart()
          Returns the first Date in the sequence.
 Comparable SpinnerDateModel.getEnd()
          Returns the last Date in the sequence.
 Comparable SpinnerNumberModel.getMinimum()
          Returns the first number in this sequence.
 Comparable SpinnerNumberModel.getMaximum()
          Returns the last number in the sequence.
 

Methods in javax.swing with parameters of type Comparable
 void SpinnerDateModel.setStart(Comparable start)
          Changes the lower limit for Dates in this sequence.
 void SpinnerDateModel.setEnd(Comparable end)
          Changes the upper limit for Dates in this sequence.
 void SpinnerNumberModel.setMinimum(Comparable minimum)
          Changes the lower bound for numbers in this sequence.
 void SpinnerNumberModel.setMaximum(Comparable maximum)
          Changes the upper bound for numbers in this sequence.
 

Constructors in javax.swing with parameters of type Comparable
SpinnerDateModel(Date value, Comparable start, Comparable end, int calendarField)
          Creates a SpinnerDateModel that represents a sequence of dates between start and end.
SpinnerNumberModel(Number value, Comparable minimum, Comparable maximum, Number stepSize)
          Constructs a SpinnerModel that represents a closed sequence of numbers from minimum to maximum.
 

Uses of Comparable in javax.swing.text
 

Methods in javax.swing.text that return Comparable
 Comparable InternationalFormatter.getMinimum()
          Returns the minimum permissible value.
 Comparable InternationalFormatter.getMaximum()
          Returns the maximum permissible value.
 

Methods in javax.swing.text with parameters of type Comparable
 void InternationalFormatter.setMinimum(Comparable minimum)
          Sets the minimum permissible value.
 void InternationalFormatter.setMaximum(Comparable max)
          Sets the maximum permissible value.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.