ReferenceStream can store cycles.
> "This is a way of serializing a tree of objects into disk file. A
> ReferenceStream can store one or more objects in a persistent form,
> including sharing and cycles."
ReferenceStream does a pre-order traversal of the object graph.
Whenever it encounters an object that has been already serialized it
puts a special back-reference to that object. With this strategy you
essentially end up with a tree, if you do not look at these
back-references.
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project