Java Articles, Tutorials & News

Java Feature Spotlight: Sealed Classes

The release of Java SE 15 in Sept 2020 will introduce “sealed classes” (JEP 360) as a preview feature. A sealed class is a class or interface which restricts which other classes or interfaces may extend it. Sealed classes, like enums, capture alternative…

Read more »

Java.util.BitSet Class

Java.util package provides a BitSet class which implements a vector of bits that grows as needed. Each component of the bit set has a boolean value. The bits of a BitSet are indexed by nonnegative integers. By default, all bits in the set initially have t…

Read more »

Hashing in Java

Hashing is an interesting technique we need to use in standard java solutions such as services and microservices. SHA-256 is a secure hash …

Read more »

Java Paseto Library

A library for creating and parsing Paseto in Java. Contribute to paseto-toolkit/jpaseto development by creating an account on GitHub.

Read more »