AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object implements Comparator<AllocationInfo>

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


Podsumowanie

Konstruktory publiczne

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)

Konstruktory publiczne

AllocationSorter

public AllocationSorter ()

Metody publiczne

porównaj

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Parametry
o1 AllocationInfo

o2 AllocationInfo

Zwraca
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Zwraca
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Zwraca
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