Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.lang
Class ComparableInteger

java.lang.Object
  extended by oracle.adfnmc.java.lang.ComparableInteger
All Implemented Interfaces:
Comparable

public class ComparableInteger
extends java.lang.Object
implements Comparable


Constructor Summary
ComparableInteger(java.lang.Integer i)
           
 
Method Summary
 int compareTo(java.lang.Object another)
          Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class.
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComparableInteger

public ComparableInteger(java.lang.Integer i)
Method Detail

compareTo

public int compareTo(java.lang.Object another)
Description copied from interface: Comparable
Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class.

Specified by:
compareTo in interface Comparable
Parameters:
another - Object an object to compare the receiver to
Returns:
int which should be <0 if the receiver should sort before the argument, 0 if the receiver should sort in the same position as the argument, and >0 if the receiver should sort after the argument.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.