AllocationInfo.AllocationSorter

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

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


Özet

Herkese açık oluşturucular

AllocationSorter()

Herkese açık yöntemler

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

Herkese açık oluşturucular

AllocationSorter

public AllocationSorter ()

Herkese açık yöntemler

karşılaştır

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Parametreler
o1 AllocationInfo

o2 AllocationInfo

İadeler
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

İadeler
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

İadeler
boolean

setSortMode

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

Parametreler
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Parametreler
mode AllocationInfo.SortMode