| Author |
List of Patterns used in Java SE
|
Nachiket Patel
Ranch Hand
Joined: Sep 16, 2007
Posts: 110
|
|
Hello guys, Lets put all patterns [with reference] used in Java SE. Template: [---PatternName---] Ref: [ClassName] Detail: Regards, Nachiket
|
Before software can be reusable, it first has to be usable. - Ralph Johnson
|
 |
Nachiket Patel
Ranch Hand
Joined: Sep 16, 2007
Posts: 110
|
|
[---Singleton---] Ref: [java.lang.Runtime] Detail: Runtime.getRuntime() returns single instance of Runtime.
|
 |
Brian Legg
Ranch Hand
Joined: Nov 07, 2008
Posts: 488
|
|
|
I'm not sure about the template info, but one of my favorite patterns is the Factory pattern.
|
SCJA
~Currently preparing for SCJP6
|
 |
Krishnamurthy Sivakumar
Greenhorn
Joined: May 29, 2008
Posts: 3
|
|
|
Decorator pattern - java.io.*Stream
|
 |
Punit Singh
Ranch Hand
Joined: Oct 16, 2008
Posts: 952
|
|
[---factory method---]
Ref: [Calendar], [DateFormat], [NumberFormat]
[---Iterator patter---]
Ref:[Java.util.Iterator]
|
SCJP 6
|
 |
Chaminda Amarasinghe
Ranch Hand
Joined: May 17, 2006
Posts: 402
|
|
[---MVC---]
Ref: [Button]
All swing components adhere the MVC
|
 |
Sai Swami
Ranch Hand
Joined: Sep 24, 2002
Posts: 51
|
|
Flyweight Pattern
--> java.lang.String
|
 |
 |
|
|
subject: List of Patterns used in Java SE
|
|
|