Returns a new iterator that allows iterating the entries of this sort.
An iterator over the attribute/order pairs.
Appends the specified attribute to this sort.
The attribute name.
The sort order.
This instance.
Gets the attribute/order pair at the specified index.
The position in this sort.
The attribute/order pair at the specified index, or null
if it doesn't exist.
Compares the specified objects, according to the current sort attributes.
The first object to compare.
The second object to compare.
A value indicating the relationship between the two objects.
Removes the specified attribute from this sort.
The attribute name.
Gets the order associated with the specified attribute.
The attribute name.
The order associated with the specified attribute, or null
if the attribute doesn't exist.
Gets the icon corresponding to the specified attribute.
The attribute name.
The icon corresponding to the specified attribute.
Returns a value indicating whether the specified attribute exists in this sort.
The attribute name.
true
if the specified attribute exists in this sort, otherwise false
.
Gets the index of the specified attribute in the underlying list.
The attribute name.
The index of the specified attribute, or -1
if the attribute is not found.
Prepends the specified attribute to this sort.
The attribute name.
The sort order.
This instance.
Returns a value indicating whether the current sort satisfies the specified conditions.
The conditions to satisfy.
true
if the current sort satisfies the specified conditions, otherwise false
.
Sets the order of the specified attribute.
The attribute name.
The sort order.
This instance.
Returns a JSON representation of this object.
The JSON representation of this object.
Converts this sort to an SQL clause.
A function used to escape the SQL identifiers.
The SQL clause corresponding to this object.
Returns a string representation of this object.
The string representation of this object.
Static
ofStatic
parseCreates a new sort from the specified string.
A string representing a sort.
The sort corresponding to the specified string.
Represents information relevant to the sorting of data items.