edu.washington.cs.sounddetector.server.api.method
Class Train
java.lang.Object
edu.washington.cs.sounddetector.server.api.method.Train
- All Implemented Interfaces:
- Method
public class Train
- extends Object
- implements Method
Train
public Train()
Train
public Train(String detectorId,
List<LabeledSound> data,
SoundFormat soundFormat)
setDetectorId
public void setDetectorId(String detectorId)
- Parameters:
detectorId
- the detectorId to set
setData
public void setData(List<LabeledSound> data)
- Parameters:
data
- the data to set
setSoundFormat
public void setSoundFormat(SoundFormat soundFormat)
- Parameters:
soundFormat
- the soundFormat to set
getDetectorId
public String getDetectorId()
- Returns:
- the detectorId
getData
public List<LabeledSound> getData()
- Returns:
- the data as an unmodifiable list
getSoundFormat
public SoundFormat getSoundFormat()
- Returns:
- the soundFormat
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.