/guava/guava/src/com/google/common/collect/Serialization.java
stream.writeInt( entry.getCount( ) ) ; stream.writeObject( entry.getElement( ) ) ;for ( Multiset.Entry<E> entry : multiset.entrySet( ) ) {
for ( Multiset.Entry<E> entry : multiset.entrySet ( ) ) { stream.writeObject ( entry.getElement ( ) ) ; stream.writeInt ( entry.getCount ( ) ) ;
} } static <E extends @Nullable Object> void writeMultiset( Multiset<E> multiset, ObjectOutputStream stream) throws IOException { int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); <extra_id_0> } } static <E extends @Nullable Object> void populateMultiset( Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException { int distinctElements = stream.readInt(); populateMultiset(multiset, stream, distinctElements);