Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.util
Class ArrayListMultiMap<X,Y>

    java.lang.Object
      edu.stanford.smi.protege.util.MultiMap<X,Y>
          edu.stanford.smi.protege.util.ArrayListMultiMap<X,Y>

    public class ArrayListMultiMap<X,Y>

extends MultiMap<X,Y>

Multimap implementation where the value collection is a set.

Author:
  Ray Fergerson

Constructor Summary
`ArrayListMultiMap()`
`ArrayListMultiMap(int size)`

Method Summary
`List<Y>` | `createCollection()`
`List<Y>` | `getValues(X key)`
`List<Y>` | `removeKey(X key)`

Methods inherited from class edu.stanford.smi.protege.util.MultiMap
`addValue, addValues, clear, getKeys, removeValue, removeValues`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ArrayListMultiMap

    public ArrayListMultiMap()

### ArrayListMultiMap

    public ArrayListMultiMap(int size)

Method Detail

### createCollection

    public List<Y> createCollection()

  Specified by:
    `createCollection` in class `MultiMap<X,Y>`

### getValues

    public List<Y> getValues(X key)

  Overrides:
    `getValues` in class `MultiMap<X,Y>`

### removeKey

    public List<Y> removeKey(X key)

  Overrides:
    `removeKey` in class `MultiMap<X,Y>`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.