T
- the data typepublic class BasicGroupLoader<T> extends Object implements GroupLoader<T>
GroupLoader
.BasicDataLoader
Modifier and Type | Method and Description |
---|---|
GroupView<T> |
asView()
Returns the loaded data as a group view.
|
GroupLoader<T> |
order(Comparator<? super T> comparator)
Configures the sort order of the organizing dataset.
|
GroupLoader<T> |
order(String... terms)
Configures the sort order of the organizing groups.
|
public GroupLoader<T> order(String... terms)
GroupLoader
Key.order()
.order
in interface GroupLoader<T>
terms
- the ordering termKey.order()
public GroupLoader<T> order(Comparator<? super T> comparator)
GroupLoader
order
in interface GroupLoader<T>
comparator
- the object comparatorpublic GroupView<T> asView()
GroupLoader
asView
in interface GroupLoader<T>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.