com.sap.portal.obn.service
Class IOBNImplementationMD.Comparators.FriendlyNameComparator
java.lang.Object
com.sap.portal.obn.service.IOBNImplementationMD.Comparators.FriendlyNameComparator
- All Implemented Interfaces:
- Comparator
- Enclosing interface:
- IOBNImplementationMD.Comparators
public static class IOBNImplementationMD.Comparators.FriendlyNameComparator
- extends Object
- implements Comparator
Compares two objects implementing the IOBNImplementationMD interface
by their friendly names.
The friendly name that is used by the comparator is determined by the user locale.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOBNImplementationMD.Comparators.FriendlyNameComparator
public IOBNImplementationMD.Comparators.FriendlyNameComparator(Locale locale)
- A constructor that creates a Comparator for a specific locale.
- Parameters:
locale - the locale for determining the operation implementation friendly name
compare
public int compare(Object o1,
Object o2)
- Compares two objects implementing the
IOBNImplementationMD interface. The
comparison is based on the operation implementations friendly names.
- Specified by:
compare in interface Comparator
- Parameters:
o1 - first objecto2 - second object
- Returns:
- the result of the camparison
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
Copyright 2011 SAP AG Complete Copyright Notice