~mordred/shotwell/add-picasa-import-support

« back to all changes in this revision

Viewing changes to src/SortedList.vala

  • Committer: jim
  • Date: 2009-07-28 02:39:59 UTC
  • Revision ID: svn-v4:3d32681d-0f36-45c0-afa7-64c43348dfec:shotwell/trunk:491
#441: Ubuntu packaging.  #460: Cross-compilation under Launchpad.  #461: Man page.  #462: Debian menu file.  
#530: Tarball provides top-level directory.  #538: configure.in -> configure.mk  #544: Proper "make distclean".  
#554: Makefile builds .tar.gz.  #572: Only require libgee 0.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    public abstract int64 compare(G a, G b);
9
9
}
10
10
 
11
 
public class SortedList<G> : Object, Gee.Iterable<G>, Gee.Collection<G>, Gee.List<G> {
 
11
public class SortedList<G> : Object, Gee.Iterable<G> {
12
12
    private Gee.List<G> list;
13
13
    private Comparator<G> cmp;
14
14
    
92
92
    public void remove_at(int index) {
93
93
        list.remove_at(index);
94
94
    }
95
 
    
96
 
    public Gee.List<G>? slice(int start, int stop) {
97
 
        return list.slice(start, stop);
98
 
    }
99
95
}
100
96
 
101
97