ImmutableMultiset static methods that lack ImmutableSortedMultiset equivalents with deprecated, exception-throwing versions. This prevents
accidents like the following:
List<Object> objects = ...;
// Sort them:
Set<Object> sorted = ImmutableSortedMultiset.copyOf(objects);
// BAD CODE! The returned multiset is actually an unsorted ImmutableMultiset!
While we could put the overrides in ImmutableSortedMultiset itself, it seems clearer
to separate these "do not call" methods from those intended for normal use.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| ImmutableSortedMultisetFauxverideShim | back to summary |
|---|---|
| pack-priv ImmutableSortedMultisetFauxverideShim() | |
| builder | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset. Hides com. Deprecated Use Not supported. Use
| |
| copyOf | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass parameters of type Not supported. You are attempting to create a multiset that may contain non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass a parameter of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass the parameters of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass the parameters of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass the parameters of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass the parameters of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| of | back to summary |
|---|---|
| public static <E> ImmutableSortedMultiset Hides com. Deprecated Pass the parameters of type Not supported. You are attempting to create a multiset that may contain a non-
| |
| toImmutableMultiset | back to summary |
|---|---|
| public static <E> Collector Hides com. Deprecated Not supported. Use
| |
| toImmutableMultiset | back to summary |
|---|---|
| public static <T extends @Nullable Object, E> Collector Hides com. Deprecated Not supported. Use
| |