Java
-
Java Concurrent Programming: synchronization container
Java Concurrent Programming: synchronization container In order to write thread safe programs, Java provides some thre…… -
Java Concurrent Programming: thread and process creation (conversion)
Java Concurrent Programming: how to create threads? In the previous article, we have described the origin of process…… -
Differences between hashtable and HashMap
1. Hashtable is thread safe, synchronous and relatively inefficient. HashMap thread is unsafe, asynchronous and relati…… -
Java Concurrent Programming: concurrent HashMap
Java Concurrent Programming: concurrent HashMap of concurrent container (Reprint) The following part is reproduced fro…… -
-
Selected 30 java written test questions
A start() B run() C exit() D getPriority() Answer: abd 2. The following is about Java The correct statement of lang. e…… -
Class file structure
< H1 align = "left" > platform independence Java is a platform independent language, which benefits from the byt…… -
Comparative analysis of JSON tools in Java
< p align = "center" > < a class = "replace_word" title = "Java EE knowledge base" href=“ http://lib.csdn.net…… -
Java Concurrent Programming: lock
Java Concurrent Programming: lock In the last article, we talked about how to use the keyword synchronized to achieve …… -
-
Detailed explanation of Java internal classes
Detailed explanation of Java internal classes Speaking of the word "internal class", it must be familiar to many peopl…… -
JAVA memory management and detailed explanation of each memory area
1、 Overview Original link: http://blog.csdn.net/l271640625/article/details/39761439 In the process of executing Java …… -
Java Concurrent Programming: comparison of sleep, wait and yield
First, wait () and notify (), notifyAll () are methods of the object class, sleep () and yield () are methods of the t…… -
-
Write a general shell script to start a java project, which is applicable to most services. You only need to modify the service name
File name: service user sh Document content: ##The header file of shell script must have #/ bin/sh ##Configure the Jav…… -
Multithreading programming in Java
1、 Advantages and disadvantages of multithreading Advantages of multithreading: 1) Better resource utilization 2) sim…… -
Understanding and use of filechannel class
Understanding and use of filechannel class (Java. NiO. Channels. Filechannel) Knowledge points: 1. Filechannel class a…… -
thread
1、 Thread concept A process is an executing program. In the operating system, the process is the smallest unit for sy…… -
HashMap, treemap, LinkedHashMap learning
Map is mainly used to store key value pairs and obtain values according to keys. Therefore, duplicate keys (repeated a…… -
IO and NiO
1、 The concept of file and the operation of file basic functions 1. What is a file: a file can be considered as a col…… -
Java Concurrent Programming: implementation of copyonwrite container
Java Concurrent Programming: copyonwritearraylist of concurrent container (Reprint) Original link: Copy on write, refe…… -
Jmap view memory usage and generate heapdump
If you want to analyze your Java application, you can use jmap program to generate heapdump file example: Jmap - hea…… -
Nine new features in Java 9
Nine new features in Java 9 Java 7 was released in 2011, Java 8 was released in 2014, and java9 was released on Sept…… -
Java Naming Convention
Java Naming Convention 1、 Naming conventions 2. Package name all lowercase 3. The first letter of the class name is c…… -
Java regular expression
1. What is a Java regular expression 1. Regular expressions (regex) is a pattern used to describe a certain amount of …… -
Binary search in Java
srcArray[] = {3,5,11,17,21,23,28,30,32,50,64,78,81,95,1010,srcArray.length - 1,81 -
Conversion between JSON object and string
< H1 class = "posttitle" > conversion between JSON object and string < div class = "cnblogs_code" > < d…… -
Java multithreading learning (the summary is very detailed!!!)
Process: each process has an independent code and data space (process context). Switching between processes will have …… -
Java IO streaming learning
Java IO streaming learning Classes or interfaces related to Java stream operations: Java flow class diagram structure:……