day02 - Java basic syntax

day02 - Java basic syntax 0. Type conversion problem Type conversion (understanding) In Java, there will be different types of data that need to participate in the operation together, so these data types need to be converted to each other. There are two cases: automatic type conversion and forced type conversion. Automatic type conversion ...

Added by kman on Fri, 18 Feb 2022 23:07:52 +0200

Difference between ReentranLock and Synchronized

ReentranLock Lock interface is a built-in attribute, not built-in in java language. It can realize synchronous access ReentranLock is the implementation class of Lock interface After java SE 5, a Lock interface (and related implementation classes) is added to implement the Lock function However, it is used to acquire and release locks expl ...

Added by AtomicRax on Fri, 18 Feb 2022 18:08:16 +0200

Java annotation learning notes basic concept understanding

Concept of annotation Annotation, also known as Metadata, is a new feature of Java 5. JDK5 introduces Metadata and can easily call annotations. Annotations are at the same level as classes, interfaces and enumerations, and can be applied to the declarations of packages, types, construction methods, methods, member variables, parameters and ...

Added by billynastie on Fri, 18 Feb 2022 17:28:12 +0200

Object oriented programming in Python series

Python object oriented programming There are three common programming methods: Process oriented: write the base code from top to bottom according to the business logic. The most common operation is paste and copy, and copy the previously implemented code blocks to the existing functions. Functional: encapsulate a function code into a functio ...

Added by Rich464 on Fri, 18 Feb 2022 17:19:42 +0200

C + + improve programming

C + + improve programming Mainly for C + + generic programming and STL technology Template 1 1. Concept Template is to establish a general mold, which greatly improves the reusability of code Template features The template cannot be used directly. It is just a frameworkThe universality of templates is not everything 2. Function templ ...

Added by onyx on Fri, 18 Feb 2022 16:40:29 +0200

Spring series 15: Environment abstraction

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python actual combat quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Content of this article Two important concepts of Environment abstraction@Use of Profile@Use of PropertySource Two important concepts of Envi ...

Added by joshgarrod on Fri, 18 Feb 2022 14:28:06 +0200

This is how Spring Security filters should be configured

CaptchaAuthenticationFilter this verification code filter is implemented by imitating UsernamePasswordAuthenticationFilter. Similarly, since the configuration of UsernamePasswordAuthenticationFilter is completed by FormLoginConfigurer, it should also be able to imitate FormLoginConfigurer and write a configuration class CaptchaAuthenticationFil ...

Added by Rabioza123 on Fri, 18 Feb 2022 14:19:40 +0200

Object ObjectPtr ObjectRef relation of TVM C + + code

The Object class of TVM is the base class of many classes. For detailed analysis materials, please refer to In depth understanding of TVM: Object family - Zhihu In depth understanding of TVM: Object family (II) - Zhihu TVM source code reading: the cornerstone of all things - Object class (1) - Zhihu TVM source code reading: the cornerstone ...

Added by arhunter on Fri, 18 Feb 2022 13:25:04 +0200

Python branches and loops

Branch and loop Process control - controls the sequence of code execution Sequential structure: the code is executed from top to bottom, and each statement is executed only once. (default) Branch structure: select whether to execute or not to execute part of the code according to the conditions. (use if) age = int (input("Please enter your ...

Added by Coldman on Fri, 18 Feb 2022 00:23:00 +0200

C language notes Day01

data type Char character data type char ch = 'a'; Short integer short num = 10; Integer int Long long integer long long longer integer Float single precision floating point number float weight = 55.5; Double double d = 0.0; Print an integer printf ('% d', 1000;) sizeof - Keyword - Operator - space occupied by calculation type or variable - u ...

Added by webtuto on Thu, 17 Feb 2022 23:01:28 +0200