classification
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 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 boutiqueJava Collection Collation Interface Comparator
1. The preface recently used set sorting (based on Java 8). Now I use Stream whenever I can,...
Free boutiqueFutureTask 2 in Java
1. The first two chapters of the preface briefly analyze the Future interface and FutureTask. This article will introduce the use of FutureTask...
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 boutiquePrinciples of Java Code Generator
1. Foreword I wrote an article about the Mybatis Plus code generator a few days ago, and many students privately asked me about this code...
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 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 boutiqueDesign pattern: Talk about strategic pattern from the design of aggregated payment services
1. preface
Mobile payment is now very popular in China, and even the seventies-year-old lady at the breakfast stall downstairs uses it...
Free boutiqueWhen calculating in Java development, please be sure to use BigDecimal to calculate. BigDecimal summarizes and summarizes
Preface Today, a junior developer in the group asked why the tester tested that the price calculation module he wrote had calculation deviations...
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 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 boutiqueInterpretation of the 2020 JVM Ecosystem Report
1. Foreword The 2020 JVM Ecosystem Report has been released. The report was produced by British software security service provider Snyk and Ora...
Free boutiqueFuture interface in Java
1. Introduction Java 1.5 provides the java.util.concurrent.Future interface to handle asynchronous calls and concurrency...
Free