org.modeshape.common.collection

## Class AbstractMultimap.WrappedMap

- java.lang.Object
- - java.util.AbstractMap<K,Collection<V>>
  - - org.modeshape.common.collection.AbstractMultimap.WrappedMap

- All Implemented Interfaces:
    Map<K,Collection<V>>
  Enclosing class:
    AbstractMultimap<K,V>

      protected class AbstractMultimap.WrappedMap
      extends AbstractMap<K,Collection<V>>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `AbstractMultimap.WrappedMap.WrappedEntrySet`
    `protected class` | `AbstractMultimap.WrappedMap.WrappedMapEntryIterator`

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractMultimap.WrappedMap(Map<K,Collection<V>> wrapped)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Map<K,Collection<V>>` | `delegate()`
    `Set<Map.Entry<K,Collection<V>>>` | `entrySet()`
    `boolean` | `equals(Object o)`
    `Collection<V>` | `get(Object key)`
    `int` | `hashCode()`
    `Collection<V>` | `remove(Object key)`
    `String` | `toString()`

    - ### Methods inherited from class java.util.AbstractMap

      `clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, size, values`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractMultimap.WrappedMap

          protected AbstractMultimap.WrappedMap(Map<K,Collection<V>> wrapped)

  - ### Method Detail

    - #### entrySet

          public Set<Map.Entry<K,Collection<V>>> entrySet()

      Specified by:
        `entrySet` in interface `Map<K,Collection<V>>`
      Specified by:
        `entrySet` in class `AbstractMap<K,Collection<V>>`

    - #### delegate

          protected Map<K,Collection<V>> delegate()

    - #### hashCode

          public int hashCode()

      Specified by:
        `hashCode` in interface `Map<K,Collection<V>>`
      Overrides:
        `hashCode` in class `AbstractMap<K,Collection<V>>`

    - #### equals

          public boolean equals(Object o)

      Specified by:
        `equals` in interface `Map<K,Collection<V>>`
      Overrides:
        `equals` in class `AbstractMap<K,Collection<V>>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractMap<K,Collection<V>>`

    - #### get

          public Collection<V> get(Object key)

      Specified by:
        `get` in interface `Map<K,Collection<V>>`
      Overrides:
        `get` in class `AbstractMap<K,Collection<V>>`

    - #### remove

          public Collection<V> remove(Object key)

      Specified by:
        `remove` in interface `Map<K,Collection<V>>`
      Overrides:
        `remove` in class `AbstractMap<K,Collection<V>>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.