May 26, 2010
5:15 p.m.
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