Tag: java

Total 196 Posts

Java 8 - Stream.map() Examples

Introduction

A Stream is a sequence of objects that supports many different methods that can be combined to produce the desired result.

They can be created from numerous data sources, which are most often collections but can also be I/O channels, Arrays, primitive data types etc.

It's important to

Continue Reading

Set Up Gated Checkin for Spring Boot Projects with Github and Jenkins

Introduction

One of the biggest challenges the developers are facing is being Agile or, in other words, being able to deliver stable releases of the products on time. With every Sprint, we need to deliver new features, bug-free features.

And why bother with building, testing, and deploying manually when we

Continue Reading

Using Global Variables/Constants in Java

Introduction

Java's object-oriented code structure can make referencing variables in multiple places more difficult. It can also be difficult at times to decide which class a given variable should be a part of, especially if it's a widely used value like a database connector or mathematical constant.

In many languages,

Continue Reading