classification
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 boutiqueSharing tips for java enumeration
1. Introduction Java enumerations are very useful in development. Today, let's analyze a few tips and answer some students 'questions...
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 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 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 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 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 boutiqueJava rapid development QR code generation service
1. Preface I don't know when it started, but our lives were suddenly filled with QR codes, even the chickens of the ladies on the street...
Free boutiqueJava Collection Collation Interface Comparator
1. The preface recently used set sorting (based on Java 8). Now I use Stream whenever I can,...
Free boutiqueJava Development Tips: Reduce the Use of Magic Points
1. Preface When refactoring old code, I encountered similar writing:
public void attend(String value)...
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 boutiqueSubscription and publishing model in Java programming
1. Foreword Quick Hand released "Seeing" the day before yesterday, received rave reviews, overshadowed the previous "Hou Lang". Nowadays, inside...
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 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