اطلاعات تخصیص. مرتب‌ساز تخصیص

public static final class AllocationInfo.AllocationSorter
extends 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)

سازندگان عمومی

مرتب‌ساز تخصیص

public AllocationSorter ()

روش‌های عمومی

مقایسه

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

پارامترها
o1 AllocationInfo

o2 AllocationInfo

بازگشت‌ها
int

حالت مرتب‌سازی

public AllocationInfo.SortMode getSortMode ()

بازگشت‌ها
AllocationInfo.SortMode

نزولی است

public boolean isDescending ()

بازگشت‌ها
boolean

حالت مرتب‌سازی

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

پارامترها
mode AllocationInfo.SortMode

descending boolean

حالت مرتب‌سازی

public void setSortMode (AllocationInfo.SortMode mode)

پارامترها
mode AllocationInfo.SortMode