<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Dr Heinz Kabutz on the Strategy Pattern with Generics</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Fri, 24 May 2013 19:42:51 -0400</pubDate>


    <item>

        <title>The reason for Generics and Patterns</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote><b>What are the reasons for Generics?</b>Java is a type-safe language. This means you define types during development and the compiler will verify those types. Types improve the communication of the design and allow more of the correctness of...]]></description>
        

        <pubDate>Fri, 24 Mar 2006 04:59:44 -0500</pubDate>

        

        <jf:creationDate>Fri, 24 Mar 2006 04:59:44 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 24 Mar 2006 04:59:44 -0500</jf:modificationDate>
        <jf:date>Mar 24, 2006</jf:date>
        <jf:author>Paul de Vrieze</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Recursive generics -&amp;quot;bizarre?&amp;quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[It would be nice to have a self generic. Where one could be more precise and say:<br><br>TaxPayer&lt;T is this.class&gt;<br><br>Or actually remove the type completely from the class definition and implicitly into the class by allowing this.class to be a...]]></description>
        

        <pubDate>Fri, 24 Mar 2006 04:33:48 -0500</pubDate>

        

        <jf:creationDate>Fri, 24 Mar 2006 04:33:48 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 24 Mar 2006 04:33:48 -0500</jf:modificationDate>
        <jf:date>Mar 24, 2006</jf:date>
        <jf:author>Paul de Vrieze</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Do what creates certainty.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>Maybe I'm missing something, but hmmm.... we do need to have bunch of if statements or utilize a Factory Pattern. The reason I'm asking is that I'm never sure of the best way to do something like this. In the end, all my creator classes end...]]></description>
        

        <pubDate>Fri, 24 Mar 2006 04:09:57 -0500</pubDate>

        

        <jf:creationDate>Fri, 24 Mar 2006 04:09:57 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 24 Mar 2006 04:09:57 -0500</jf:modificationDate>
        <jf:date>Mar 24, 2006</jf:date>
        <jf:author>Paul de Vrieze</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>javadocs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>Do you also comment your test cases, Cameron?  That is where I draw the line.</blockquote>You mean you don't?<br><br>That's odd.<br><br>I certainly feel the need to comment my tests *less* than regular code, but comments certainly come in...]]></description>
        

        <pubDate>Mon, 20 Mar 2006 02:03:59 -0500</pubDate>

        

        <jf:creationDate>Mon, 20 Mar 2006 02:03:59 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 20 Mar 2006 02:03:59 -0500</jf:modificationDate>
        <jf:date>Mar 20, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>javadocs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>JavaDoc is a great investment. We have always JavaDoc'd everything .. even all fields, private methods, and test code.</blockquote><a href="http://beust.com/weblog/archives/000373.html" target="_blank">Couldn't agree...]]></description>
        

        <pubDate>Mon, 20 Mar 2006 01:58:52 -0500</pubDate>

        

        <jf:creationDate>Mon, 20 Mar 2006 01:58:52 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 20 Mar 2006 01:58:52 -0500</jf:modificationDate>
        <jf:date>Mar 20, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>javadocs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote><blockquote>Goodness me, to date I have not had the priviledge of seeing a <b>single</b> commercial application which had a complete set of JavaDocs.</blockquote>JavaDoc is a great investment. We have always JavaDoc'd everything .. even all...]]></description>
        

        <pubDate>Mon, 20 Mar 2006 00:45:27 -0500</pubDate>

        

        <jf:creationDate>Mon, 20 Mar 2006 00:45:27 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 20 Mar 2006 00:45:27 -0500</jf:modificationDate>
        <jf:date>Mar 20, 2006</jf:date>
        <jf:author>Heinz Kabutz</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>javadocs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>Goodness me, to date I have not had the priviledge of seeing a <b>single</b> commercial application which had a complete set of JavaDocs.</blockquote><br>JavaDoc is a great investment. We have always JavaDoc'd everything .. even all fields,...]]></description>
        

        <pubDate>Sun, 19 Mar 2006 21:49:50 -0500</pubDate>

        

        <jf:creationDate>Sun, 19 Mar 2006 21:49:50 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 19 Mar 2006 21:49:50 -0500</jf:modificationDate>
        <jf:date>Mar 19, 2006</jf:date>
        <jf:author>Cameron Purdy</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Cat in a box</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>You can cast assign a parameter List&lt;? super Cat&gt; to an object of type List&lt;Animal&gt; without any compiler warnings.</blockquote><br>Hmm...how do you do that. I get:<br><br>&quot;cannot convert from List&lt;capture-of ? super...]]></description>
        

        <pubDate>Sun, 19 Mar 2006 17:55:32 -0500</pubDate>

        

        <jf:creationDate>Sun, 19 Mar 2006 17:55:32 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 19 Mar 2006 17:55:32 -0500</jf:modificationDate>
        <jf:date>Mar 19, 2006</jf:date>
        <jf:author>greg matthews</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Cat in a box</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>That is flatly not true. List&lt;? super Cat&gt; is a List which you can put Cats into. You have no idea what is in there already.</blockquote><br>In this case, wouldn't you likely only be interested in the Cat methods/properties of objects...]]></description>
        

        <pubDate>Sun, 19 Mar 2006 17:34:40 -0500</pubDate>

        

        <jf:creationDate>Sun, 19 Mar 2006 17:34:40 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 19 Mar 2006 17:34:40 -0500</jf:modificationDate>
        <jf:date>Mar 19, 2006</jf:date>
        <jf:author>greg matthews</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Guessing types of Generics</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote><blockquote>JavaDoc certainly helps, when people actually use it!  Goodness me, to date I have not had the priviledge of seeing a <b>single</b> commercial application which had a complete set of JavaDocs.  I even wrote a <a...]]></description>
        

        <pubDate>Sun, 19 Mar 2006 13:25:05 -0500</pubDate>

        

        <jf:creationDate>Sun, 19 Mar 2006 13:25:05 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 19 Mar 2006 13:25:05 -0500</jf:modificationDate>
        <jf:date>Mar 19, 2006</jf:date>
        <jf:author>Heinz Kabutz</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Guessing types of Generics</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>JavaDoc certainly helps, when people actually use it!  Goodness me, to date I have not had the priviledge of seeing a <b>single</b> commercial application which had a complete set of JavaDocs.  I even wrote a <a...]]></description>
        

        <pubDate>Sat, 18 Mar 2006 06:47:15 -0500</pubDate>

        

        <jf:creationDate>Sat, 18 Mar 2006 06:47:15 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 18 Mar 2006 06:47:15 -0500</jf:modificationDate>
        <jf:date>Mar 18, 2006</jf:date>
        <jf:author>Matthias Ernst</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Taxonomies</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[Hi Lee,<br><br>the DAO does use the Strategy pattern.<br><br>Let's say that you had a hierarchy of Data Objects, and you wanted the DAO system to be in place from the root object.<br><br>You could then define a DAO interface at the top level with create...]]></description>
        

        <pubDate>Sat, 18 Mar 2006 02:04:51 -0500</pubDate>

        

        <jf:creationDate>Sat, 18 Mar 2006 02:04:51 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 18 Mar 2006 02:04:51 -0500</jf:modificationDate>
        <jf:date>Mar 18, 2006</jf:date>
        <jf:author>Heinz Kabutz</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Taxonomies</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[Harking back to the original article, it is really common to have multiple taxonomies of classes that have the same structure.<br><br>Example: You have base classes for houses, cars and people. You have blue cars owned by blue people who drive blue cars...]]></description>
        

        <pubDate>Fri, 17 Mar 2006 18:04:31 -0500</pubDate>

        

        <jf:creationDate>Fri, 17 Mar 2006 18:04:31 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 17 Mar 2006 18:04:31 -0500</jf:modificationDate>
        <jf:date>Mar 17, 2006</jf:date>
        <jf:author>Lee Meador</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Switch and Goto</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[Exactly my point!<br><br>1) When the conditions for the &quot;switch&quot; are similar in important ways, it is easy to use polymorphism to replace the &quot;switch&quot; statement.<br><br>2) Java's switch statement only allows conditions that are pure...]]></description>
        

        <pubDate>Fri, 17 Mar 2006 15:30:49 -0500</pubDate>

        

        <jf:creationDate>Fri, 17 Mar 2006 15:30:49 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 17 Mar 2006 15:30:49 -0500</jf:modificationDate>
        <jf:date>Mar 17, 2006</jf:date>
        <jf:author>Lee Meador</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Interfaces/Plugins</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39454</link>

        

        
            <description><![CDATA[<blockquote>Nor a &quot;Generics specialist&quot; --&gt; Oxymoron?</blockquote>Obviously not. I do hope that was a joke!<blockquote>I don't trust the esteemed professor's coding talent if he even wrote code that had that many switch statements in it in...]]></description>
        

        <pubDate>Fri, 17 Mar 2006 14:41:20 -0500</pubDate>

        

        <jf:creationDate>Fri, 17 Mar 2006 14:41:20 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 17 Mar 2006 14:41:20 -0500</jf:modificationDate>
        <jf:date>Mar 17, 2006</jf:date>
        <jf:author>Radu-Adrian Popescu</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

