toggle menu
kollectivequery
JVM
switch theme
search in API
kollectivequery
/
no.acntech.kollectiveq
/
Sorting
Sorting
data
class
Sorting
(
val
criteria
:
MutableList
<
Sorting.SortCriterion
>
=
mutableListOf()
)
(
source
)
Sorting class for building sort criteria from a string.
Members
Constructors
Sorting
Link copied to clipboard
constructor
(
criteria
:
MutableList
<
Sorting.SortCriterion
>
=
mutableListOf()
)
Types
Companion
Link copied to clipboard
object
Companion
Direction
Link copied to clipboard
enum
Direction
:
Enum
<
Sorting.Direction
>
Sort
Criterion
Link copied to clipboard
data
class
SortCriterion
(
val
field
:
String
,
val
direction
:
Sorting.Direction
)
Properties
criteria
Link copied to clipboard
val
criteria
:
MutableList
<
Sorting.SortCriterion
>
Functions
accept
Link copied to clipboard
fun
accept
(
visitor
:
SortingVisitor
)
as
String
Link copied to clipboard
fun
asString
(
)
:
String
to
Http
Query
Parameter
Link copied to clipboard
fun
toHttpQueryParameter
(
)
:
String