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