<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java &#8211; Vector Example</title>
	<atom:link href="http://www.easywayserver.com/blog/java-vector-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.easywayserver.com/blog/java-vector-example/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 15 Jan 2012 15:24:27 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Douglas</title>
		<link>http://www.easywayserver.com/blog/java-vector-example/comment-page-1/#comment-14601</link>
		<dc:creator>Douglas</dc:creator>
		<pubDate>Mon, 15 Nov 2010 16:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.easywayserver.com/blog/java-vector-example/#comment-14601</guid>
		<description>Thank you for showing us something about the Vector class. Due to the newer Collections framework it is hard to find examples of Vector class usage. C++ programmers are very familiar with Vector. Keep that in mind as I understand Java was based on C. 
  For the most part, Vector may still be used but many think that it should be deprecated. I am of no opinion here as I have not used it enough yet to understand the inner workings of this class. Many other classes in Java implement Vector and I would be very interested to see how that is done. 
  Is Vector type-safe? Is it thread-safe? These are questions that I hope more qualified persons can answer.

One quick note: I have used Vector with an iterator in C++. How else could it be done in Java?
Try-catch statements are one big advantage that we have in Java and could be used in case of need for debugging. Also I tried this just to see the result: System.out.println(vc);</description>
		<content:encoded><![CDATA[<p>Thank you for showing us something about the Vector class. Due to the newer Collections framework it is hard to find examples of Vector class usage. C++ programmers are very familiar with Vector. Keep that in mind as I understand Java was based on C.<br />
  For the most part, Vector may still be used but many think that it should be deprecated. I am of no opinion here as I have not used it enough yet to understand the inner workings of this class. Many other classes in Java implement Vector and I would be very interested to see how that is done.<br />
  Is Vector type-safe? Is it thread-safe? These are questions that I hope more qualified persons can answer.</p>
<p>One quick note: I have used Vector with an iterator in C++. How else could it be done in Java?<br />
Try-catch statements are one big advantage that we have in Java and could be used in case of need for debugging. Also I tried this just to see the result: System.out.println(vc);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dcpatton</title>
		<link>http://www.easywayserver.com/blog/java-vector-example/comment-page-1/#comment-10235</link>
		<dc:creator>dcpatton</dc:creator>
		<pubDate>Mon, 19 Jul 2010 13:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.easywayserver.com/blog/java-vector-example/#comment-10235</guid>
		<description>The problem is that you inserted the elements as the following strings:

vc.add(&quot;Vector Element #&quot;);

and you printed them out with vc.get(i) which led to them being the following strings:

Vector Object #

You example would have been clearer if you inserted them as &quot;Vector Object #&quot;</description>
		<content:encoded><![CDATA[<p>The problem is that you inserted the elements as the following strings:</p>
<p>vc.add(&#8221;Vector Element #&#8221;);</p>
<p>and you printed them out with vc.get(i) which led to them being the following strings:</p>
<p>Vector Object #</p>
<p>You example would have been clearer if you inserted them as &#8220;Vector Object #&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: poonam</title>
		<link>http://www.easywayserver.com/blog/java-vector-example/comment-page-1/#comment-9470</link>
		<dc:creator>poonam</dc:creator>
		<pubDate>Fri, 11 Jun 2010 15:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.easywayserver.com/blog/java-vector-example/#comment-9470</guid>
		<description>Vector progam is working fine when i checked, 6 times vector added so printing 6, tell us the bug in detail</description>
		<content:encoded><![CDATA[<p>Vector progam is working fine when i checked, 6 times vector added so printing 6, tell us the bug in detail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nudge</title>
		<link>http://www.easywayserver.com/blog/java-vector-example/comment-page-1/#comment-9464</link>
		<dc:creator>Nudge</dc:creator>
		<pubDate>Fri, 11 Jun 2010 09:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.easywayserver.com/blog/java-vector-example/#comment-9464</guid>
		<description>There&#039;s a bug: why You write &quot;System.out.println(&quot;Vector Size :&quot;+vc.size());&quot; and then the output is &quot;ArrayList Size :6&quot;???
Sound me something wrong :S</description>
		<content:encoded><![CDATA[<p>There&#8217;s a bug: why You write &#8220;System.out.println(&#8221;Vector Size :&#8221;+vc.size());&#8221; and then the output is &#8220;ArrayList Size :6&#8243;???<br />
Sound me something wrong :S</p>
]]></content:encoded>
	</item>
</channel>
</rss>

