summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/IntMap.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/immutable/IntMap.scala')
-rw-r--r--src/library/scala/collection/immutable/IntMap.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/immutable/IntMap.scala b/src/library/scala/collection/immutable/IntMap.scala
index a7b66628bb..32ad7fca42 100644
--- a/src/library/scala/collection/immutable/IntMap.scala
+++ b/src/library/scala/collection/immutable/IntMap.scala
@@ -145,7 +145,7 @@ sealed abstract class IntMap[+T] extends scala.collection.immutable.Map[Int, T]
/**
* Iterator over key, value pairs of the map in unsigned order of the keys.
*/
- def elements : Iterator[(Int, T)] = this match {
+ def iterator : Iterator[(Int, T)] = this match {
case IntMap.Nil => Iterator.empty;
case _ => new IntMapEntryIterator(this);
}
@@ -159,7 +159,7 @@ sealed abstract class IntMap[+T] extends scala.collection.immutable.Map[Int, T]
case IntMap.Nil => {};
}
- override def keys : Iterator[Int] = this match {
+ override def keysIterator : Iterator[Int] = this match {
case IntMap.Nil => Iterator.empty;
case _ => new IntMapKeyIterator(this);
}
@@ -176,7 +176,7 @@ sealed abstract class IntMap[+T] extends scala.collection.immutable.Map[Int, T]
case IntMap.Nil => {}
}
- override def values : Iterator[T] = this match {
+ override def valuesIterator : Iterator[T] = this match {
case IntMap.Nil => Iterator.empty;
case _ => new IntMapValueIterator(this);
}