All Downloads are FREE. Search and download functionalities are using the official Maven repository.

angry1980.audio.dao.TrackHashDAOFakeImpl Maven / Gradle / Ivy

There is a newer version: 0.0.10
Show newest version
package angry1980.audio.dao;

import angry1980.audio.model.TrackHash;

import java.util.Collections;
import java.util.List;
import java.util.Optional;

public class TrackHashDAOFakeImpl implements TrackHashDAO {
    @Override
    public Optional create(TrackHash hash) {
        return Optional.of(hash);
    }

    @Override
    public List findByHash(long hash) {
        return Collections.emptyList();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy