User-submitted Design Patterns Projects

386
7654 reads
Madman0101's picture

Submitted by

Madman0101
Observer Pattern
This example demonstrates Observer Pattern in java. this example Observer Pattern Defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notifi
Run It Now!
324
4695 reads
Sharon's picture

Submitted by

Sharon
Bridge Pattern
This example demonstrates Bridge Pattern in java.Bridge Pattern Compose objects into tree structures to represent part-whole hierarchies.
Run It Now!
271
2379 reads
Rohan's picture

Submitted by

Rohan
Chain of Responsibility
this example demonstrates Chain of Responsibility in java.It avoids attaching the sender of a request to its receiver, giving this way other objects the possibility of handling the request too. - The
Run It Now!
202
1571 reads
adissaf's picture

Submitted by

adissaf
visitor pattern(1.01)
This example demonstrates Visitor Pattern in java.In this example Visitor Pattern Represents an operation to be performed on the elements of an object structure / Visitor lets you define a new operati

Enhancement Trail:  

visitor pattern(1.01)    visitor pattern





Run It Now!
187
1548 reads
Sharon's picture

Submitted by

Sharon
Composite Pattern
This example demonstrates Composite Pattern in java. The intent of this pattern is to compose objects into tree structures to represent part-whole hierarchies.
Run It Now!
187
1409 reads
Theunknownbone's picture

Submitted by

Theunknownbone
Template Method
This example demonstrates Template Method in java.Template Method define the skeleton of an algorithm in an operation, deferring some steps to subclasses / Template Method lets subclasses redefine cer
Run It Now!
185
1417 reads
Adrian999's picture

Submitted by

Adrian999
visitor pattern
This example demonstrates Visitor Pattern in java. In this example Visitor Pattern Represents an operation to be performed on the elements of an object structure / Visitor lets you define a new opera
Run It Now!
178
2096 reads
Theunknownbone's picture

Submitted by

Theunknownbone
Calculator driver
This example demonstrates Momento pattern in java. The intent of this pattern is to capture the internal state of an object without violating encapsulation and thus providing a mean for restoring the
Run It Now!
177
1481 reads
Madman0101's picture

Submitted by

Madman0101
Strategy
This example demonstrates Strategy in java. this example Strategy Define a family of algorithms, encapsulate each one, and make them interchangeable.
Run It Now!
153
1420 reads
Madman0101's picture

Submitted by

Madman0101
Mediator Pattern
This example demonstrates Mediator Pattern in java.Mediator define an object that encapsulates how a set of objects interact.
Run It Now!
Make & share a project and showcase your talent to the world!