<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Of HashSets and&#160;HashMaps</title>
	<atom:link href="http://www.magpiebrain.com/blog/2003/12/16/of-hashsets-and-hashmaps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2003/12/16/of-hashsets-and-hashmaps/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Mon, 06 Oct 2008 23:37:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2003/12/16/of-hashsets-and-hashmaps/#comment-110</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Tue, 16 Dec 2003 17:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2003/12/16/of-hashsets-and-hashmaps/#comment-110</guid>
		<description>Cameron, yes I could use a HashMap, but I'd probably wrap it to simplify the put method - the key and value will always be the same, and there are some other features (logging) that mcould be integrated into the class. I'd probably reuse this anyway, given the number of data strcutures I've got flying around right now.
Nipsu, that was kind of the point I was trying to make - I was annoyed initially for what appeared to be inconsistancies in the API's between HashSet and HashMap, and then realised I was fundamentally misusing a Set.
</description>
		<content:encoded><![CDATA[<p>Cameron, yes I could use a HashMap, but I&#8217;d probably wrap it to simplify the put method &#8211; the key and value will always be the same, and there are some other features (logging) that mcould be integrated into the class. I&#8217;d probably reuse this anyway, given the number of data strcutures I&#8217;ve got flying around right now.<br />
Nipsu, that was kind of the point I was trying to make &#8211; I was annoyed initially for what appeared to be inconsistancies in the <acronym title="Application Programming Interface">API</acronym>&#8217;s between HashSet and HashMap, and then realised I was fundamentally misusing a Set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nipsu</title>
		<link>http://www.magpiebrain.com/blog/2003/12/16/of-hashsets-and-hashmaps/#comment-109</link>
		<dc:creator>Nipsu</dc:creator>
		<pubDate>Tue, 16 Dec 2003 14:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2003/12/16/of-hashsets-and-hashmaps/#comment-109</guid>
		<description>There's no such thing as previous value for Set. It doesn't make any sense to return 'previous' value from set since if there was a 'previous' value it's 'logically' the same object that you are trying to insert.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no such thing as previous value for Set. It doesn&#8217;t make any sense to return &#8216;previous&#8217; value from set since if there was a &#8216;previous&#8217; value it&#8217;s &#8216;logically&#8217; the same object that you are trying to insert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://www.magpiebrain.com/blog/2003/12/16/of-hashsets-and-hashmaps/#comment-108</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Tue, 16 Dec 2003 14:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2003/12/16/of-hashsets-and-hashmaps/#comment-108</guid>
		<description>... or just use HashMap. ;-)</description>
		<content:encoded><![CDATA[<p>... or just use HashMap. ;-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
