Coding Gems

Pages

  • Home
  • Design Patterns
  • DS & Algos
  • Core Java
  • Garbage Collection
  • Multithreading
  • Serialization
  • DP
  • ENUM
  • Exception
  • Java Hacks

Thursday, 10 November 2016

Design Patterns & Principles

Design patterns and principles
1.
Design Principle vs. Design Pattern
2.
What algorithm is used in modern day elevators?
3.
Singleton Design Pattern - A Creational Design Patterns
4.
Factory Method Pattern (Virtual Constructor)
5.
Prototype Design Pattern
6.
Builder Design Pattern in Java
7.
Abstract Factory
8
Proxy Pattern
9
Flyweight Pattern - A Structural design pattern
10
Decorator design pattern
11
Adapter Pattern
12
Bridge Pattern
13
Composite Pattern
14
Facade pattern
15
Template Method Pattern
16
Strategy Pattern (Policy Pattern) - A behavioral design pattern
17
Iterator pattern or Cursor
18
Mediator pattern
19
Memento Design Pattern in Java
20
Observer pattern or Publish-subscribe pattern
21
State
22
Pizza Factory design in Java



By Rajesh Dixit at November 10, 2016
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Index

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Related Posts Plugin for WordPress, Blogger...

Search This Blog

About Me

Rajesh Dixit
View my complete profile

Contents

Annotations (2) Arrays & Lists (25) atomic (1) Binary Tree (8) Bit Algorithms (5) Caching (1) Class Loaders (2) Cloning (9) Code Coverage (5) Coding Interview (4) Collection (45) Core Java (236) Data Structure & Algorithms (84) DBMS (3) Design Patterns (23) Divide & Conquer (1) Dynamic programming (12) enum (10) Exception (19) Executor (2) Flipkart (1) Garbage Collection (15) GCD-LCM (1) Generics (1) Geometric (2) Goldman Sachs (1) Greedy (2) Hibernate (11) Idempotency (3) Immutability (2) Index (1) Interviewer (1) Java bugs (1) Java Hacks (18) Java IO (4) Java Networking (1) JDBC (2) jdk 1.7 (2) jdk 1.8 (1) JVM (17) Map Interface (19) Mathematical (1) Message Formatting (2) Multithreading (67) Must Do (1) Networking (1) Object Oriented Design problem (1) Object Oriented Programming (22) Probability (1) Puzzle (1) Queue (3) Secure coding (5) Security (3) Semaphore (1) Serialization (26) SGM (10) Shutdown Hook (2) Software Testing (1) SOLID principles (6) SONAR Rules (2) Sorting & Searching (4) Spring (28) SQL (5) Stack (1) Struts 2.x (1) Triangle (1) Web technologies (18)

Blog Archive

  • ►  2017 (97)
    • ►  July (2)
    • ►  June (14)
    • ►  May (40)
    • ►  April (13)
    • ►  March (6)
    • ►  February (8)
    • ►  January (14)
  • ▼  2016 (155)
    • ►  December (9)
    • ▼  November (5)
      • Chain of Responsibility Design Pattern
      • Facade pattern
      • Design Patterns & Principles
      • Enum constant should be the first field in the enum
      • What is Interceptor in Struts2?
    • ►  October (8)
    • ►  September (4)
    • ►  August (9)
    • ►  July (18)
    • ►  June (17)
    • ►  May (46)
    • ►  April (3)
    • ►  March (6)
    • ►  February (21)
    • ►  January (9)
  • ►  2015 (223)
    • ►  December (10)
    • ►  November (32)
    • ►  October (70)
    • ►  September (30)
    • ►  August (45)
    • ►  July (36)

Popular Posts

  • Design a data structure that supports insert, delete, search and get random in constant time
    Perform Insert/Delete/Search/Get Random operations in O(1) No predefined data structure that satisfies all these requirements. Insertion sup...
  • Object oriented design for a Restaurant
    Let we start to design Object Oriented architecture of restaurant. Before start the design, we need to understand how a restaurant works. Co...
  • Important points about Enum in Java
    1. Enum is type-safe and has its own name-space. We cannot assign any value other than specified in Enum Constants to Currency variable coin...
  • Hibernate named query examples
    Scattered HQL string literals in Java code are hard to maintain and look ugly. To avoid it, Hibernate come out a technique called “ names qu...
  • final, finally and finalize
    final keyword final is used to apply restrictions on class, method and variable. final class can't be inherited. final method can't ...
  • Prototype Design Pattern
    This pattern is used when creation of object directly is costly. Prototype Pattern says that  cloning of an existing object instead of creat...
  • Serialization Methods: readObject(), writeObject(), writeReplace(),readResolve()
    Java serialization is automatic by implementing Serializable interface. The implementation is present in the ObjectInputStream and ObjectOut...
  • What is the problem if I synchronized only setters to make an object Thread-safe?
    Scenario Make setters synchronized only public class ThreadSafeObject {     private int value ;     public int getValue() {         re...
  • Covariant return type
    In object-oriented programming, a covariant return type of a method is one that can be replaced by a "narrower" type when the meth...
  • Check if two given strings are isomorphic to each other
    Check if two given strings are isomorphic to each other Given two strings s and t , determine if they are isomorphic. Two strings are isom...

Queries

Name

Email *

Message *

Report Abuse

debug_rajesh. Powered by Blogger.