Code example for ObjectInput

Methods: readObject

0
        } 
 
        @Override 
        public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExceptionthis.comparator = (Comparator<? super V>) in.readObject();
            super.readExternal(in);
        } 
 
        @Override 
        protected AbstractMutableMultimap<K, V, MutableSortedSet<V>> createEmptyMutableMultimap() 
        { 
            return new TreeSortedSetMultimap<K, V>(this.comparator);
        } 
    } 
 
    @Override 
    public ImmutableSortedSetMultimap<K, V> newWith(K key, V value)
    { 
        return (ImmutableSortedSetMultimap<K, V>) super.newWith(key, value);
Experience pair programming with AI  Get Codota for Java