List with generic and iterator.