Creates new sort.
The list of properties to be sorted.
Returns a new iterator that allows iterating the entries of this sort.
An iterator over the sorted properties.
Appends the specified property to this sort.
The property name.
The sort direction.
This instance.
Gets the sorted property at the specified index.
The position in this sort.
The sorted property at the specified index, or null
if it doesn't exist.
Compares the specified objects, according to the current sort properties.
The first object to compare.
The second object to compare.
A value indicating the relationship between the two objects.
Removes the specified property from this sort.
The property name.
Gets the direction associated with the specified property.
The property name.
The direction associated with the specified property, or null
if the property doesn't exist.
Gets the icon corresponding to the specified property.
The property name.
The icon corresponding to the specified property.
Returns a value indicating whether the specified property exists in this sort.
The property name.
true
if the specified property exists in this sort, otherwise false
.
Gets the index of the specified property in the underlying list.
The property name.
The index of the specified property, or -1
if the property is not found.
Prepends the specified property to this sort.
The property name.
The sort direction.
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 direction of the specified property.
The property name.
The sort direction.
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
ofCreates a new sort from the specified property and direction.
The property name.
The sort direction.
The sort corresponding to the property and direction.
Static
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.