Fix comments.
authorStefan Vogel <sv@exept.de>
Mon, 03 Jul 2006 18:13:40 +0200
changeset 9415 d13968e693c3
parent 9414 33636257cb26
child 9416 f57d66ea3bae
Fix comments. Streamline #literalArrayEncoding
Set.st
--- a/Set.st	Mon Jul 03 18:13:22 2006 +0200
+++ b/Set.st	Mon Jul 03 18:13:40 2006 +0200
@@ -557,34 +557,6 @@
 
 ! !
 
-!Set methodsFor:'converting'!
-
-literalArrayEncoding
-    "encode myself as an array literal, from which a copy of the receiver
-     can be reconstructed with #decodeAsLiteralArray."
-
-    |encoding idx|
-
-    encoding := Array new:self size + 1.
-    encoding at:1 put:self class name.
-    idx := 2.
-    self do:[:element| 
-        encoding at:idx put:element literalArrayEncoding.
-        idx := idx + 1.
-    ].
-    ^ encoding
-
-
-    "
-     (Set with:1234
-          with:(1 @ 2)
-          with:'hello'
-     ) literalArrayEncoding decodeAsLiteralArray  
-    "
-
-    "Modified: 22.4.1996 / 13:00:56 / cg"
-! !
-
 !Set methodsFor:'copying'!
 
 postCopy
@@ -1037,6 +1009,7 @@
     ^ tally
 ! !
 
+
 !Set methodsFor:'testing'!
 
 capacity 
@@ -1148,7 +1121,7 @@
 !Set class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.95 2006-04-18 09:44:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.96 2006-07-03 16:13:40 stefan Exp $'
 ! !
 
 Set initialize!