Home
last modified time | relevance | path

Searched refs:comparators (Results 1 – 1 of 1) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSort.java91 public WithPriority(Comparator<T>... comparators) { in WithPriority() argument
92 mComparators = Arrays.asList(comparators); in WithPriority()
101 public WithPriority(List<Comparator<T>> comparators) { in WithPriority() argument
102 mComparators = comparators; in WithPriority()
124 public static <T> Comparator<T> withPriority(Comparator<T>... comparators) { in withPriority() argument
125 return new WithPriority(comparators); in withPriority()
138 List<Comparator<AhatInstance>> comparators = new ArrayList<Comparator<AhatInstance>>(); in defaultInstanceCompare() local
143 comparators.add(new InstanceByHeapRetainedSize(appHeap)); in defaultInstanceCompare()
147 comparators.add(INSTANCE_BY_TOTAL_RETAINED_SIZE); in defaultInstanceCompare()
148 return new WithPriority<AhatInstance>(comparators); in defaultInstanceCompare()
[all …]