AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

java.lang.Object
com.android.tradefed.device.server.AllocationInfo.AllocationSorter


Краткое содержание

Публичные конструкторы

AllocationSorter ()

Публичные методы

int compare ( AllocationInfo o1, AllocationInfo o2)
AllocationInfo.SortMode getSortMode ()
boolean isDescending ()
void setSortMode ( AllocationInfo.SortMode mode, boolean descending)
void setSortMode ( AllocationInfo.SortMode mode)

Публичные конструкторы

Сортировщик распределения

public AllocationSorter ()

Публичные методы

сравнивать

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Параметры
o1 AllocationInfo

o2 AllocationInfo

Возврат
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Возврат
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Возврат
boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode, 
                boolean descending)

Параметры
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Параметры
mode AllocationInfo.SortMode