com.ideanest.util
Class CountingBagMultiMap

java.lang.Object
  |
  +--com.ideanest.util.AbstractMultiMap
        |
        +--com.ideanest.util.CollectionValuedMultiMap
              |
              +--com.ideanest.util.WrapperMultiMap
                    |
                    +--com.ideanest.util.CountingBagMultiMap
All Implemented Interfaces:
MultiMap, java.io.Serializable

public class CountingBagMultiMap
extends WrapperMultiMap

Insert the type's description here.

Version:
1.1, 2002-06-02
Author:
Piotr Kaminski (piotr@ideanest.com)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.ideanest.util.CollectionValuedMultiMap
CollectionValuedMultiMap.ClonedCollectionFactory, CollectionValuedMultiMap.CollectionFactory
 
Nested classes inherited from class com.ideanest.util.MultiMap
MultiMap.Entry
 
Constructor Summary
CountingBagMultiMap()
           
CountingBagMultiMap(java.util.Map base)
           
 
Method Summary
 boolean add(java.lang.Object key, java.lang.Object value, int n)
           
 java.util.Set getSet(java.lang.Object key)
           
 int remove(java.lang.Object key, java.lang.Object value, int n)
           
 
Methods inherited from class com.ideanest.util.WrapperMultiMap
add, clear, entrySet, get, getDeleteEmptyKeys, keySet, remove, remove, setDeleteEmptyKeys, size, toString
 
Methods inherited from class com.ideanest.util.AbstractMultiMap
addAll, addAll, contains, containsKey, containsValue, equals, hashCode, isEmpty, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountingBagMultiMap

public CountingBagMultiMap()

CountingBagMultiMap

public CountingBagMultiMap(java.util.Map base)
Method Detail

add

public boolean add(java.lang.Object key,
                   java.lang.Object value,
                   int n)

getSet

public java.util.Set getSet(java.lang.Object key)

remove

public int remove(java.lang.Object key,
                  java.lang.Object value,
                  int n)