[Assorted-commits] SF.net SVN: assorted: [458] scala-commons/trunk/src/commons/Collections. scala
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-16 21:39:41
|
Revision: 458 http://assorted.svn.sourceforge.net/assorted/?rev=458&view=rev Author: yangzhang Date: 2008-02-16 13:39:45 -0800 (Sat, 16 Feb 2008) Log Message: ----------- renamed one of the multimaps to orderedMultimap Modified Paths: -------------- scala-commons/trunk/src/commons/Collections.scala Modified: scala-commons/trunk/src/commons/Collections.scala =================================================================== --- scala-commons/trunk/src/commons/Collections.scala 2008-02-16 21:38:54 UTC (rev 457) +++ scala-commons/trunk/src/commons/Collections.scala 2008-02-16 21:39:45 UTC (rev 458) @@ -633,7 +633,7 @@ dst } - def multimap[a,b](xs: List[(a,b)]) = { + def orderedMultimap[a,b](xs: List[(a,b)]) = { val h = new mut.HashMap[a, mut.ArrayBuffer[b]] { override def default(k: a) = { this(k) = new mut.ArrayBuffer[b] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |