Learning notes of C + + course in Tsinghua University -- Chapter 10 generic programming
reference material STL Usage Summary
Basic concepts of STL
Basic components
nameexplainContainerHolds an object that contains a set of elementsiteratorIterators are generalized pointers that provide access to each element in a containerFunction objectObjects that behave like functions, header files < functional >AlgorithmsWidely us ...
Added by prabhuksmani on Sun, 06 Feb 2022 01:42:49 +0200
java socket for communication programming [2] - continuous communication and multithreaded communication
The previous section talked about the simple communication between the server and client of java socket, and learned about the communication mechanism of socket. See the following for details: java socket for communication programming
Today, let's go further. There is a problem in the previous example, that is, sending messages only once ends. ...
Added by feckless on Sat, 05 Feb 2022 20:49:22 +0200
Class loading
Loading is the first stage of the whole class loading. In the loading stage, the jvm obtains the binary byte stream defining this class through the fully qualified name of the class. The linking work can start before the loading stage is completely completed java doc of ClassLoaderThe three stages of linking verification, preparation and parsin ...
Added by tensionx on Sat, 05 Feb 2022 20:11:11 +0200
Principle and Configuration of AOP Face Oriented Programming in spring Bottom Layer
Summary
What is AOP
AOP is the abbreviation of Aspect Oriented Programming, meaning: Face-Oriented Programming
AOP was originally proposed by the organization of AOP Consortium, which specifies a set of specifications. spring introduces the idea of AOP into the framework, a technology for unified maintenance of programs through precompi ...
Added by ed01 on Sat, 05 Feb 2022 19:11:12 +0200
Chapter Three Sequence
Sequence is a continuous memory space used to store multiple objects and to store a series of data. It is a data storage method. For example, a sequence of integers [10, 20, 30, 40] can be represented as follows: The sequence stores the address of the object in memory, not the value. a = [10, 20, 30, 40] is illustrated below:
In Python, the ...
Added by Nicolas T on Sat, 05 Feb 2022 19:06:55 +0200
Fundamentals of java reflection mechanism
Reflection overview
Reflection is that for any Class, you can directly get all the components of this Class "at run time".
At runtime, you can directly get the Constructor object of this class: Constructor At runtime, you can directly get the member variable object of this class: Field At runtime, you can directly get the member ...
Added by BornForCode on Sat, 05 Feb 2022 10:19:28 +0200
Have you mastered all three methods of Python format string,%s%d%f+format()+f-string, in-depth evaluation of YYDS is well deserved
๐ข๐ข๐ข๐ฃ๐ฃ๐ฃ ๐ป๐ป๐ป Hello, everyone. My name is Dream. I'm an interesting Python blogger. Please take care of me ๐๐๐ ๐
๐
๐
CSDN 2021 blog star top 100, 2021 blog star top 5, high-quality creator in Python field, welcome to find me for cooperation and learning (VX wants to enter the learning exchange group or learning materials at the e ...
Added by nathanr on Sat, 05 Feb 2022 09:19:26 +0200
[Java object oriented] internal class
Define a Class A in another class B, which class A is called internal class and B is called external class. The biggest feature of internal classes is that they can directly access private properties and reflect the inclusion relationship of classes.
The essence of an inner class is a class.
Basic syntax:
class External class name {
...
Added by dud3r on Sat, 05 Feb 2022 09:14:17 +0200
Class variables and class methods
Class variables and class methods
The question is: there are a group of children playing with snowmen, and new children join from time to time. How do you know how many children are playing now?
Use our existing technology to solve this problem. Package name: com haikang. static_. ChildGame. java
Idea:
Define a variable count in the main me ...
Added by floR on Sat, 05 Feb 2022 08:33:47 +0200
Django (6. CreateView of common views)
Before Django (3. ListView view of common views) In, we mentioned that there are five common views. To add such an operation, we will use the CreateView view. The table also mentioned that using CreateView requires both Model and Form. Let's take a look at Form first.
There are two main types of forms:
Form (data should be verified manually, ...
Added by Qbasicboy on Sat, 05 Feb 2022 08:19:18 +0200