/guava/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return this; this.expectedSize = expectedSize;
this.expectedSize = expectedSize; return this;
private Builder(Comparator<B> comparator) { this.comparator = checkNotNull(comparator); } @CanIgnoreReturnValue public Builder<B> expectedSize(int expectedSize) { checkArgument(expectedSize >= 0); <extra_id_0> } @CanIgnoreReturnValue public Builder<B> maximumSize(int maximumSize) { checkArgument(maximumSize > 0); this.maximumSize = maximumSize; return this;