edu.washington.cs.sounddetector.server.api.object
Class SoundClass
java.lang.Object
edu.washington.cs.sounddetector.server.api.object.SoundClass
public class SoundClass
- extends Object
SoundClass
public SoundClass()
SoundClass
public SoundClass(String soundClass,
int rgbColor)
- Parameters:
soundClass
- the class of the soundrgbColor
- the color for the class
getSoundClass
public String getSoundClass()
- Returns:
- the soundClass
setSoundClass
public void setSoundClass(String soundClass)
- Parameters:
soundClass
- the soundClass to set
getRgbColor
public int getRgbColor()
- Returns:
- the rgbColor, or -1 if no color has been set.
setRgbColor
public void setRgbColor(int rgbColor)
- Parameters:
rgbColor
- the rgbColor to set
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2012. All Rights Reserved.