angry1980.audio.similarity.TracksToCalculateImpl Maven / Gradle / Ivy
package angry1980.audio.similarity;
import angry1980.audio.dao.TrackDAO;
import angry1980.audio.model.Track;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.Observable;
import java.util.Objects;
public class TracksToCalculateImpl implements TracksToCalculate {
private static Logger LOG = LoggerFactory.getLogger(TracksToCalculateImpl.class);
private TrackDAO trackDAO;
public TracksToCalculateImpl(TrackDAO trackDAO) {
this.trackDAO = Objects.requireNonNull(trackDAO);
}
@Override
public Observable