edu.washington.cs.sounddetector.server.api.object
Class SoundMap

java.lang.Object
  extended by edu.washington.cs.sounddetector.server.api.object.SoundMap

public class SoundMap
extends Object


Constructor Summary
SoundMap(Map<SoundClass,List<Long>> soundList)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<SoundClass,List<Long>>> entrySet()
           
 boolean equals(Object o)
           
 List<Long> get(Object key)
           
 Map<SoundClass,List<Long>> getSoundMap()
           
 int hashCode()
           
 boolean isEmpty()
           
 Set<SoundClass> keySet()
           
 List<Long> put(SoundClass key, List<Long> value)
           
 void putAll(Map<? extends SoundClass,? extends List<Long>> m)
           
 List<Long> remove(Object key)
           
 int size()
           
 Collection<List<Long>> values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundMap

public SoundMap(Map<SoundClass,List<Long>> soundList)
Method Detail

getSoundMap

public Map<SoundClass,List<Long>> getSoundMap()

size

public int size()
Returns:
See Also:
Map.size()

isEmpty

public boolean isEmpty()
Returns:
See Also:
Map.isEmpty()

containsKey

public boolean containsKey(Object key)
Parameters:
key -
Returns:
See Also:
Map.containsKey(java.lang.Object)

containsValue

public boolean containsValue(Object value)
Parameters:
value -
Returns:
See Also:
Map.containsValue(java.lang.Object)

get

public List<Long> get(Object key)
Parameters:
key -
Returns:
See Also:
Map.get(java.lang.Object)

put

public List<Long> put(SoundClass key,
                      List<Long> value)
Parameters:
key -
value -
Returns:
See Also:
Map.put(java.lang.Object, java.lang.Object)

remove

public List<Long> remove(Object key)
Parameters:
key -
Returns:
See Also:
Map.remove(java.lang.Object)

putAll

public void putAll(Map<? extends SoundClass,? extends List<Long>> m)
Parameters:
m -
See Also:
Map.putAll(java.util.Map)

clear

public void clear()
See Also:
Map.clear()

keySet

public Set<SoundClass> keySet()
Returns:
See Also:
Map.keySet()

values

public Collection<List<Long>> values()
Returns:
See Also:
Map.values()

entrySet

public Set<Map.Entry<SoundClass,List<Long>>> entrySet()
Returns:
See Also:
Map.entrySet()

equals

public boolean equals(Object o)
Overrides:
equals in class Object
Parameters:
o -
Returns:
See Also:
Map.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Returns:
See Also:
Map.hashCode()


Copyright © 2012. All Rights Reserved.