AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

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


Tóm tắt

Hàm khởi tạo công khai

AllocationSorter()

Phương thức công khai

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

Hàm khởi tạo công khai

AllocationSorter

public AllocationSorter ()

Phương thức công khai

so sánh

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Tham số
o1 AllocationInfo

o2 AllocationInfo

Giá trị trả về
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Giá trị trả về
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Giá trị trả về
boolean

setSortMode

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

Tham số
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Tham số
mode AllocationInfo.SortMode