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

E17503-02

oracle.adfnmc.java.lang
Class ComparableString

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

public class ComparableString
extends java.lang.Object
implements Comparable


Constructor Summary
ComparableString(java.lang.String s)
           
 
Method Summary
 int compareTo(java.lang.Object other)
          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

ComparableString

public ComparableString(java.lang.String s)
Method Detail

compareTo

public int compareTo(java.lang.Object other)
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:
other - 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.