libgee r8 - in trunk: . gee
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: libgee r8 - in trunk: . gee
- Date: Tue, 22 Jan 2008 10:59:37 +0000 (GMT)
Author: juergbi
Date: Tue Jan 22 10:59:37 2008
New Revision: 8
URL: http://svn.gnome.org/viewvc/libgee?rev=8&view=rev
Log:
2007-08-30 Juerg Billeter <j bitron ch>
* gee/arraylist.vala, gee/hashmap.vala, gee/hashset.vala,
gee/iterable.vala, gee/iterator.vala, gee/list.vala, gee/map.vala,
gee/readonlycollection.vala, gee/readonlylist.vala,
gee/readonlymap.vala, gee/readonlyset.vala: explicitly subtype
GLib.Object to support future versions of Vala
Modified:
trunk/ChangeLog
trunk/gee/arraylist.vala
trunk/gee/hashmap.vala
trunk/gee/hashset.vala
trunk/gee/iterable.vala
trunk/gee/iterator.vala
trunk/gee/list.vala
trunk/gee/map.vala
trunk/gee/readonlycollection.vala
trunk/gee/readonlylist.vala
trunk/gee/readonlymap.vala
trunk/gee/readonlyset.vala
Modified: trunk/gee/arraylist.vala
==============================================================================
--- trunk/gee/arraylist.vala (original)
+++ trunk/gee/arraylist.vala Tue Jan 22 10:59:37 2008
@@ -27,7 +27,7 @@
/**
* Arrays of arbitrary elements which grow automatically as elements are added.
*/
-public class Gee.ArrayList<G> : Iterable<G>, Collection<G>, List<G> {
+public class Gee.ArrayList<G> : Object, Iterable<G>, Collection<G>, List<G> {
public int size {
get { return _size; }
}
@@ -147,7 +147,7 @@
_items.resize (value);
}
- private class Iterator<G> : Gee.Iterator<G> {
+ private class Iterator<G> : Object, Gee.Iterator<G> {
public ArrayList<G> list {
set {
_list = value;
Modified: trunk/gee/hashmap.vala
==============================================================================
--- trunk/gee/hashmap.vala (original)
+++ trunk/gee/hashmap.vala Tue Jan 22 10:59:37 2008
@@ -27,7 +27,7 @@
/**
* Hashtable implementation of the Map interface.
*/
-public class Gee.HashMap<K,V> : Map<K,V> {
+public class Gee.HashMap<K,V> : Object, Map<K,V> {
public int size {
get { return _nnodes; }
}
@@ -179,7 +179,7 @@
}
}
- private class KeySet<K,V> : Iterable<K>, Collection<K>, Set<K> {
+ private class KeySet<K,V> : Object, Iterable<K>, Collection<K>, Set<K> {
public HashMap<K,V> map {
set { _map = value; }
}
@@ -216,7 +216,7 @@
}
}
- private class KeyIterator<K,V> : Iterator<K> {
+ private class KeyIterator<K,V> : Object, Iterator<K> {
public HashMap<K,V> map {
set {
_map = value;
@@ -252,7 +252,7 @@
}
}
- private class ValueCollection<K,V> : Iterable<V>, Collection<V> {
+ private class ValueCollection<K,V> : Object, Iterable<V>, Collection<V> {
public HashMap<K,V> map {
set { _map = value; }
}
@@ -293,7 +293,7 @@
}
}
- private class ValueIterator<K,V> : Iterator<V> {
+ private class ValueIterator<K,V> : Object, Iterator<V> {
public HashMap<K,V> map {
set {
_map = value;
Modified: trunk/gee/hashset.vala
==============================================================================
--- trunk/gee/hashset.vala (original)
+++ trunk/gee/hashset.vala Tue Jan 22 10:59:37 2008
@@ -27,7 +27,7 @@
/**
* Hashtable implementation of the Set interface.
*/
-public class Gee.HashSet<G> : Iterable<G>, Collection<G>, Set<G> {
+public class Gee.HashSet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
public int size {
get { return _nnodes; }
}
@@ -158,7 +158,7 @@
}
}
- private class Iterator<G> : Gee.Iterator<G> {
+ private class Iterator<G> : Object, Gee.Iterator<G> {
public HashSet<G> set {
set {
_set = value;
Modified: trunk/gee/iterable.vala
==============================================================================
--- trunk/gee/iterable.vala (original)
+++ trunk/gee/iterable.vala Tue Jan 22 10:59:37 2008
@@ -24,7 +24,7 @@
* Implemented by classes that support a simple iteration over instances of the
* collection.
*/
-public interface Gee.Iterable<G> {
+public interface Gee.Iterable<G> : GLib.Object {
/**
* Returns a Iterator that can be used for simple iteration over a
* collection.
Modified: trunk/gee/iterator.vala
==============================================================================
--- trunk/gee/iterator.vala (original)
+++ trunk/gee/iterator.vala Tue Jan 22 10:59:37 2008
@@ -24,7 +24,7 @@
* Implemented by classes that support a simple iteration over instances of the
* collection.
*/
-public interface Gee.Iterator<G> {
+public interface Gee.Iterator<G> : GLib.Object {
/**
* Advances to the next element in the iteration.
*
Modified: trunk/gee/list.vala
==============================================================================
--- trunk/gee/list.vala (original)
+++ trunk/gee/list.vala Tue Jan 22 10:59:37 2008
@@ -23,7 +23,7 @@
/**
* Represents a collection of items in a well-defined order.
*/
-public interface Gee.List<G> : GLib.Object, Collection<G> {
+public interface Gee.List<G> : Collection<G> {
/**
* Returns the item at the specified index in this list.
*
Modified: trunk/gee/map.vala
==============================================================================
--- trunk/gee/map.vala (original)
+++ trunk/gee/map.vala Tue Jan 22 10:59:37 2008
@@ -23,7 +23,7 @@
/**
* A map is a generic collection of key/value pairs.
*/
-public interface Gee.Map<K,V> {
+public interface Gee.Map<K,V> : GLib.Object {
/**
* The number of items in this map.
*/
Modified: trunk/gee/readonlycollection.vala
==============================================================================
--- trunk/gee/readonlycollection.vala (original)
+++ trunk/gee/readonlycollection.vala Tue Jan 22 10:59:37 2008
@@ -25,7 +25,7 @@
/**
* Represents a read-only collection of items.
*/
-public class Gee.ReadOnlyCollection<G> : Iterable<G>, Collection<G> {
+public class Gee.ReadOnlyCollection<G> : Object, Iterable<G>, Collection<G> {
public int size {
get { return _collection.size; }
}
@@ -69,7 +69,7 @@
assert_not_reached ();
}
- private class Iterator<G> : Gee.Iterator<G> {
+ private class Iterator<G> : Object, Gee.Iterator<G> {
public bool next () {
return false;
}
Modified: trunk/gee/readonlylist.vala
==============================================================================
--- trunk/gee/readonlylist.vala (original)
+++ trunk/gee/readonlylist.vala Tue Jan 22 10:59:37 2008
@@ -25,7 +25,7 @@
/**
* Represents a read-only collection of items in a well-defined order.
*/
-public class Gee.ReadOnlyList<G> : Iterable<G>, Collection<G>, List<G> {
+public class Gee.ReadOnlyList<G> : Object, Iterable<G>, Collection<G>, List<G> {
public int size {
get { return _list.size; }
}
@@ -97,7 +97,7 @@
assert_not_reached ();
}
- class Iterator<G> : Gee.Iterator<G> {
+ class Iterator<G> : Object, Gee.Iterator<G> {
public bool next () {
return false;
}
Modified: trunk/gee/readonlymap.vala
==============================================================================
--- trunk/gee/readonlymap.vala (original)
+++ trunk/gee/readonlymap.vala Tue Jan 22 10:59:37 2008
@@ -25,7 +25,7 @@
/**
* Represents a read-only collection of key/value pairs.
*/
-public class Gee.ReadOnlyMap<K,V> : Map<K,V> {
+public class Gee.ReadOnlyMap<K,V> : Object, Map<K,V> {
public int size {
get { return _map.size; }
}
Modified: trunk/gee/readonlyset.vala
==============================================================================
--- trunk/gee/readonlyset.vala (original)
+++ trunk/gee/readonlyset.vala Tue Jan 22 10:59:37 2008
@@ -25,7 +25,7 @@
/**
* Represents a read-only collection of items without duplicates.
*/
-public class Gee.ReadOnlySet<G> : Iterable<G>, Collection<G>, Set<G> {
+public class Gee.ReadOnlySet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
public int size {
get { return _set.size; }
}
@@ -69,7 +69,7 @@
assert_not_reached ();
}
- private class Iterator<G> : Gee.Iterator<G> {
+ private class Iterator<G> : Object, Gee.Iterator<G> {
public bool next () {
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]