com.android.ddmlib
Class AllocationInfo.AllocationSorter
java.lang.Object
com.android.ddmlib.AllocationInfo.AllocationSorter
- All Implemented Interfaces:
- java.util.Comparator<AllocationInfo>
- Enclosing class:
- AllocationInfo
public static final class AllocationInfo.AllocationSorter
- extends java.lang.Object
- implements java.util.Comparator<AllocationInfo>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
AllocationInfo.AllocationSorter
public AllocationInfo.AllocationSorter()
setSortMode
public void setSortMode(@NonNull
AllocationInfo.SortMode mode)
setSortMode
public void setSortMode(@NonNull
AllocationInfo.SortMode mode,
boolean descending)
getSortMode
@NonNull
public AllocationInfo.SortMode getSortMode()
isDescending
public boolean isDescending()
compare
public int compare(AllocationInfo o1,
AllocationInfo o2)
- Specified by:
compare
in interface java.util.Comparator<AllocationInfo>