Skip to content
Snippets Groups Projects
Unverified Commit cd38dce5 authored by Daniel Espinosa's avatar Daniel Espinosa
Browse files

Collections: renamed GomMap to GXml.Map

parent e6c38577
Branches
Tags
No related merge requests found
......@@ -41,7 +41,7 @@ public interface GXml.MappeableElement : Object, DomElement {
/**
* {@link Gee.Iterable} and {@link Gee.Traversable} implementation of {@link GomCollection}
*/
public interface GXml.GomMap : Object, GomCollection, Traversable<DomElement>, Iterable<DomElement> {
public interface GXml.Map : Object, GomCollection, Traversable<DomElement>, Iterable<DomElement> {
/**
* An attribute's name in items to be added and used to retrieve elements
* as key.
......
......@@ -381,7 +381,7 @@ public class GXml.GomArrayList : GXml.BaseCollection, GXml.List {
* }
* }}}
*/
public class GXml.GomHashMap : GXml.BaseCollection, GomMap {
public class GXml.GomHashMap : GXml.BaseCollection, GXml.Map {
/**
* A hashtable with all keys as string to node's index refered. Don't modify it manually.
*/
......
......@@ -375,7 +375,7 @@ public class GXml.GomElement : GomNode,
public DomNode? item (int index) {
if (index < 0 || index >= size) return null;
long i = -1;
foreach (Map.Entry<long,string> e in order.ascending_entries) {
foreach (Gee.Map.Entry<long,string> e in order.ascending_entries) {
i++;
if (i == index) {
string name = e.value;
......@@ -557,7 +557,7 @@ public class GXml.GomElement : GomNode,
}
private long index_of (string name) {
long i = -1;
foreach (Map.Entry<long,string> e in order.ascending_entries) {
foreach (Gee.Map.Entry<long,string> e in order.ascending_entries) {
i++;
if (e.value == name) return i;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment