IIRC, it was a series of single-method interfaces. Each method returned the Builder type, except the "last" method, which returned the target type. The builder implemented all the interfaces and returned this for every implemented method.
The point was to have the IDE's auto-complete guide you through the use of the builder. The FEST-Reflect library is a very good example of this kind of builder. Moandji On Fri, Nov 20, 2009 at 9:49 PM, Jesper de Jong <[email protected]> wrote: > Hello Dick, > > In your presentation at Devoxx this week (which was very interesting!) > you showed a slide that demonstrated a builder pattern in Java, with a > number of interfaces. It looked interesting, but I forgot the exact > details of how it looked. Can you please share it here? > > regards > Jesper de Jong > > -- > > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=. > > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=.
