public static final class AllocationInfo.AllocationSorter extends java.lang.Object implements java.util.Comparator<AllocationInfo>
| Constructor and Description |
|---|
AllocationSorter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(AllocationInfo o1,
AllocationInfo o2) |
AllocationInfo.SortMode |
getSortMode() |
boolean |
isDescending() |
void |
setSortMode(AllocationInfo.SortMode mode) |
void |
setSortMode(AllocationInfo.SortMode mode,
boolean descending) |
public void setSortMode(@NonNull
AllocationInfo.SortMode mode)
public void setSortMode(@NonNull
AllocationInfo.SortMode mode,
boolean descending)
@NonNull public AllocationInfo.SortMode getSortMode()
public boolean isDescending()
public int compare(AllocationInfo o1, AllocationInfo o2)
compare in interface java.util.Comparator<AllocationInfo>