ariba.util.core
Class StringCompare
java.lang.Object
ariba.util.core.StringCompare
- All Implemented Interfaces:
- Compare
public final class StringCompare
- extends Object
- implements Compare
An implementation of Compare for Strings
|
Method Summary |
int |
compare(Object o1,
Object o2)
Compares objects o1 and o2, returning a value less than,
equal to, or greater than zero depending on whether o1 is less
than, equal to, or greater than o2. |
self
public static final Compare self
- Performs case-sensitive string comparison
caseInsensitive
public static final Compare caseInsensitive
- Performs case-insensitive string comparison
compare
public int compare(Object o1,
Object o2)
- Compares objects o1 and o2, returning a value less than,
equal to, or greater than zero depending on whether o1 is less
than, equal to, or greater than o2.
- Specified by:
compare in interface Compare
- Parameters:
o1 - the first object to compareo2 - 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-2009 Ariba, Inc. All Rights Reserved.