Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.common.collection
Interface ListMultimap<K,V>

Type Parameters:
  `K` - the key type
  `V` - the value type

All Superinterfaces:
  Multimap<K,V>

All Known Implementing Classes:
  ArrayListMultimap, LinkedListMultimap

    public interface ListMultimap<K,V>

extends Multimap<K,V>

A collection similar to `Map`, but which may associate multiple values with any single key.

Some implementation may not allow duplicate key-value pairs. In such implementations, calling #pu

Method Summary
`List<V>` | `get(K key)` Get the collection of values that are associated with the supplied key.

Methods inherited from interface org.modeshape.common.collection.Multimap
`asMap, clear, containsEntry, containsKey, containsValue, entries, isEmpty, keySet, put, remove, removeAll, size, values`

Method Detail

### get

    List<V> get(K key)

  Get the collection of values that are associated with the supplied key.

  Changes to the returned collection will update the values that this multimap associates with the key.

  Specified by:
    `get` in interface `Multimap<K,V>`
  Parameters:
    `key` - the key
  Returns:
    the collection of values, or an empty collection if the supplied key was not associated with any values

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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