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)

公用建構函式

AllocationSorter

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