classification
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 boutiqueHow Java handles NPE issues gracefully
1. Foreword For Java developers, null is a troublesome type, and NPE can occur if you are not careful...
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 boutiqueJava 8 Time Api User Guide Collector's Edition
1. overview
Java 8 introduces new APIs for Date and Time to solve the problem of old java.util.Date and java.util.Ca...
Free boutiqueMerge operations for Java Stream streams
1. Introduction Java Stream Api provides many useful Apis that make it convenient for us to combine collections or multiple similar types...
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 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 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 boutiqueFull analysis of Collectors in java8
1. The preface mentioned Collectors in an article about Collection removal elements yesterday. Believe a lot...
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 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 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 boutiqueFutureTask in Java
1. The previous article in the preface briefly introduced the Future interface in Java, leaving a hole. I will make up for it today...
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