AllocationInfo.AllocationSorter

public static final class AllocationInfo.AllocationSorter
extends Object

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


Résumé

Constructeurs publics

AllocationSorter()

Méthodes publiques

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

Constructeurs publics

AllocationSorter

public AllocationSorter ()

Méthodes publiques

comparer

public int compare (AllocationInfo o1, 
                AllocationInfo o2)

Paramètres
o1 AllocationInfo

o2 AllocationInfo

Renvoie
int

getSortMode

public AllocationInfo.SortMode getSortMode ()

Renvoie
AllocationInfo.SortMode

isDescending

public boolean isDescending ()

Renvoie
boolean

setSortMode

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

Paramètres
mode AllocationInfo.SortMode

descending boolean

setSortMode

public void setSortMode (AllocationInfo.SortMode mode)

Paramètres
mode AllocationInfo.SortMode