java explorer

Pages

  • Home
  • Design Patterns
  • DS & Algo
  • Core Java
  • Garbage Collection
  • Multithreading
  • Serialization
  • DP
  • Java Hacks
  • ENUM
  • Collections
Showing posts with label Index. Show all posts
Showing posts with label Index. Show all posts

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



Posted by Rajesh Dixit at 14:18:00 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Index
Older Posts Home
Subscribe to: Posts (Atom)
Related Posts Plugin for WordPress, Blogger...

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 (239) Data Structure & Algorithms (85) DBMS (3) Design Patterns (23) Divide & Conquer (1) Dynamic programming (13) enum (10) Exception (19) Executor (2) Flipkart (1) Garbage Collection (14) 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 (5) Java Networking (1) JDBC (2) jdk 1.7 (3) 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 (21) Probability (1) Puzzle (1) Queue (3) Reflection (1) 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 (96)
    • ▼  July (1)
      • Java | Reverse a String without using String class...
    • ►  June (14)
    • ►  May (40)
    • ►  April (13)
    • ►  March (6)
    • ►  February (8)
    • ►  January (14)
  • ►  2016 (158)
    • ►  December (9)
    • ►  November (5)
    • ►  October (9)
    • ►  September (4)
    • ►  August (10)
    • ►  July (18)
    • ►  June (18)
    • ►  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

  • Create own HashMap
    1. Data Structure need to store the Store the key-value pair. Make an  Entry  class to store the HashMap Entries. Variable:  key, valu...
  • Minimize mutability or Create an immutable class
    An immutable class is simply a class whose  instances   cannot be modified. All of the information contained in each instance is provided ...
  • To Maximize the Probability of Red Marble
    You have 50 red balls and 50 blue balls, you have to place these balls in two containers in such a way that probability of a person pickin...
  • Why ConcurrentHashMap does not allow null keys and null values?
    ConcurrentHashMap does not allow null keys and null values According to  Doug lea  ( author of the ConcurrentHashMap ) The main re...
  • What are disadvantages of deep cloning using Serialization?
    Disadvantages of using Serialization to achieve deep cloning 1. Serialization is more expensive than using object.clone(). 2. Not ...
  • Java | Reverse a String without using String class function
    package com.java.tricks; import java.lang.reflect.Field; public class ReverseString {      /**       * This method is u...
  • Advantages and Disadvantages of Lock in Java
    Advantages of ReentrantLock in Java 1) Ability to timeout while waiting for lock using Lock.tryLock(long timeout, TimeUnit timeUnit). ...
  • Find the next smallest palindrome for a number
    For a given a number, find the next smallest palindrome larger than this number. Examples: 1. If the input number is “3 4 6 5 6”, ...
  • Java Object Cloning
    Object Cloning in Java A  clone   is an exact copy of the original.  In java, it essentially means the ability to create an object wit...
  • name and values method of enum
    name method of enum Enum name() is a static method which can be used to return the name (String) of enum. enum Day {       ...

Queries

Name

Email *

Message *

debug_rajesh. Powered by Blogger.