Deep parsing of String's intern al method

About String's Internal Method There are 8 basic types and a more specific type of String in the JAVA language. These types provide the concept of a constant pool to make them run faster and save memory. A constant pool is similar to a cache provided at the JAVA system level. The eight basic types of constant pools are all system-coordina ...

Added by CKPD on Wed, 12 Jan 2022 19:58:27 +0200

the Java Collections Framework

the Java Collections Framework Reference video: [QianFeng] Java Collection Framework Details BV1zD4y1Q7Fw 0. Overview of collections Purpose: Container of object, which implements common operation on object Differences from Arrays: Array length is fixed, set length is not fixed.Arrays deliberately store base and reference types, while ...

Added by Muggin on Wed, 12 Jan 2022 19:37:53 +0200

12 detailed explanation of advanced pointer in C language

Advanced pointer Character pointerArray pointerPointer arrayArray parameter passing and pointer parameter passingFunction pointerFunction pointer arrayPointer to array of function pointersCallback functionPointer and array analysis of interview questions Statement: This article is a note when learning the advanced C language. Learning cont ...

Added by jedimaster_att on Wed, 12 Jan 2022 14:55:57 +0200

Go language programming specification recommendations

The first part introduces the coding specifications of some common problems in the development process, and the second part mainly introduces the better writing methods of some common problems, as shown in the figure below. 1. Guiding principles 1.1 pointer to interface There is little need for pointers to interface types. The interf ...

Added by bben95 on Wed, 12 Jan 2022 13:18:52 +0200

Cloud E essays - back end_ piece1

1, Project introduction This project is an online office system for small and medium-sized enterprises. CloudE online office system is a system used to manage daily office affairs. Specific contents: Daily various process approval, news, notice, announcement, document information, finance, personnel, expenses, assets, administration, ...

Added by Revlet on Wed, 12 Jan 2022 12:03:07 +0200

The Java implementation compresses files or folders into zip

Recently, I came across a need to download the zip package, so I found the zip tool class written by others on the Internet. But I found many blogs and always found bug s. So I wrote a tool class myself. The functions of this tool class are: (1) You can compress files or folders (2) At the same time, it supports compression of multi-level folde ...

Added by cornelombaard on Wed, 12 Jan 2022 11:38:46 +0200

Java basic learning 04 (Java array)

preface The notes and pictures in the article are from watching this video: Crazy God says Java 1, Definition of array An array is an ordered collection of data of the same type.Array describes several data of the same type, which are arranged and combined according to a certain order.Each of these data is called an array element, a ...

Added by horsetags on Wed, 12 Jan 2022 10:17:32 +0200

Cache module of mybatis

Cache module of mybatis There are L1 (enabled by default) and L2 caches in mybatis. Caching can speed up queries and reduce the number of connections to db. The cache module belongs to the basic support layer of mybatis. At org apache. ibatis. Cache package. --------org.apache.ibatis.cache -------------------------------decorators ---------- ...

Added by gabriellevierneza on Wed, 12 Jan 2022 08:07:44 +0200

A few tips to make your Python code more Python

When we first started learning python, we understood the coding style requirements of Python. We can see its specific description by entering import this through Python terminal.   This is the famous "python Zen". In short, it is to write python compliant code, which is concise, elegant and readable. Here are some common Python ...

Added by mjgdunne on Wed, 12 Jan 2022 07:56:25 +0200

java exception description

1. Abnormal 1.1 abnormality (memory) Overview of exceptions An exception is an abnormal condition in the program Abnormal architecture [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-EuvFnCDO-1641957293904)(img(_ exceptio ...

Added by AoA_Falcon on Wed, 12 Jan 2022 05:26:30 +0200