public class ResourceComparator<T extends com.unboundid.scim2.common.ScimResource> extends Object implements Comparator<T>
| Constructor and Description |
|---|
ResourceComparator(com.unboundid.scim2.common.Path sortBy,
ResourceTypeDefinition resourceType)
Create a new ScimComparator that will sort in ascending order.
|
ResourceComparator(com.unboundid.scim2.common.Path sortBy,
com.unboundid.scim2.common.messages.SortOrder sortOrder,
ResourceTypeDefinition resourceType)
Create a new ScimComparator.
|
public ResourceComparator(com.unboundid.scim2.common.Path sortBy, ResourceTypeDefinition resourceType)
sortBy - The path to the attribute to sort by.resourceType - The resource type definition containing the schemas or
null to compare using case insensitive matching
for string values.public ResourceComparator(com.unboundid.scim2.common.Path sortBy, com.unboundid.scim2.common.messages.SortOrder sortOrder, ResourceTypeDefinition resourceType)
sortBy - The path to the attribute to sort by.sortOrder - The sort order.resourceType - The resource type definition containing the schemas or
null to compare using case insensitive matching
for string values.Copyright © 2015–2018 Ping Identity Corporation. All rights reserved.