public final class DefaultResourcePropertyComparator extends ResourcePropertyComparator
isUseLinkProperty
CM_ID, CM_RND_COLLABORATION_STATUS
Constructor and Description |
---|
DefaultResourcePropertyComparator()
Deprecated.
default constructor.
|
DefaultResourcePropertyComparator(IPropertyName property,
boolean ascending)
Deprecated.
As of NetWeaver 7.1
|
DefaultResourcePropertyComparator(IPropertyName property,
boolean ascending,
boolean useDisplayNameAsSecondProperty)
Deprecated.
As of NetWeaver 7.1
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2)
Deprecated.
As of NetWeaver 7.1
|
void |
setUseLinkProperty(boolean useLinkProperty)
Deprecated.
|
isUseLinkProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public DefaultResourcePropertyComparator(IPropertyName property, boolean ascending)
public DefaultResourcePropertyComparator()
0
, regardless of the objects returned.
In this case, the warning of the Comparator
javadoc must be
considered:
It is generally the case, but not strictly required that
(compare(x, y)==0) == (x.equals(y)). Generally speaking,
any comparator that violates this condition should clearly indicate
this fact. The recommended language is "Note: this comparator
imposes orderings that are inconsistent with equals."public DefaultResourcePropertyComparator(IPropertyName property, boolean ascending, boolean useDisplayNameAsSecondProperty)
property
- Description of the paramascending
- Description of the paramuseDisplayNameAsSecondProperty
- Description of the parampublic int compare(Object o1, Object o2)
ResourcePropertyComparator
compare
in interface Comparator
compare
in class ResourcePropertyComparator
o1
- Description of the paramo2
- Description of the parampublic void setUseLinkProperty(boolean useLinkProperty)
setUseLinkProperty
in class ResourcePropertyComparator
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice