Java
-
[JDK1.8] Java Xiaobai’s source code Learning Series: HashMap
Java Xiaobai's source code Learning Series: HashMap The Spring Festival was cancelled. I spent many days at home gnawi…… -
Encapsulation and access control of Java (1)
Encapsulation and access control of Java (1) I always think I understand the concept of encapsulation, but I really ca…… -
Super keyword of Java
Super keyword of Java Don't say much, just go to the code: Super is used to restrict the object to call instance varia…… -
[Java Concurrent Programming] ThreadLocal, which is often tested in the interview, learning the super detailed source code
What is ThreadLocal? For what? public class Thread implements Runnable { //线程内部局部变量 ThreadLocal.ThreadLoc…… -
The file class is used in Java to explain the file operation in detail
We can know that the data stored in the program is temporary. When the program terminates, the data stored in the prog…… -
[deep understanding of Java virtual machine] class loader and parental delegation model
Class loader For any class, the class loader that loads it and the class itself must jointly establish its uniqueness …… -
Xiaobai learns Java: strange randomaccess
Xiaobai learns Java: strange randomaccess When analyzing the source code of the three collections, we said that ArrayL…… -
Have you mastered these collection operations of Java 8?
If you don't know about lambda, you can refer to my previous summary on lambda expression: lambda expression in Java 8…… -
Xiaobai learns Java: so is the iterator
Xiaobai learns Java: so is the iterator In the previous article, we talked about the old iterator enumeration and the …… -
[string topic] experience of topic brushing
String flipping problem 344 reverse string Double pointer approach, the classic solution to the inversion problem, use…… -
Java array definition and initialization
Array definition and initialization The concept of array and points for attention Definition of array // 定义数组 char…… -
Java object oriented constructor
Java object oriented constructor Use the constructor to ensure initialization Function: perform initialization when cr…… -
Abstract classes and methods in Java
Abstract classes and methods in Java abstract conception The key word of this article is abstraction, so what is abstr…… -
Common API of Java string class
Common API of Java string class public class StringDemo { public static void main(String[] args) { String…… -
[dynamic programming] Yan’s DP analysis
Yan's DP analysis and explanation from acwing yxc. This paper is a note of several classic examples @ H_ 502_ 2@ @H_ 5…… -
Java process control (3) nesting
We talked about various loop structures before. There are for loops and while loops, which can complete repeated actio…… -
[daily question] intersection of two arrays
349. Intersection of two arrays The difficulty is simple 227 Given two arrays, write a function to calculate their int…… -
[daily question] top k high frequency elements
347. Top k high frequency elements Given a non empty array of integers, return the elements with the highest frequency…… -
Java: six states and transformations of threads
Java: six states and transformations of threads There are different opinions on thread life cycle in online books, whi…… -
Java object oriented interface (2)
Java object oriented interface (2) Portal: java object-oriented interface (1) Interface definition and implementation …… -
[Java Concurrent Programming] understand volatile keyword from CPU cache model to JMM
Three characteristics of concurrent programming Atomicity For one operation or multiple operations, either all operati…… -
Summary of common methods of stream API in Java 8
What is stream? Stream regards the set of elements to be processed as a stream. In the process of streaming, the strea…… -
Java array drill down
Java array drill down Array in memory As mentioned earlier, array is a reference type, and array reference variable is…… -
Java process control (IV) interrupt
In programming, the direct jump of the loop is very important. Although Java does not provide goto statements to contr…… -
Upward transformation of Java polymorphism
Upward transformation of Java polymorphism Polymorphism is the third feature of object-oriented. Advantages of polymor…… -
About Java running mechanism
The difference between compiled language and interpreted language Compiled language What is compilation? By searching …… -
Java process control (2) loop
while Loop int i = 0; while(i<10) { System.out.println(i); i++; } System.out.println("跳出循环!"); //输出…… -
Java: multithreading overview and creation method
Java: multithreading overview and creation method In the previous learning process, concurrency, thread and synchronou…… -
On the similarities and differences between interface and abstract class in Java
On the similarities and differences between interface and abstract class in Java Abstract classes and interfaces have …… -
-
Simple introduction to filter
The article was first published in: https://blog.csdn.net/Sky_QiaoBa_Sum/article/details/105042151 Filter filter The f…… -
Xiaobai learns Java: RandomAccessFile
Previous portal: Xiaobai learns Java: I / O flow Xiaobai learns Java: RandomAccessFile All the streams we learned befo……