summaryrefslogtreecommitdiff
path: root/vala/valainterface.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-05-29 21:48:51 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-05-29 21:48:51 +0000
commit9a1d658bf2443da90e0d92ece53918d5905e2833 (patch)
tree2525e0e17fcb0504bb565e32e116976adf559b37 /vala/valainterface.vala
parentb827b5163cba9bd507c28578744a6970a8eafbc7 (diff)
downloadvala-9a1d658bf2443da90e0d92ece53918d5905e2833.tar.gz
Use Gee.List instead of Gee.Collection to improve iteration performance
2008-05-29 Juerg Billeter <j@bitron.ch> * vala/valablock.vala: * vala/valaclass.vala: * vala/valacodecontext.vala: * vala/valacodenode.vala: * vala/valadatatype.vala: * vala/valadelegatetype.vala: * vala/valadynamicmethod.vala: * vala/valadynamicproperty.vala: * vala/valaenum.vala: * vala/valaerrordomain.vala: * vala/valaforstatement.vala: * vala/valainitializerlist.vala: * vala/valainterface.vala: * vala/valainterfacewriter.vala: * vala/valainvocationexpression.vala: * vala/valalambdaexpression.vala: * vala/valamember.vala: * vala/valamemberaccess.vala: * vala/valamethod.vala: * vala/valamethodtype.vala: * vala/valanamespace.vala: * vala/valaobjectcreationexpression.vala: * vala/valaobjecttypesymbol.vala: * vala/valapointertype.vala: * vala/valasemanticanalyzer.vala: * vala/valasignaltype.vala: * vala/valasourcefile.vala: * vala/valastruct.vala: * vala/valaswitchsection.vala: * vala/valaswitchstatement.vala: * vala/valasymbol.vala: * vala/valasymbolresolver.vala: * vala/valatypesymbol.vala: * ccode/valaccodecommaexpression.vala: * ccode/valaccodefragment.vala: * gobject/valaccodeassignmentbinding.vala: * gobject/valaccodeelementaccessbinding.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodegeneratorsignal.vala: * gobject/valaccodeinvocationexpressionbinding.vala: * gobject/valagidlwriter.vala: Use Gee.List instead of Gee.Collection to improve iteration performance svn path=/trunk/; revision=1493
Diffstat (limited to 'vala/valainterface.vala')
-rw-r--r--vala/valainterface.vala24
1 files changed, 12 insertions, 12 deletions
diff --git a/vala/valainterface.vala b/vala/valainterface.vala
index 95cf53f54..2211c69c0 100644
--- a/vala/valainterface.vala
+++ b/vala/valainterface.vala
@@ -81,8 +81,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of type parameters
*/
- public Collection<TypeParameter> get_type_parameters () {
- return new ReadOnlyCollection<TypeParameter> (type_parameters);
+ public Gee.List<TypeParameter> get_type_parameters () {
+ return new ReadOnlyList<TypeParameter> (type_parameters);
}
/**
@@ -111,8 +111,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of base types
*/
- public Collection<DataType> get_prerequisites () {
- return new ReadOnlyCollection<DataType> (prerequisites);
+ public Gee.List<DataType> get_prerequisites () {
+ return new ReadOnlyList<DataType> (prerequisites);
}
/**
@@ -145,8 +145,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of methods
*/
- public override Collection<Method> get_methods () {
- return new ReadOnlyCollection<Method> (methods);
+ public override Gee.List<Method> get_methods () {
+ return new ReadOnlyList<Method> (methods);
}
/**
@@ -165,8 +165,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of fields
*/
- public Collection<Field> get_fields () {
- return new ReadOnlyCollection<Field> (fields);
+ public Gee.List<Field> get_fields () {
+ return new ReadOnlyList<Field> (fields);
}
/**
@@ -187,8 +187,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of properties
*/
- public override Collection<Property> get_properties () {
- return new ReadOnlyCollection<Property> (properties);
+ public override Gee.List<Property> get_properties () {
+ return new ReadOnlyList<Property> (properties);
}
/**
@@ -206,8 +206,8 @@ public class Vala.Interface : ObjectTypeSymbol {
*
* @return list of signals
*/
- public override Collection<Signal> get_signals () {
- return new ReadOnlyCollection<Signal> (signals);
+ public override Gee.List<Signal> get_signals () {
+ return new ReadOnlyList<Signal> (signals);
}
/**