[squeak-dev] Review Request: SparseLargeTable explorerContents.1.cs

christoph.thiede at student.hpi.uni-potsdam.de christoph.thiede at student.hpi.uni-potsdam.de
Sat Feb 26 21:20:04 UTC 2022


Depends on: Review Request: SparseLargeTable enumerate+tests.1.cs
See also: Review Request: Bag-explorer & RunArray-explorer

Best,
Christoph

=============== Summary ===============

Change Set:        SparseLargeTable explorerContents
Date:            26 February 2022
Author:            Christoph Thiede

This changeset revises the ObjectExplorer representation of SparseLargeTables/SparseLargeArrays by only displaying non-default values next to the defaultValue variable. Depends on SparseLargeTable enumerate+tests.1.cs.

=============== Diff ===============

SparseLargeTable>>explorerContents {*Morphic-Explorer} · ct 2/26/2022 21:49
+ explorerContents
+ 
+     ^  Array streamContents: [:stream |
+         stream nextPut: (ObjectExplorerWrapper
+             with: defaultValue
+             name: 'defaultValue'
+             model: self).
+         self sparseElementsAndIndicesDo: [:element :index |
+             stream nextPut: (ObjectExplorerWrapper
+                 with: element
+                 name: index printString
+                 model: self)]]

---
Sent from Squeak Inbox Talk
["SparseLargeTable explorerContents.1.cs"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220226/d59f0316/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SparseLargeTable explorerContents.1.cs
Type: application/octet-stream
Size: 829 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220226/d59f0316/attachment.obj>


More information about the Squeak-dev mailing list