public class PagesIndexPageSorter extends Object implements PageSorter
| Constructor and Description |
|---|
PagesIndexPageSorter(PagesIndex.Factory pagesIndexFactory) |
| Modifier and Type | Method and Description |
|---|---|
int |
decodePageIndex(long address) |
int |
decodePositionIndex(long address) |
long[] |
sort(List<Type> types,
List<Page> pages,
List<Integer> sortChannels,
List<SortOrder> sortOrders,
int expectedPositions) |
@Inject public PagesIndexPageSorter(PagesIndex.Factory pagesIndexFactory)
public long[] sort(List<Type> types, List<Page> pages, List<Integer> sortChannels, List<SortOrder> sortOrders, int expectedPositions)
sort in interface PageSorterpublic int decodePageIndex(long address)
decodePageIndex in interface PageSorterpublic int decodePositionIndex(long address)
decodePositionIndex in interface PageSorterCopyright © 2012–2019. All rights reserved.