/*
* Copyright (c) 2018 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*/
This package contains implementations of the BagMultimap
interface. A BagMultimap
is a type of Multimap
that uses a Bag as its underlying store for the multiple values of a given key.
This package contains the following implementations:
-
HashBagMultimap
- a MutableBagMultimap
which uses a HashBag
as its underlying store for the multiple values of a given key.
-
ImmutableBagMultimapImpl
- the default ImmutableBagMultimap
implementation.
-
SynchronizedPutHashBagMultimap
- a MutableBagMultimap
that is optimized for parallel writes, but is not protected for concurrent reads.
/**
* This package contains implementations of the {@link org.eclipse.collections.api.multimap.bag.BagMultimap} interface.
* <p>
* A {@link org.eclipse.collections.api.multimap.bag.BagMultimap} is a type of {@code Multimap} that uses a Bag as its underlying store for the multiple values of a given key.
* <p>
* This package contains the following implementations:
* <ul>
* <li>
* {@link org.eclipse.collections.impl.multimap.bag.HashBagMultimap} - a {@code MutableBagMultimap} which uses a {@link org.eclipse.collections.impl.bag.mutable.HashBag} as its underlying store for the multiple values of a given key.
* </li>
* <li>
* {@link org.eclipse.collections.impl.multimap.bag.ImmutableBagMultimapImpl} - the default {@code ImmutableBagMultimap} implementation.
* </li>
* <li>
* {@link org.eclipse.collections.impl.multimap.bag.SynchronizedPutHashBagMultimap} - a {@code MutableBagMultimap} that is optimized for parallel writes, but is not protected for concurrent reads.
* </li>
* </ul>
*/
package org.eclipse.collections.impl.multimap.bag;