com.android.ddmlib
Class AllocationInfo.AllocationSorter

java.lang.Object
  extended by com.android.ddmlib.AllocationInfo.AllocationSorter
All Implemented Interfaces:
Comparator<AllocationInfo>
Enclosing class:
AllocationInfo

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


Constructor Summary
AllocationInfo.AllocationSorter()
           
 
Method Summary
 int compare(AllocationInfo o1, AllocationInfo o2)
           
 AllocationInfo.SortMode getSortMode()
           
 boolean isDescending()
           
 void setSortMode(AllocationInfo.SortMode mode)
           
 
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
 

Constructor Detail

AllocationInfo.AllocationSorter

public AllocationInfo.AllocationSorter()
Method Detail

setSortMode

public void setSortMode(AllocationInfo.SortMode mode)

getSortMode

public AllocationInfo.SortMode getSortMode()

isDescending

public boolean isDescending()

compare

public int compare(AllocationInfo o1,
                   AllocationInfo o2)
Specified by:
compare in interface Comparator<AllocationInfo>


Copyright © 2008-2012. All Rights Reserved.