排序
Command Pattern
Command Pattern, What is Command Pattern? Command pattern is a behavioral pattern that encapsulates a request as an independent object, thereby letting you pass requests as method ...
Singleton Pattern
Singleton Pattern, What is Singleton Pattern? The singleton pattern is a creational pattern that ensures a class has only one instance, and provides a global point of access to it....
Abstract Factory Pattern
Abstract Factory Pattern, What is Abstract Factory Pattern? Abstract Factory Pattern is a creational pattern that provides an interface for creating families of related or dependen...
Factory Pattern
Factory Pattern, What is Factory pattern? Factory pattern is a creational pattern that defines an interface for creating an object, but lets subclasses decide which class to instan...
Simple Factory
Simple Factory, What is Simple Factory? Simple factory is not design pattern. It simply decouples object creation from client code. In other words, Simple factory encapsulates obje...
Observer Pattern
Observer Pattern, What is Observer Pattern? Observer pattern is a behavioral pattern that defines a one-to-many dependency between objects so that when one object changes state, al...
Strategy Pattern
Strategy Pattern, What is Strategy Pattern? Strategy Pattern is behavioral pattern that defines a family of algorithms, encapsulates each one by putting them into a separate class,...
Dto, Vm, Vo, Entity, Domain, Bean, and Pojo reference Table
Dto, Vm, Vo, Entity, Domain, Bean, and Pojo reference Table ,I have compiled a table for easy reference on Dto, Vm, Vo, Entity, Domain, Bean, and Pojo, which are commonly used conc...
How computers represent integers: Two’s complement notation
How computers represent integers: Two's complement notation, Prerequisites You should know the things listed below if you want 0 WTFs as you read. Binary Why or how 5 bits can be u...
Optional: Handling NullPointer Graciously
Optional: Handling NullPointer Graciously, core-java-topics (2 Part Series) 1 Generics In Java 2 Optional: Handling NullPointer Graciously We all know about a billion dollar mistak...
Striver’s SDE Sheet Journey – #4 Kadane’s Algorithm
Striver's SDE Sheet Journey - #4 Kadane's Algorithm,HiDevs, In the previous post, we have solved and understood the Next Permutation problem and in this post, we will tackle the ne...
Striver’s SDE Sheet Journey – #3 Next Permutation
Striver's SDE Sheet Journey - #3 Next Permutation,HiDevs. Today we will understand the 3rd problem from the SDE-Sheet which is the Next Permutation. #3 Next Permutation In this pro...