Generalized one-sided shifts and maps of the interval