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