<?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; bean</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/bean/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>Get Collection minimum based on bean property</title>
		<link>http://helpdesk.objects.com.au/java/get-collection-minimum-based-on-bean-property?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-collection-minimum-based-on-bean-property</link>
		<comments>http://helpdesk.objects.com.au/java/get-collection-minimum-based-on-bean-property#comments</comments>
		<pubDate>Wed, 30 Sep 2009 23:15:24 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[bean]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[collections]]></category>
		<category><![CDATA[min]]></category>
		<category><![CDATA[minimum]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1233</guid>
		<description><![CDATA[Say you have a class with a number of properties, and you then have a Collection of these beans and you want to find the bean with the smallest value of one of the properties. Instead of using a loop to go through the collection to find the smallest element based on our condition we [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/get-collection-minimum-based-on-bean-property/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Collection maximum based on bean property</title>
		<link>http://helpdesk.objects.com.au/java/get-collection-maximum-based-on-bean-property?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-collection-maximum-based-on-bean-property</link>
		<comments>http://helpdesk.objects.com.au/java/get-collection-maximum-based-on-bean-property#comments</comments>
		<pubDate>Wed, 23 Sep 2009 04:23:06 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[bean]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[collections]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1224</guid>
		<description><![CDATA[Say you have a class with a number of properties, and you then have a Collection of these beans and you want to find the bean with the largest value of one of the properties. Instead of using a loop to go through the collection to find the largest element based on our condition we [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/get-collection-maximum-based-on-bean-property/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I return more than one value from a Java method?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-return-more-than-one-value-from-a-java-method?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-can-i-return-more-than-one-value-from-a-java-method</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-return-more-than-one-value-from-a-java-method#comments</comments>
		<pubDate>Wed, 01 Oct 2008 12:14:03 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[bean]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=319</guid>
		<description><![CDATA[You have a few options, either return them in an array, or a Map or use another class to store the values and return that. /** Use an array to return two value */ public int[] methodReturningTwoInts() { int a = getA(); int b = getB(); return new int[] { a, b }; } /** [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-return-more-than-one-value-from-a-java-method/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How do I use Collections.sort() with generics?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-use-collections-sort-with-generics?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-use-collections-sort-with-generics</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-use-collections-sort-with-generics#comments</comments>
		<pubDate>Thu, 25 Sep 2008 02:19:10 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[bean]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[collections]]></category>
		<category><![CDATA[generics]]></category>
		<category><![CDATA[sort]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=254</guid>
		<description><![CDATA[import java.util.ArrayList; import java.util.Collections; import java.util.List; public class MyBean implements Comparable&#60;MyBean&#62; { private int value; public MyBean() { } public MyBean(int value) { setValue(value); } public int getValue() { return value; } public void setValue(int value) { this.value = value; } public int compareTo(MyBean other) { return value - other.value; } public String toString() { [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-use-collections-sort-with-generics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

