包含标签:Java 的文章
-
Use of operation type and peek in Java 8 stream
Use of operation type and peek in Java 8 stream brief introduction As a stream operation, Java 8 stream has two types …… -
Use of ThreadLocal in Java
ThreadLocal is mainly used to store data for the current thread, which can only be accessed by the current thread. Whe…… -
Implementation of non blocking algorithm (lock free)
Implementation of non blocking algorithm (lock free) In the last article, we talked about the disadvantages of using l…… -
New features of jdk10: VAR generics and multiple interface implementations
brief introduction In the new feature of jdk10: local variable type VaR, we talked about why and how to use var. Today…… -
Lambda expression best practices
brief introduction Lambda expression is a functional programming framework introduced by Java 8. In previous articles,…… -
Junior sister learning java IO: those strange buffers in NiO
brief introduction Demons and monsters show up quickly. Today, senior brother f helped the younger martial sister to k…… -
Java secure coding guide: double detection of locks
brief introduction Double detection locking mode is a design mode. We reduce the cost of acquiring locks by detecting …… -
Spring Boot 2. X Series tutorial: seven days from scratch to master spring boot – continuous update
brief introduction Since the birth of spring, spring has become the de facto J2EE standard. As a lightweight J2EE appl…… -
Use site Maven plugin to build a public warehouse on GitHub
brief introduction Maven is a building tool we often use in developing Java programs. In the process of team developme…… -
Troubleshoot: using jfr to analyze performance problems
brief introduction The performance analysis of Java program is a very difficult problem. Especially for a very complex…… -
Non blocking synchronization mechanism and CAS
Non blocking synchronization mechanism and CAS We know that before Java 5, synchronization is achieved through the syn…… -
New features of jdk11: http API and reactive streams
New features of jdk11: http API and reactive streams brief introduction In the new feature of jdk11: new HTTP API, we …… -
Five important new features of jdk12
Five important new features of jdk12 Introduce JVM constant API Extended switch statement Unicode 11.0 support Square …… -
New feature of jdk12: compactnumberformat
New feature of jdk12: compactnumberformat brief introduction Jdk12 introduces a new class for formatting numbers calle…… -
The use of futuretask in Java
Introduction to futuretask Conversion of callable and runnable Run as runnable -
[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…… -
[introduction to Java] day28 detailed explanation of Java container class (x) detailed explanation of LinkedHashMap
Today, let's introduce LinkedHashMap, another hash table in the container class. This is the closing disciple of HashM…… -
[introduction to Java] day31 detailed explanation of Java container class (XIII) detailed explanation of TreeSet
After the introduction of treemap in the previous article, let's take a look at the more water TreeSet. This paper wil…… -
Member variables and local variables of Java variables and their operation mechanism
Java language divides variables into member variables and local variables according to the different positions of vari…… -
[introduction to Java] Day11 Java agent – JDK dynamic agent
Today, let's take a look at another proxy method of Java - JDK dynamic proxy The proxy method we introduced earlier is…… -
Traversal operation of ArrayList and LinkedList
summary A well-known little knowledge of a java program is that ArrayList and LinkedList are best deleted by iterator …… -
One of the java reference types you must know – soft reference
definition Soft reference is a reference created by using softreference. Its strength is weaker than that of strong re…… -
[introduction to Java] Day24 Java container class (VII) HashMap source code analysis (II)
KeySet Let's take a look at the keyset first. The member variable keyset in HashMap saves all key sets. In fact, this …… -
[introduction to Java] day18 Java container class (I) collection interface
Today, let's take a look at a big guy in Java, that is, container. The so-called container is specifically used to hol……