Order

com.alecdorrington.eunomia.model.Order
See theOrder companion object
final case class Order(field: String, descending: Boolean = ...)

A key a list is ordered by. A list is ordered by a sequence of these, each breaking the ties left by those before it. Items with no value for the field come last, in either direction.

Value parameters

descending

Whether the greatest values come first.

field

The name of the field ordered by.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

The same key in the opposite direction.

The same key in the opposite direction.

Attributes

def text: String

The key as written in an order parameter, with - if descending.

The key as written in an order parameter, with - if descending.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product