go array and slice [golang notes]

1, Array An array is a collection of data of the same type. Each data contained in the array is called an array element. This type can be the original type of meaning, such as int, string, etc., or a user-defined type. The number of elements contained in an array is called the length of the array. In Golang, array is a data type with a fixed l ...

Posted by rubric on Fri, 04 Feb 2022 09:59:27 +0100

Introduction and code demonstration of STC89C52 single chip microcomputer LCD1602 display screen

catalogue Introduction to LCD1602 display screen Pin introduction Internal structure block diagram Memory DDRAM memory address Addresses of CGRAM and {CGROM Timing introduction LCD1602 shortcut command LCD1602 instruction operation flow: Display of characters and strings Various hexadecimal digital display Display decimal digits on ...

Posted by robert_gsfame on Fri, 04 Feb 2022 09:48:52 +0100

Immutability of java Concurrent Programming sharing model

preface Start with (6) and discuss some immutable classes. The article is based on the book "the art of Java Concurrent Programming" and the video of dark horse Dark horse multithreading Take notes. 1. Date conversion For the date class SimpleDateFormat, since SimpleDateFormat is not thread safe, exceptions may occur in the ...

Posted by bynary on Fri, 04 Feb 2022 09:25:28 +0100

Spring AOP core source code analysis takes you into the world of AOP

Title 1-5 of this article will use the knowledge of title 6: an introduction to how to view the source code of dynamically generated proxy classes. If you are interested, you can take a look at the short video! 1. Spring AOP overview AOP, aspect oriented programming, is a programming idea and abstraction. AspectJ and Spring AOP implement ...

Posted by oscar2 on Fri, 04 Feb 2022 09:22:27 +0100

Java basic learning

1 enumeration class 1.1 user defined enumeration class The constructor needs to be privatizedThere is no need to provide a set method because the value of the enumeration object is read-onlyThe enumerating objects / attributes are decorated with final + static to realize the underlying optimizationEnumeration object names are usually capi ...

Posted by php Newbie on Fri, 04 Feb 2022 08:38:03 +0100

slice of Go language

What is slice The length of the go array cannot be changed, so such a set is not applicable in a specific scene. Go provides a flexible and powerful built-in type slice ("dynamic array"). Compared with the array, the length of the slice is not fixed, and elements can be added, which may increase the capacity of the slice The slice t ...

Posted by systemick on Fri, 04 Feb 2022 08:29:39 +0100

Basic knowledge of java -- Stream API for streaming computing

1, Basic concepts In order to make it easier for engineers to process aggregate data, a new feature in Java 8 is Stream (also known as Stream computing). Using the newly provided Stream API, Java can process collections declaratively and iteratively. It is also similar to the real pipeline production: flow = operation + node + data. Pre ...

Posted by LarryK on Fri, 04 Feb 2022 08:26:30 +0100

The front and rear ends of vue are separated, the background management system and the front-end scaffold. The docking backend is based on the background interface provided by spring security

Management system backend (java), please refer to: https://blog.csdn.net/grd_java/article/details/121925792 Source code of the project, code cloud: https://gitee.com/yin_zhipeng/vue-backstage-scaffolding.git Background management system is generally used by internal personnel, so the requirements for interface are not high, and template devel ...

Posted by NeoPuma on Fri, 04 Feb 2022 07:18:27 +0100

[C + +] memory management

[objectives of this section] 1. C/C + + memory distribution 2. Dynamic memory management in C language 3. Dynamic memory management in C + + 4. operator new and operator delete functions 5. Implementation principle of new and delete 6. Positioning new expression 7. Common interview questions 1. C/C + + memory distribution Let's first look at ...

Posted by mcubedma on Fri, 04 Feb 2022 07:12:29 +0100

Regular expressions and enumerations

1, Regular expression 1. Purpose Regular expression is a technology independent of java and not attached to java, but it can be used in java, python/js, etc Handle the complex search / replacement / matching / segmentation of strings through regular expressions 2. Overview Use a single string to describe or match a series of strings that ...

Posted by eruiz1973 on Fri, 04 Feb 2022 05:35:12 +0100