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