Searched refs:maxHeap (Results 1 – 1 of 1) sorted by relevance
865 PriorityQueue<Pair<String, ConversationInfo>> maxHeap = new PriorityQueue<>( in cleanupCachedShortcuts() local875 maxHeap.offer(cached); in cleanupCachedShortcuts()876 if (maxHeap.size() > numToUncache) { in cleanupCachedShortcuts()877 maxHeap.poll(); in cleanupCachedShortcuts()880 while (!maxHeap.isEmpty()) { in cleanupCachedShortcuts()881 Pair<String, ConversationInfo> toUncache = maxHeap.poll(); in cleanupCachedShortcuts()