Skip to content

Java Design Patterns in the MPS Sources

This page lists three examples or less per Java design pattern ⧉ in the MPS source code. The headers link to explanations and demos for the corresponding design patterns in the Java world.

Creational Patterns

Abstract Factory¶ ⧉

Builder¶ ⧉

Factory Method¶ ⧉

Prototype¶ ⧉

Singleton¶ ⧉

Structural Patterns

Adapter¶ ⧉

Bridge¶ ⧉

Composite¶ ⧉

Decorator¶ ⧉

Facade¶ ⧉

Flyweight¶ ⧉

Proxy¶ ⧉

Behavioral Patterns

Chain of Responsibility¶ ⧉

Iterator¶ ⧉

Memento¶ ⧉

State¶ ⧉

Template Method¶ ⧉

Command¶ ⧉

Mediator¶ ⧉

Observer¶ ⧉

Strategy¶ ⧉

Visitor¶ ⧉

Comments