classification
boutiqueMap and flatMap operations in Java 8 Stream Api
1. preface
Java 8 provides a very easy-to-use Stream API that makes it easy to manipulate collections. Today we come...
Free boutiqueDetailed usage guide for the Java 8 Stream API
1. overview
An important feature introduced by Java 8 is undoubtedly the Stream API. Stream translates as "stream"...
Free boutiqueJava random number traps
preface
We should be familiar with random numbers. We use them to generate Captcha in business, or we have low requirements for repeatability...
Free boutiqueDiscussion on Functional Programming
1. Foreword has become busy recently, and there is less and less time to write. I started trying in Java development these days...
Free boutiqueFuture interface in Java
1. Introduction Java 1.5 provides the java.util.concurrent.Future interface to handle asynchronous calls and concurrency...
Free boutiqueWould you rather know introspection if you only know java reflection?
1. Foreword In the previous article, we encapsulated a Mybatis universal Mapper. To get entity class attributes, I used...
Free boutiqueGet file path in java
1. Introduction In Java development, we often need to obtain the path of a file, such as reading configuration files, etc. Today we will...
Free boutiqueSummary of core knowledge of java annotation
1. preface
A few years ago, our project was still running on structs 2, and once I asked a colleague if he knew
Spring...
Free boutiqueSharing some practical skills for Java ServletRequest
1. preface
ServletRequest is a Servlet Api that we often come into contact with when working on Java Web. Sometimes I...
Free boutiqueComparator and Comparable in Java
1. The previous article in the preface briefly explained java.util.Comparator. Today we will take a look at another one and...
Free boutiqueUnder what circumstances cannot Java generics be used
1. Introduction Java 1.5 introduces generics to ensure type safety, prevent type conversion exceptions at run time, and allow classes to...
Free boutiqueJava 14 New Features: JEP 359 Records(Preview)
1. Foreword Java 14 should be officially released this month (2020-03). There is a feature that the Java community has been calling for for a long time...
Free boutiqueFrom Java 9 to Java 17 to Java 10
In the previous article, we reviewed some features of Java 9, and today we will take a look at what features Java 10 brings...
Free boutiqueJava enumerates implement state machines to streamline your state change logic
preface
I believe that many java developers have written about status changes, such as order processes, leave processes, etc. Generally...
Free