<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; arrays</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/arrays/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Shuffle a Java array</title>
		<link>http://helpdesk.objects.com.au/java/shuffle-a-java-array?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=shuffle-a-java-array</link>
		<comments>http://helpdesk.objects.com.au/java/shuffle-a-java-array#comments</comments>
		<pubDate>Fri, 26 Nov 2010 22:06:38 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[collections]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[shuffle]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1672</guid>
		<description><![CDATA[Sometimes we need to shuffle the oder of elements in a list or array, like shuffling a deck of cards. The Collections utility class has a shuffle() method that achieves this for List&#8217;s, but what about arrays. There is no corresponding shuffle() method in the Arrays class, surely we don&#8217;t need to loop through the [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/shuffle-a-java-array/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an array to a String?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-an-array-to-a-string?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-convert-an-array-to-a-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-an-array-to-a-string#comments</comments>
		<pubDate>Thu, 05 Feb 2009 02:38:49 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=758</guid>
		<description><![CDATA[The Arrays class has a set of helper toString methods for converting an array to a string representation. String representation = Arrays.toString(array); This will work for all array types. For Objects it uses the toString() method of the type to convert array elements. If you need more control how the array is represented then you [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-an-array-to-a-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if two Java arrays are equal?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-check-if-two-java-arrays-are-equal?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-check-if-two-java-arrays-are-equal</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-check-if-two-java-arrays-are-equal#comments</comments>
		<pubDate>Fri, 30 Jan 2009 09:00:07 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[equals]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=720</guid>
		<description><![CDATA[The Arrays class includes methods for testing the equality of two array. Two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. if (Arrays.equals(array1, array2)) { // array1 and array2 contain the same elements in the same order } [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-check-if-two-java-arrays-are-equal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fill a String with a character using Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-fill-a-string-with-a-character-using-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fill-a-string-with-a-character-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-fill-a-string-with-a-character-using-java#comments</comments>
		<pubDate>Thu, 29 Jan 2009 22:10:53 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[fill]]></category>
		<category><![CDATA[pad]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=709</guid>
		<description><![CDATA[The fill() method in the Arrays class is useful for creating string filled with a certain character. // create a buffer of 9 characters char[] fill = new char[9]; // Fill the buffer with all &#039;0&#039;s Arrays.fill(fill, &#039;0&#039;); // Create string using the buffer String zeroes = new String(fill); // zeroes string now contains &#34;000000000&#34; [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-fill-a-string-with-a-character-using-java/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to store exception stack trace as String</title>
		<link>http://helpdesk.objects.com.au/java/how-to-store-exception-stack-trace-as-string?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-store-exception-stack-trace-as-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-store-exception-stack-trace-as-string#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:12:18 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[stack trace]]></category>
		<category><![CDATA[StackTraceElement]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1285</guid>
		<description><![CDATA[Sometimes you need to store the stack trace from an exception in a String. A common approach is to use the printStackTrace() method to write it to a String which gives it to you in the same format as when you print it to stdout (or whereever) StringWriter sw = new StringWriter(); PrintWriter pw = [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-store-exception-stack-trace-as-string/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How can I get a String representation of a Java array?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-get-a-string-representation-of-a-java-array?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-can-i-get-a-string-representation-of-a-java-array</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-get-a-string-representation-of-a-java-array#comments</comments>
		<pubDate>Wed, 08 Oct 2008 10:10:38 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=416</guid>
		<description><![CDATA[Use the toString() method of the Arrays utility class. Object[] array = new Object[] { &#34;abc&#34;, &#34;123&#34;, &#34;test&#34; }; String s = Arrays.toString(array); // s is now &#34;[abc, 123, test]&#34; Related posts: How can I convert a byte array to a hex string representation? You have a couple of choices, either: Loop thru the... How [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-get-a-string-representation-of-a-java-array/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

