java.lang
Interface Comparable<T>

All Known Implementing Classes:
FloatAmpere, FloatBit, FloatCandela, FloatCelsius, FloatCoulomb, FloatCubicMeter, FloatFarad, FloatGram, FloatHenry, FloatHertz, FloatJoule, FloatKelvin, FloatKilogram, FloatLumen, FloatLux, FloatMeasure, FloatMeter, FloatMeterPerSecond, FloatMeterPerSquareSecond, FloatMole, FloatNewton, FloatOhm, FloatPascal, FloatRadian, FloatRelativeHumidity, FloatSecond, FloatSiemens, FloatSquareMeter, FloatSteradian, FloatTesla, FloatVolt, FloatWatt, FloatWeber

public interface Comparable<T>

This interface imposes a total ordering on the objects of each class that implements it. This ordering is referred to as the class's natural ordering, and the class's compareTo method is referred to as its natural comparison method.


Method Summary
 int compareTo(T o)
          Compares this object with the specified object for order.
 

Method Detail

compareTo

int compareTo(T o)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.



Copyright © 2007 Sentilla Corporation. All Rights Reserved.