classification
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 boutiquePrinciples of Vernacular Design Models
Why design patterns are needed
In fact, we can complete the development work without a design pattern. But why design...
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 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 boutiqueSkip and limit operations in Java 8 Stream Api
1. preface
The skip () and limit () methods in the Java 8 Stream API have similar effects. They all...
Free boutiqueFrom Java 9 to Java 17 to Java 11
Java 11 is another LTS version since Java 8 and is currently one of the most used LTS versions in the world. Today I...
Free boutiqueJava 9 to Java 17
Java 17 is one of the most important LTS releases of Java, but the direct transition from Java 8 to Java 17 is too long.
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 boutiquePeek operation in Java 8 Stream Api
1. Preface I described the map operation in the Java 8 Stream API in the detailed usage guide of the Java 8 Stream API...
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 boutiqueJSON Class Library Jackson Elegantly Serializes Java Enumeration Classes
1. Preface In Java development, in order to avoid too many magic values, we use enumeration classes to encapsulate some static state generations...
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 boutiqueResponsibility Chain Model of Design Model
preface
Many frameworks such as mybatis plug-ins, servlets filter, dubbo, security frameworks such as Spring sec...
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