AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

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


סיכום

‫constructors ציבוריים

AllocationSorter()

‫methods ציבוריים

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

Constructors ציבוריים

AllocationSorter

public AllocationSorter ()

‫methods ציבוריים

השוואה

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