summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/LongMap.scala
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2009-05-27 19:35:02 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2009-05-27 19:35:02 +0000
commitcc5e79c9ec9cea8d0f22020b528877d8f6e00153 (patch)
tree94e43f77c7b7271b3d0b6f9fb7372ae83b39360d /src/library/scala/collection/immutable/LongMap.scala
parent4b8be5d8bec86358276407d6521c41702ccda835 (diff)
downloadscala-cc5e79c9ec9cea8d0f22020b528877d8f6e00153.tar.gz
scala-cc5e79c9ec9cea8d0f22020b528877d8f6e00153.tar.bz2
scala-cc5e79c9ec9cea8d0f22020b528877d8f6e00153.zip
In "Iterable" and in all its subclasses, "itera...
In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
Diffstat (limited to 'src/library/scala/collection/immutable/LongMap.scala')
-rw-r--r--src/library/scala/collection/immutable/LongMap.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/immutable/LongMap.scala b/src/library/scala/collection/immutable/LongMap.scala
index f30f9eb17d..346e97345f 100644
--- a/src/library/scala/collection/immutable/LongMap.scala
+++ b/src/library/scala/collection/immutable/LongMap.scala
@@ -146,7 +146,7 @@ sealed abstract class LongMap[+T] extends scala.collection.immutable.Map[Long, T
/**
* Iterator over key, value pairs of the map in unsigned order of the keys.
*/
- def elements : Iterator[(Long, T)] = this match {
+ def iterator: Iterator[(Long, T)] = this match {
case LongMap.Nil => Iterator.empty;
case _ => new LongMapEntryIterator(this);
}
@@ -160,7 +160,7 @@ sealed abstract class LongMap[+T] extends scala.collection.immutable.Map[Long, T
case LongMap.Nil => {};
}
- override def keys : Iterator[Long] = this match {
+ override def keysIterator : Iterator[Long] = this match {
case LongMap.Nil => Iterator.empty;
case _ => new LongMapKeyIterator(this);
}
@@ -177,7 +177,7 @@ sealed abstract class LongMap[+T] extends scala.collection.immutable.Map[Long, T
case LongMap.Nil => {}
}
- override def values : Iterator[T] = this match {
+ override def valuesIterator : Iterator[T] = this match {
case LongMap.Nil => Iterator.empty;
case _ => new LongMapValueIterator(this);
}