<?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; int</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/int/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Mon, 06 Sep 2010 08:12:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to parse a binary String?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-parse-a-binary-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string#comments</comments>
		<pubDate>Thu, 10 Jun 2010 23:44:31 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1496</guid>
		<description><![CDATA[You can tell the parseInt() method what base number system is used by the String that is being parsed. String hex = &#34;01001101&#34;; int n = Integer.parseInt(hex, 2); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-a-binary-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to zero pad a value</title>
		<link>http://helpdesk.objects.com.au/java/how-to-zero-pad-a-value?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-zero-pad-a-value</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-zero-pad-a-value#comments</comments>
		<pubDate>Thu, 15 Apr 2010 00:21:25 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[pad]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1454</guid>
		<description><![CDATA[public static String zeroPad(int value, int width) { return String.format(&#34;%0&#34;+width+&#34;d&#34;, value); } Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on Technorati Add this to Google Reader Digg this! Tweet This! Post [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-zero-pad-a-value/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse a hex string?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-parse-a-hex-string</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string#comments</comments>
		<pubDate>Sun, 23 Nov 2008 07:54:43 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[hex]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=950</guid>
		<description><![CDATA[You can tell the parseInt() method what base number system is used by the String that is being parsed. String hex = &#34;a9b0&#34;; int n = Integer.parseInt(hex, 16); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-parse-a-hex-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I generate a random integer between 1 and n (inclusive)?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-generate-a-random-integer-between-1-and-n-inclusive?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-generate-a-random-integer-between-1-and-n-inclusive</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-generate-a-random-integer-between-1-and-n-inclusive#comments</comments>
		<pubDate>Thu, 25 Sep 2008 02:15:30 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=250</guid>
		<description><![CDATA[The Random class provides a method to return a random integer between 0 and n (exclusive) which can be used. Just add one to the returned value to shift the range from 0-n-1 to 1-n Random wheel = new Random(); int random = wheel.nextInt(n) + 1; Subscribe to the comments for this post? Email this [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-generate-a-random-integer-between-1-and-n-inclusive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I get the int value of a character?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-get-the-int-value-of-a-character?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-get-the-int-value-of-a-character</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-get-the-int-value-of-a-character#comments</comments>
		<pubDate>Tue, 23 Sep 2008 23:26:21 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[int]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=220</guid>
		<description><![CDATA[By simply casting it to an int. char c = &#039;A&#039;; int value = (int) c; Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on Technorati Add this to Google Reader Digg [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-get-the-int-value-of-a-character/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if a Java String is an integer?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-check-if-a-java-string-is-an-integer?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-check-if-a-java-string-is-an-integer</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-check-if-a-java-string-is-an-integer#comments</comments>
		<pubDate>Mon, 08 Sep 2008 10:49:58 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=98</guid>
		<description><![CDATA[Use static method Integer.parseInt() and catch the exception that is thrown when the number cannot be parsed. String s = &#34;123&#34;; boolean isValidInteger = false; try { int i = Integer.parseInt(s); // s is a valid integer isValidInteger = true; } catch (NumberFormatException ex) { // s is not an integer } Subscribe to the [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-check-if-a-java-string-is-an-integer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if a String is an integer using a regular expression?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-check-if-a-string-is-an-integer-using-a-regular-expression?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-check-if-a-string-is-an-integer-using-a-regular-expression</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-check-if-a-string-is-an-integer-using-a-regular-expression#comments</comments>
		<pubDate>Fri, 05 Sep 2008 07:14:42 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=89</guid>
		<description><![CDATA[String s = &#34;321&#34;; boolean isNumber = s.matches(&#34;-?\\d+&#34;); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on Technorati Add this to Google Reader Digg this! Tweet This! Post on Google Buzz Email [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-check-if-a-string-is-an-integer-using-a-regular-expression/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an int to a String in Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-an-int-to-a-string-in-java?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-an-int-to-a-string-in-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-an-int-to-a-string-in-java#comments</comments>
		<pubDate>Wed, 03 Sep 2008 12:23:54 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://125.214.65.236/helpdesk/?p=60</guid>
		<description><![CDATA[You can either use the static toString() method in the Integer class, or string concatenation can also be used. We&#8217;d recommend using the toString() method. int i = 123; String s = Integer.toString(i); // An alternative would be to use // the following string concatenation String s2 = &#34;&#34; + i; Subscribe to the comments [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-an-int-to-a-string-in-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a String to an int in Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-a-string-to-an-int</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int#comments</comments>
		<pubDate>Mon, 25 Aug 2008 12:42:40 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://125.214.65.236/wordpress/?p=8</guid>
		<description><![CDATA[The Integer class contains a number of (static) methods for converting to/from various formats. To convert to an integer use static method Integer.parseInt() String s = &#34;123&#34;; try { int i = Integer.parseInt(s); } catch (NumberFormatException ex) { // s is not an integer } Subscribe to the comments for this post? Email this to [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-a-string-to-an-int/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I convert an int to a char?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-convert-an-int-to-a-char?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-convert-an-int-to-a-char</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-convert-an-int-to-a-char#comments</comments>
		<pubDate>Sat, 23 Aug 2008 23:22:50 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[int]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=215</guid>
		<description><![CDATA[By simply casting the int value to a char. int asciiValue = 65; char ch = (char) asciiValue; Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on Technorati Add this to Google [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-convert-an-int-to-a-char/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
