Recent Posts
-
Generating RSA keys in pkcs#1 format in Java
Original address: https://stackoverflow.com/questions/7611383/generating-rsa-keys-in-pkcs1-format-in-java When I gener…… -
Session
Session 1. Represents a session between the client and the server; 2. The middle end session of the web refers to the …… -
How many ways to implement Java multithreading? How are threads synchronized
There are two ways to implement multithreading in Java: < span style = "font size: 15px;" > 1. Directly inherit…… -
Installation and use of redis
Environment: CentOS 6.6 redis version: redis-3.0 (considering the characteristics of redis 3.0 in clustering and perfo…… -
Java Concurrent Programming: the use of thread pools
Java Concurrent Programming: the use of thread pools In the previous article, we created a thread when using threads, …… -
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…… -
HashMap, treemap, LinkedHashMap learning
Map is mainly used to store key value pairs and obtain values according to keys. Therefore, duplicate keys (repeated a…… -
Multithreading programming in Java
1、 Advantages and disadvantages of multithreading Advantages of multithreading: 1) Better resource utilization 2) sim…… -
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…… -
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…… -
Comparative analysis of JSON tools in Java
< p align = "center" > < a class = "replace_word" title = "Java EE knowledge base" href=“ http://lib.csdn.net…… -
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…… -
Differences between hashtable and HashMap
1. Hashtable is thread safe, synchronous and relatively inefficient. HashMap thread is unsafe, asynchronous and relati…… -
Detailed explanation of Java environment variable configuration (Windows)
< H1 class = "posttitle" > detailed explanation of Java environment variable configuration (Windows) < div cl…… -
Java Concurrent Programming: inter thread communication wait, notify
Java Concurrent Programming: two ways of cooperation between threads: wait, notify, notifyAll and condition We've disc…… -
reflex
1、 What is reflection Java programs can dynamically load, parse and use some data types that are uncertain in the com…… -
Summary of 30 interview questions in Java
A start() B run() C exit() D getPriority() Answer: abd 2. The following is about Java The correct statement of lang. e…… -
Installation and use of ActiveMQ
1、 Installation of ActiveMQ Environment: CentOS 6, jdk8 1. Ensure that the system has installed the available JDK ver…… -
Various sorting algorithms implemented in Java (including bubbling, fast sorting, etc.)
// Heap sorting is unstable. Import Java util. Arrays; public class HeapSort { public static void main(String[] arg…… -
Java IO streaming learning
Java IO streaming learning Classes or interfaces related to Java stream operations: Java flow class diagram structure:…… -
Binary search in Java
srcArray[] = {3,5,11,17,21,23,28,30,32,50,64,78,81,95,1010,srcArray.length - 1,81 -
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…… -
thread
1、 Thread concept A process is an executing program. In the operating system, the process is the smallest unit for sy…… -
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…… -
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: thread and process creation (conversion)
Java Concurrent Programming: how to create threads? In the previous article, we have described the origin of process…… -
Deeply understand the exception handling mechanism of Java
Exceptions refer to unexpected conditions, such as file missing, network connection failure, illegal parameters, etc. …… -
The difference between = = and equal () method in Java
Differences in methods In Java = = compares addresses and equal compares values. Example: