‫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

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