ariba.util.core
Class IntegerCompare

java.lang.Object
  extended by ariba.util.core.IntegerCompare
All Implemented Interfaces:
Compare

public class IntegerCompare
extends java.lang.Object
implements Compare


Field Summary
static IntegerCompare TheIntCompare
           
 
Fields inherited from interface ariba.util.core.Compare
EqualTo, GreaterThan, LessThan
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares objects two objects for sort order.
static IntegerCompare get()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TheIntCompare

public static final IntegerCompare TheIntCompare
Method Detail

get

public static final IntegerCompare get()

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Description copied from interface: Compare
Compares objects two objects for sort order.

Specified by:
compare in interface Compare
Parameters:
o1 - the first object to compare
o2 - the second object to compare
Returns:
a value less than, equal to, or greater than zero depending on whether o1 is less than, equal to, or greater than o2


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.