AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object implements Comparator< AllocationInfo >

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)

Государственные строители

AllocationSorter

public AllocationSorter ()

Общедоступные методы

сравнивать

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Параметры
o1 AllocationInfo

o2 AllocationInfo

Возвраты
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Возвраты
AllocationInfo.SortMode

нисходящий

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