Returns an immutable multiset entry with the specified element and count. The entry will be serializable if e is. @param e the element to be associated with the returned entry @param n the count to be associated with the returned entry @throws IllegalArgumentException if n is negati
(@Nullable E e, int n)
| 225 | |
| 226 | |
| 227 | public static <E> Multiset.Entry<E> immutableEntry(@Nullable E e, int n) { |
| 228 | return new ImmutableEntry<E>(e, n); |
| 229 | } |
| 230 | |
| 231 | static class ImmutableEntry<E> extends AbstractEntry<E> |
| 232 | implements Serializable { |
no outgoing calls
no test coverage detected