包含标签:Java 的文章
-
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:…… -
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, …… -
Underlying implementation of ArrayList, LinkedList and HashMap
The bottom implementation of ArrayList is an array (fixed size). When the length of the array is not enough, a new arr…… -
Four reference modes of Java
JAVA memory management is divided into memory allocation and memory recycling, which are not the responsibility of pro…… -
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…… -
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_ Properties
Java_ Properties class Differences between hashtable and HashMap HashMap thread is unsafe, asynchronous and efficient …… -
Solve org hibernate. HibernateException: identifier of an instance of com. ahd. entity. Order was altered from2 to 0
error message Causes: 1. eg. The type of ID in the mapping file is integer, that is, int, while the type o…… -
-
Solve the problem of install new software in MyEclipse
Click Help in eclipse to directly find the install new software option to install plug-ins, but help does not have thi…… -
Solve org hibernate. exception. SQLGrammarException:could not insert
Today, I encountered this error when building a project using hibernate. I haven't found the reason for the error for …… -
struts2_ Struts type conversion
I In the servlet, the non string type submitted by the form needs to be converted manually 1. In struts, the commo…… -
Java_ Folder splitting and merging
I Idea: 1. Document cutting: The class RandomAccessFile is used, in which the method seek can customize the readin…… -
Java_ Queue interface
Queue interface 1. english A) queue B) deque, double Ender queue 2. Queue interface In addition to the basic c…… -
Java_ Collections tool class
Collections tool class * differences between collections and collections Collection interface (the implementation inte…… -
struts2_ struts. Explanation of XML configuration file
1.bean Bean detailed explanation: https://www.cnblogs.com/lulu638/p/4340703.html 2.constant Constant attribute configu…… -
JSTL_ Format tag library
JSTL_ Format 1: JSTL format tag library <%@taglib uri=” http://java.sun.com/jsp/jstl/fmt ” prefix=”fmt”%> 2: F……