API reference
API reference
Select your platform
No SDKs available
No versions available

FloatSortCriterion Class

Extends SortCriterion
Modifiers: final
Sort criterion based on float attribute.

Signature

class FloatSortCriterion(val attrId: Int) : SortCriterion

Constructors

FloatSortCriterion ( attrId ) : FloatSortCriterion
Signature
constructor(attrId: Int)
Parameters
attrId: Int
The attribute id to sort by.

Properties

attrId : Int
[Get]
Signature
val attrId: Int
propCode : Int
[Get][Set]
Signature
var propCode: Int
sortOption : Int
[Get][Set]
Signature
var sortOption: Int

Functions

asc () : SortCriterion
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
desc () : SortCriterion
function to set the sorting order to descending
Signature
fun desc(): SortCriterion
Did you find this page helpful?
Thumbs up icon
Thumbs down icon