|
22 | 22 | import static com.google.common.collect.CollectPreconditions.checkRemove;
|
23 | 23 | import static java.util.Objects.requireNonNull;
|
24 | 24 |
|
25 |
| -import com.google.common.annotations.Beta; |
26 | 25 | import com.google.common.annotations.GwtCompatible;
|
27 | 26 | import com.google.common.base.Objects;
|
28 | 27 | import com.google.common.base.Predicate;
|
@@ -199,7 +198,6 @@ public boolean setCount(@ParametricNullness E element, int oldCount, int newCoun
|
199 | 198 | * @return an unmodifiable view of the multiset
|
200 | 199 | * @since 11.0
|
201 | 200 | */
|
202 |
| - @Beta |
203 | 201 | public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
|
204 | 202 | SortedMultiset<E> sortedMultiset) {
|
205 | 203 | // it's in its own file so it can be emulated for GWT
|
@@ -274,7 +272,6 @@ public ImmutableEntry<E> nextInBucket() {
|
274 | 272 | *
|
275 | 273 | * @since 14.0
|
276 | 274 | */
|
277 |
| - @Beta |
278 | 275 | public static <E extends @Nullable Object> Multiset<E> filter(
|
279 | 276 | Multiset<E> unfiltered, Predicate<? super E> predicate) {
|
280 | 277 | if (unfiltered instanceof FilteredMultiset) {
|
@@ -381,7 +378,6 @@ static int inferDistinctElements(Iterable<?> elements) {
|
381 | 378 | *
|
382 | 379 | * @since 14.0
|
383 | 380 | */
|
384 |
| - @Beta |
385 | 381 | public static <E extends @Nullable Object> Multiset<E> union(
|
386 | 382 | final Multiset<? extends E> multiset1, final Multiset<? extends E> multiset2) {
|
387 | 383 | checkNotNull(multiset1);
|
@@ -511,7 +507,6 @@ protected Entry<E> computeNext() {
|
511 | 507 | *
|
512 | 508 | * @since 14.0
|
513 | 509 | */
|
514 |
| - @Beta |
515 | 510 | public static <E extends @Nullable Object> Multiset<E> sum(
|
516 | 511 | final Multiset<? extends E> multiset1, final Multiset<? extends E> multiset2) {
|
517 | 512 | checkNotNull(multiset1);
|
@@ -589,7 +584,6 @@ protected Entry<E> computeNext() {
|
589 | 584 | *
|
590 | 585 | * @since 14.0
|
591 | 586 | */
|
592 |
| - @Beta |
593 | 587 | public static <E extends @Nullable Object> Multiset<E> difference(
|
594 | 588 | final Multiset<E> multiset1, final Multiset<?> multiset2) {
|
595 | 589 | checkNotNull(multiset1);
|
@@ -1143,7 +1137,6 @@ static int linearTimeSizeImpl(Multiset<?> multiset) {
|
1143 | 1137 | *
|
1144 | 1138 | * @since 11.0
|
1145 | 1139 | */
|
1146 |
| - @Beta |
1147 | 1140 | public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
|
1148 | 1141 | Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray(new Entry[0]);
|
1149 | 1142 | Arrays.sort(entries, DecreasingCount.INSTANCE);
|
|
0 commit comments