/guava/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
result = Math.max( lastElementAt, initialSize) ;
result = Math.max ( result, initialSize ) ;
int result = (configuredExpectedSize == Builder.UNSET_EXPECTED_SIZE) ? DEFAULT_CAPACITY : configuredExpectedSize; if (initialContents instanceof Collection) { int initialSize = ((Collection<?>) initialContents).size(); <extra_id_0> } return capAtMaximumSize(result, maximumSize); } private void growIfNeeded() { if (size > queue.length) { int newCapacity = calculateNewCapacity();