import java.util.Collection; import java.util.Map; public interface Scheduler { Map schedule(Collection tasks); }