Tags » Design Pattern

Singleton using Lazy Holder pattern in Java

package com.sudharsan.examples;

public class Singleton {

private Singleton() {

}

public static class LazyHolder {

private static final Singleton singleton = new Singleton();

public static Singleton getInstance() {

return singleton;

}

}

}

observer design pattern

Here is the definition of observer design pattern

The observer is know as a behavioral pattern, as it’s used to form relationship between object at run time.

652 more words
D2c

Golang Cryptography Part II

Hello friends, after Cryptography Part I  back with my first example of crypto. Golang has a package AES. In the further blog, I will write a Client Server application, which runs on the encrypted data. 517 more words

Coding

Golang Cryptography Part I

Hello friends, my job profile deals a lot with security. From last one year I have been working with Microsoft Crypto Providers, Openssl engines and lot’s of stuff. 583 more words

Coding

Observer Design Pattern

Behavioral (davranışsal) tasarım kalıplardan olan observer pattern sık kullanılır. One to many ilişkili birden fazla nesneden oluşur. Bir nesne değiştiği zaman, ona bağlı diğer nesnelerde otomatik olarak değişmektedir. 616 more words

Yazılım

A One Pager Tutorial of Go

Hello programmers, how are you guys. A friend asked me for a crash course on Golang. So, I am making it really short. This post will be helpful for programmers who are new to Go and don’t know where to go in Golang. 1,816 more words

Coding