Interpreter Design Pattern

Type: Behavioral Design Pattern


Summary :

Interpreter design pattern is a behavioral design pattern. It is used to interpret or evaluate an expression(like sentence, query, mathematical expression etc). 


In this pattern Expression is considered to be composition or Terminal Expression and Compound Expressions. 


Example: 

SQL Squery,  Search engine query processing are example for Interpreter design pattern.

Comments

Popular posts from this blog

Converting Java Map to String

Invoking EJB deployed on a remote machine

Difference between volatile and synchronized