~ubuntu-branches/ubuntu/hardy/vala/hardy

« back to all changes in this revision

Viewing changes to gee/hashset.vala

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge, Marc-Andre Lureau, Sebastian Dröge
  • Date: 2007-10-15 14:37:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071015143751-zy7hqcyjutdyfkg3
Tags: 0.1.4-1
[ Marc-Andre Lureau ]
* New Upstream Version
* debian/patches:
  + Remove patch no longer needed in 0.1.4
* debian/rules
  + Add xsltproc build dependency for the Vala manual.
  + Add libenchant-dev build dependency for enchant test case.
* debian/control, debian/vala-doc.install:
  + Add a "vala-doc" documentation package.

[ Sebastian Dröge ]
* debian/control:
  + Let vala-doc suggest valac/devhelp and don't depend on libvala0.
* debian/libvala-dev.install:
  + Add the new vapicheck utility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * This library is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU Lesser General Public
9
9
 * License as published by the Free Software Foundation; either
10
 
 * version 2 of the License, or (at your option) any later version.
 
10
 * version 2.1 of the License, or (at your option) any later version.
11
11
 
12
12
 * This library is distributed in the hope that it will be useful,
13
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
27
/**
28
28
 * Hashtable implementation of the Set interface.
29
29
 */
30
 
public class Gee.HashSet<G> : Iterable<G>, Collection<G>, Set<G> {
 
30
public class Gee.HashSet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
31
31
        public int size {
32
32
                get { return _nnodes; }
33
33
        }
146
146
                clear ();
147
147
        }
148
148
 
149
 
        [ReferenceType]
150
 
        private struct Node<G> {
 
149
        private class Node<G> {
151
150
                public G key;
152
151
                public Node<G> next;
153
152
                public uint key_hash;
158
157
                }
159
158
        }
160
159
 
161
 
        private class Iterator<G> : Gee.Iterator<G> {
 
160
        private class Iterator<G> : Object, Gee.Iterator<G> {
162
161
                public HashSet<G> set {
163
162
                        set {
164
163
                                _set = value;