Searched refs:comparators (Results 1 – 1 of 1) sorted by relevance
91 public WithPriority(Comparator<T>... comparators) { in WithPriority() argument92 mComparators = Arrays.asList(comparators); in WithPriority()101 public WithPriority(List<Comparator<T>> comparators) { in WithPriority() argument102 mComparators = comparators; in WithPriority()124 public static <T> Comparator<T> withPriority(Comparator<T>... comparators) { in withPriority() argument125 return new WithPriority(comparators); in withPriority()138 List<Comparator<AhatInstance>> comparators = new ArrayList<Comparator<AhatInstance>>(); in defaultInstanceCompare() local143 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 …]