GNOME Bugzilla – Bug 589894
List interface enhancement
Last modified: 2009-07-31 16:20:03 UTC
New methods for list: - first - first element is returned - last - last element is returned - insert_all - insert into list a collection at specified index
Created attachment 139290 [details] [review] 0002-Added-to-list-interface-methods-first-last-insert_al.patch
Tomaz, ReadOnlyList should just called the methods of the wrapped list (_list.first () and _list.last ()) Also, I would prefer that you split that in two commits: - One introducing AbstractList - Another enhancing the List interface and introducing the implementations If you are OK with that and don't have time to do it, I can do it.
commit d74a1a126c947026898e7e7446e3ef8b9637a16c Author: Toma<C5><BE> Vajngerl <quikee@gmail.com> Date: Sun Jul 26 12:33:49 2009 +0200 Add List.first|last|insert_all methods and AbstractList implementations Fixes bug 589894.