summaryrefslogtreecommitdiff
path: root/test/files/jvm/serialization.check
diff options
context:
space:
mode:
authorRui Gonçalves <ruippeixotog@gmail.com>2016-05-15 00:09:45 +0100
committerRui Gonçalves <ruippeixotog@gmail.com>2016-05-17 11:14:22 +0100
commitffbf063baf5db46484a23c2b91d2b8769f0f956b (patch)
tree86c0bea2104b0cdf73f0efbd569f032471943569 /test/files/jvm/serialization.check
parentfe6886eb0ec9c02fa666e9e7af09bab92b985d05 (diff)
downloadscala-ffbf063baf5db46484a23c2b91d2b8769f0f956b.tar.gz
scala-ffbf063baf5db46484a23c2b91d2b8769f0f956b.tar.bz2
scala-ffbf063baf5db46484a23c2b91d2b8769f0f956b.zip
Make ListMap and ListSet implementations similar
ListSet and ListMap are two collections which share the exact same internal structure. This commit makes the two approaches as similar as possible by renaming and reordering internal methods, improving their Scaladoc and their code style. The Scaladoc of the classes and companion objects is also improved in order to alert users of the time complexity of the collections' operations.
Diffstat (limited to 'test/files/jvm/serialization.check')
-rw-r--r--test/files/jvm/serialization.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/serialization.check b/test/files/jvm/serialization.check
index 91248320d4..1c5dd4828b 100644
--- a/test/files/jvm/serialization.check
+++ b/test/files/jvm/serialization.check
@@ -85,8 +85,8 @@ x = List((buffers,20), (layers,2), (title,3))
y = List((buffers,20), (layers,2), (title,3))
x equals y: true, y equals x: true
-x = Map(buffers -> 20, layers -> 2, title -> 3)
-y = Map(buffers -> 20, layers -> 2, title -> 3)
+x = ListMap(buffers -> 20, layers -> 2, title -> 3)
+y = ListMap(buffers -> 20, layers -> 2, title -> 3)
x equals y: true, y equals x: true
x = ListSet(3, 5)