<?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>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>Generating a random integer</title>
		<link>http://helpdesk.objects.com.au/java/generating-a-random-integer?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generating-a-random-integer</link>
		<comments>http://helpdesk.objects.com.au/java/generating-a-random-integer#comments</comments>
		<pubDate>Sun, 17 Jul 2011 12:27:36 +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=1859</guid>
		<description><![CDATA[The Random class provides a method that returns a random integer between 0 and n (exclusive). Random wheel = new Random(); int random = wheel.nextInt(n); By default it uses the current timestamp as the seed for the random generator, or alternately you can provide your own. Related posts: How do I generate a random integer [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/generating-a-random-integer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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&#038;utm_medium=rss&#038;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); Related posts: How to parse a hex string? You can tell the parseInt() method what base number system... Converting large byte array to binary string You can [...]]]></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&#038;utm_medium=rss&#038;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); } Related posts: How to pad a Java String Often we need to left or right pad a string,... How do I format a Date as a String? Either use the format() method of the SimpleDateFormat class, or... How to format value as a [...]]]></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&#038;utm_medium=rss&#038;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); Related posts: How to parse a binary String? You can tell the parseInt() method what base number system... How to check if a Java String is an [...]]]></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&#038;utm_medium=rss&#038;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; Related posts: Generating a random integer The Random class [...]]]></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&#038;utm_medium=rss&#038;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; Related posts: How do I get the ASCII value of a character? By simply casting the char to an int. char c... How do I convert an ASCII value to a character? By casting the integer ASCII value to [...]]]></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&#038;utm_medium=rss&#038;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 } Related posts: How [...]]]></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&#038;utm_medium=rss&#038;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;); Related posts: How to check if a Java String is an integer? Use static method Integer.parseInt() and catch the exception that is... How to convert a String to an Integer in Java? se static method java.lang.Integer.valueOf(), or create java.lang.Integer instance directly using... How do a check that [...]]]></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&#038;utm_medium=rss&#038;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; Related posts: How to [...]]]></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&#038;utm_medium=rss&#038;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[parse]]></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 } Related posts: How to convert a String to a double [...]]]></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>
	</channel>
</rss>

