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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayListMultiMap
public ArrayListMultiMap()
ArrayListMultiMap
public ArrayListMultiMap(int size)
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>
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2010 Stanford University.