JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
java.lang
Interface Comparable<T>
All Known Implementing Classes:
Boolean
,
Calendar
,
Character
,
Date
,
Double
,
ElementType
,
Enum
,
Float
,
GregorianCalendar
,
Integer
,
Long
,
RetentionPolicy
,
RoundingMode
,
String
,
TiEventType
,
TimeStamp
,
URI
,
UUID
public interface
Comparable<T>
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
int
compareTo
(
T
o)
Compares this with another Object.
Method Detail
compareTo
int compareTo(
T
o)
Compares this with another Object. Returns -1 if this object is smaller, 0 if both objects are equal and 1 if this object is bigger.
Parameters:
o
- the object to compare with
Returns:
one of the values -1, 0, 1
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method