Clases collector,Interval