@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class SortOrder extends Object
FIXME: replace with the SDK's SortKey?
Constructor and Description |
---|
SortOrder(SortKey... sortKeys)
Creates a new sort order with the provided set of sort keys.
|
SortOrder(SortKey sortKey)
Creates a new sort order with a single key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether this sort order is equal to the provided
object.
|
SortKey[] |
getSortKeys()
Retrieves the sort keys for this sort order.
|
int |
hashCode()
Retrieves the hash code for this sort order.
|
String |
toString()
Retrieves a string representation of this sort order.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this sort order to the
provided buffer.
|
public SortOrder(SortKey sortKey)
sortKey
- The sort key to use in this sort order.public SortKey[] getSortKeys()
public void toString(StringBuilder buffer)
buffer
- The buffer to which the information should be
appended.public int hashCode()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.