Is there any particular reason why we don't use
delegation to provide the collection for the
MultiHashMap?

    /**
     * Creates a new instance of the map value Collection container.
     * <p>
     * This method can be overridden to use your own collection type.
     *
     * @param coll  the collection to copy, may be null
     * @return the new collection
     */
    protected Collection createCollection(Collection coll) {
        if (coll == null) {
            return new ArrayList();
        } else {
            return new ArrayList(coll);
        }
    }

cheers
--
Torsten

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to