Variable parameters, immutable set, Stream flow (get flow, intermediate method, termination method, collection method), landlords case
catalogue
Variable parameter
Create immutable collection
Stream stream
Common generation methods of Stream
Stream intermediate operation method
Other common intermediate methods
Stream termination operation method
Collection method
Collection method - toList and toSet
Collection method - toMap
Extended case landlords
Extended case: ...
Posted by brash on Wed, 16 Feb 2022 15:08:03 +0100
Distributed storage fastDFS cluster + nginx backend configuration
1, FastDFS components and other nouns
1,tracker server
Tracking server: used to schedule requests from clients. And record the information status of all storage groups and storage servers in memory.
2,storage server
Storage server: used to store files (data) and file attributes (metadata)
3,client
Client: the initiator of the service re ...
Posted by nitram on Wed, 16 Feb 2022 13:17:25 +0100
Necessary Spring framework learning notes for beginners
Spring is a widely used framework in the process of Java Web development. It is a lightweight application framework. Its powerful function and excellent performance are loved by many developers.In the actual project development process, the server is divided into three layers: presentation layer (Web), business logic layer (Service) and persist ...
Posted by ditusade on Wed, 16 Feb 2022 09:24:33 +0100
Java object oriented
object-oriented
object-oriented programming Essence: organize code in the form of classes and organize (encapsulate) data with objects. Characteristics: encapsulation, inheritance, polymorphism.
method
break: jump out of the switch and end the loop Return: end the method. The result has been returned. The return value and return value type a ...
Posted by dvdflashbacks on Wed, 16 Feb 2022 08:25:57 +0100
centos openldap tutorial
Basic courseLDAP, the full name of Lightweight Directory Access Protocol (English: Lightweight Directory Access Protocol), is a directory access protocol running on TCP/IP. A directory is a special database whose data is often queried but not updated frequently. It is specifically optimized for read, browse and search operations. Directories ar ...
Posted by SieRobin on Wed, 16 Feb 2022 04:34:05 +0100
Python foundation course day 10
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
Chapter VIII file operation (IO Technology)
Both the program and the stored data are complete; The program data we wrote earlier is not actually stored, so the data disappears after the p ...
Posted by micknic on Tue, 15 Feb 2022 17:43:46 +0100
[java] ThreadLocal memory leak code demonstration example
1. General
Reprint: ThreadLocal memory leak code demonstration example demonstration
First look at the article: Cause analysis of ThreadLocal memory leak
Related articles:
[high concurrency] ThreadLocal, InheritableThreadLocal
[Java] introduction and source code of ThreadLocal in Java
2. Cases
2.1 do not use ThreadLocal
The following ...
Posted by Myss on Tue, 15 Feb 2022 12:42:57 +0100
Web development framework - Express (installation and use, static hosting, routing processing, use of Middleware)
Express - based on node JS platform web application development framework - Express Chinese document | express Chinese networkhttps://www.expressjs.com.cn/ Express is based on Node The web development framework developed by JS is a Node JS module; Since it is based on Node JS, the premise of using express is that the computer must have installe ...
Posted by weemee500 on Tue, 15 Feb 2022 12:13:25 +0100
Python basic data type
Share:
In python, there are two types of data. Built in and custom.
Built in data types include numbers, strings, Booleans, lists, tuples, dictionaries, Bytes, collections, and some less commonly used data types. Customized data types are generally in the form of classes, and the above built-in types are combined as required to become unique ...
Posted by groberts23 on Tue, 15 Feb 2022 12:12:49 +0100
AOP is developed based on pure annotation
catalogue
preface
1, Pure annotation development
2, Operation steps
1. Import dependency
2. Create the target interface, define the abstract method, implement the implementation class of the target interface, and rewrite the method (target method)
3. Create a notification class and define notification methods
4. Create Spring core config ...
Posted by dthomas31uk on Tue, 15 Feb 2022 10:51:35 +0100