public abstract class Sort extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Sort.SortBuilder
SortBuilder is a helper class with fluent API for constructing sort order
lists.
|
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
static Sort.SortBuilder |
asc(String by)
Creates a new sort builder with given sorting using ascending sort
direction.
|
static Sort.SortBuilder |
desc(String by)
Creates a new sort builder with given sorting using descending sort
direction.
|
public static Sort.SortBuilder asc(String by)
by
- the object to sort bypublic static Sort.SortBuilder desc(String by)
by
- the object to sort byCopyright © 2020 Vaadin Ltd. All rights reserved.