包含标签:Java 的文章
-
The difference between wait and sleep in Java
In this article, we will discuss the differences between wait () and sleep () methods in Java. And discuss how to use …… -
New gitbook export pdf
NPM module of gitbook Markdown PDF using vscode plug-in use Command@R_675_2419 @ GitBook Exporter -
Introduction and use of ThreadPool in Java
Thread pool introduction Executors, executor and executorservice ThreadPoolExecutor ScheduledThreadPoolExecutor ForkJo…… -
Junior sister learning java IO: what about writing files
brief introduction Younger martial sister has put forward a lot of strange requirements for senior brother F, to forma…… -
Implementing if / else logic in Java 8 stream expressions
brief introduction In stream processing, we usually encounter the judgment of if / else. How do we deal with such prob…… -
Java secure coding guide: the use of ThreadPool
Introduction @ h_ 502_ 21 @ in Java, in addition to using a single thread, we also use ThreadPool to build a thread po…… -
The difference between interrupt, interrupted and isinterrupted in Java
In the previous article, we talked about calling interrupt () to stop a thread. This article will explain in detail th…… -
Use of threadlocalrandom in Java
Use of threadlocalrandom in Java In Java, we usually need to use Java util. Random to facilitate the production of ran…… -
Classification and use of functional interfaces in Java
brief introduction Java 8 introduces lambda expression, which actually represents an anonymous function. Before Java 8…… -
Detailed explanation of internal classes and internal interfaces in Java
brief introduction Generally speaking, when we create classes and interfaces, each class is a file, and each interface…… -
Use jmh (Java microbenchmark harness) in Java for performance test
The full name of jmh is java microbenchmark harness, which is a suite used for performance testing in open JDK. The su…… -
Deep understanding of Java generics
brief introduction Generics is a concept introduced by JDK 5. Generics are mainly introduced to ensure the security of…… -
It’s 2020. Don’t you know these five java ide artifacts?
Tiobe's programming language ranking list came out in April. Java still ranks first, and the latest version of Java ha…… -
Maven’s build lifecycle and common plugins
brief introduction Maven and gradle should be the two building tools most used by modern Java programmers. Before they…… -
Java safe coding guide: thread safety rules
brief introduction If we introduce shared variables into multithreading, we need to consider thread safety in multithr…… -
You must know the java reference type — a detailed explanation of the source code of ReferenceQueue
definition ReferenceQueue is a reference queue used to store reference objects to be recycled. explain For soft refere…… -
You must know the type of java reference — detailed explanation of softreference source code
definition Softreference is a soft reference, and its referenced objects will be recycled when memory is insufficient.…… -
Java zero foundation entry series – day14 cloning of Java objects
Today we will introduce a concept, object cloning. This article is difficult. Please be prepared first. If you don't u…… -
[introduction to Java] day27 detailed explanation of Java container class (IX) detailed explanation of LinkedList
This time, let's introduce LinkedList, another practitioner of the list interface. It is a list interface practitioner…… -
Open source a set of original text processing tools: java + bat script to realize automatic batch processing of statement tools
Original / Zhu Jiqian This tool was developed by the author in early 2018. After two years, I accidentally thought of …… -
[introduction to Java] day23 Java container class (VI) HashMap source code analysis (middle)
In the previous article, the basic contents of HashMap were introduced in detail, and the get and put methods were ana…… -
[introduction to Java] Day8 Java inner class — anonymous inner class
Today, let's look at another more magical class - anonymous inner class. As its name indicates, this class is anonymou…… -
Java zero foundation entry series – classes and objects in Day11 Java
@H_ 403_ 1 @ today we are going to talk about two very important concepts in Java - classes and objects. What is a cla…… -
[introduction to Java] comparison of day3 abstract classes and interfaces
We've finished talking about abstract classes and interfaces. Now let's make a comparison. In fact, to be honest, ther…… -
[introduction to Java] Day12 Java agent – cglib dynamic agent
Today, let's introduce another more powerful agent, cglib dynamic agent. What is cglib dynamic proxy? Let's first revi…… -
[introduction to Java] Day7 Java internal classes – local internal classes
Today we introduce the second inner class, the local inner class. What are local inner classes? As the name suggests, …… -
You must know the type of java reference — a detailed explanation of the source code of WeakReference
Define @ h_ 403_ 1 @ WeakReference is a weak reference, which will not affect the collection of objects by the garbage…… -
How to write a singleton pattern for performance optimization
Singleton model is the most common design pattern in interview. It is an object creation pattern used to generate a sp…… -
Java zero foundation entry series – Day7 Java input and output
This article mainly introduces the input and output of Java. Of course, this is about the input and output under the c…… -
[introduction to Java] day16 Java exception handling (Part 1)
Dangdang, Dangdang, ladies and gentlemen, I haven't seen you for a long time. I miss you very much. Today, let's talk …… -
You must know the java reference type — reference source code analysis
definition Reference refers to the reference object itself, and referent refers to the object referenced by reference.…… -
Java zero foundation entry series – the big value in Day9 Java
What is a large value? Think with your toes. Of course, it is a "large" value (233). There are two classes used to rep……