<div dir="ltr">HI Joe,<div>A Bag is a structure to hold multiple, possibly repeating, objects in it.  One of the benefits is to know how many times an object is inside of the bag - how many times it repeats.</div><div><br></div><div>Bag is implemented with a Dictionary it in - the key is the objects that you put into the bag, and the value is the count of how many times it was put into the bag (hence all of the 1&#39;s that you see - they were probably just added once to the bag).</div><div><br></div><div>The explorer is optimized to make Dictionary navigation fast and convenient for normal Dictionaries - you can see and select the key, and get to see the details of the values in the dictionary.</div><div>It is not optimized for looking at the dictionary in the Bag, where you care about the key (and mostly not about the value - at least for your use case).</div><div><br></div><div>To explore the values in the Bag, I would suggest one of two ways of getting at the data:</div><div>1&gt; send #asSet to the bag, and explore that</div><div>2&gt; send #keys to the dictionary, and explore that</div><div>Either should work.</div><div><br></div><div>One more thing to think about - if you aren&#39;t going to have multiples of your Transaction objects (or don&#39;t care to know that you have multiple of them) in your Bag, you might want to consider using a Set instead.</div><div><br></div><div>Thanks,</div><div>cbc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 12:31 PM, Joseph Alotta <span dir="ltr">&lt;<a href="mailto:joseph.alotta@gmail.com" target="_blank">joseph.alotta@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Help!<br>
<br>
<br>
I have a data structure as the screenshot below shows.<br>
<br>
There is a Bag with Transaction objects.<br>
<br>
I can’t see inside the Transaction objects?<br>
<br>
Why is there a Dictionary?<br>
<br>
I can see the beginning of the transaction data, but I can’t the the whole line?<br>
<br>
When I explore, it opens a window on Integer 1.  Where are all the 1s coming from?<br>
<br>
<br>
Sincerely,<br>
<br>
Joe.<br>
<br>
<br>
here is the link: <a href="https://www.flickr.com/photos/jalotta/26480315621/" rel="noreferrer" target="_blank">https://www.flickr.com/photos/jalotta/26480315621/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div>