AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

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


Zusammenfassung

Öffentliche Konstruktoren

AllocationSorter()

Öffentliche Methoden

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

Öffentliche Konstruktoren

AllocationSorter

public AllocationSorter ()

Öffentliche Methoden

Vergleichen

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Parameter
o1 AllocationInfo

o2 AllocationInfo

Returns
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Returns
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Returns
boolean

setSortMode

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

Parameter
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Parameter
mode AllocationInfo.SortMode