Design Patterns • JavaSE • Relevant topics

Flyweight Pattern

by:

Flyweight is a structural pattern that is used to reduce the number of objects created and to decrease memory footprint and increase performance. Flyweight tries to …

Design Patterns • JavaSE • Relevant topics

Decorator Pattern

by:

Decorator is a structural pattern that allows a user to add new functionality to an existing object without altering its structure. This pattern creates a decorator …

Design Patterns • JavaSE • Relevant topics

Memento Pattern

by:

Memento is a behavioral pattern that is used to restore state of an object to a previous state. Memento pattern uses three actor classes. Memento class …

Uncategorized

Introduction to Spring Integration

by:

Spring Integration provides an extension of the Spring programming model to support the well known Enterprise Integration Patterns. It embodies some of the finest and most …

Design Patterns • JavaSE • Relevant topics

Iterator Pattern

by:

Iterator Pattern is a behavioral pattern which is used to get a way to access the elements of a collection object in sequential manner without any …

Design Patterns • JavaSE • Relevant topics

Prototype Pattern

by:

Prototype Pattern is a creational pattern which refers to creating duplicate object while keeping performance in mind. This pattern involves implementing a prototype interface which tells …

Concurrency • JavaSE • Relevant topics

Working with Parallel Streams

by:

Streams were introduced in Java 8. One of the powerful features of Streams API is that it has built-in concurrency support. Serial Stream is a stream …

Interfaces • JavaSE • Relevant topics

Static Interface Methods

by:

Since Java 8, authors have introduced support for static methods within interfaces. This methods are defined explicitly with the static keyword and function nearly identically to …

Common • JavaSE • Relevant topics

Default Interface Methods

by:

With the release of Java 8, the authors of Java have introduced a new type of method to an interface, referred to as default method. A …

Design Patterns • JavaSE • Relevant topics

Singleton Pattern

by:

Singleton Pattern is a creational pattern, one of the simplest design patterns in Java. This pattern involves a single class which is responsible for creating an …