AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

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


Podsumowanie

Publiczne konstruktory

AllocationSorter()

Metody publiczne

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

Publiczne konstruktory

AllocationSorter

public AllocationSorter ()

Metody publiczne

compare

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Parametry
o1 AllocationInfo

o2 AllocationInfo

Zwroty
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Zwroty
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Zwroty
boolean

setSortMode

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

Parametry
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Parametry
mode AllocationInfo.SortMode