it.tidalwave.util
Class TypeSafeHashMultiMap
java.lang.Object
it.tidalwave.util.TypeSafeHashMultiMap
- All Implemented Interfaces:
- TypeSafeMultiMap, Serializable, Iterable<Collection<? extends Object>>
@Immutable
public class TypeSafeHashMultiMap
- extends Object
- implements TypeSafeMultiMap, Serializable
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
TypeSafeHashMultiMap
public TypeSafeHashMultiMap(@Nonnull
Map<Key<?>,Collection<?>> map)
get
@Nonnull
public <T> Collection<T> get(@Nonnull
Key<T> key)
-
- Specified by:
get
in interface TypeSafeMultiMap
containsKey
public boolean containsKey(@Nonnull
Key<?> key)
-
- Specified by:
containsKey
in interface TypeSafeMultiMap
getKeys
@Nonnull
public Set<Key<?>> getKeys()
-
- Specified by:
getKeys
in interface TypeSafeMultiMap
getSize
@Nonnegative
public int getSize()
-
- Specified by:
getSize
in interface TypeSafeMultiMap
iterator
@Nonnull
public Iterator<Collection<?>> iterator()
-
- Specified by:
iterator
in interface Iterable<Collection<? extends Object>>
asMap
@Nonnull
public Map<Key<?>,Collection<?>> asMap()
-
- Specified by:
asMap
in interface TypeSafeMultiMap
toString
@Nonnull
public String toString()
-
- Overrides:
toString
in class Object
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.