Stream stream, method reference
Chapter 1 Stream
Speaking of Stream, it is easy to think of I/O Stream, but in fact, who stipulates that "stream" must be "IO stream"? In Java 8, thanks to Lambda The functional programming from the past introduces a new concept of Stream to solve the existing shortcomings of the existing c ...
Posted by filteredhigh on Fri, 09 Sep 2022 21:06:33 +0300
LinkendList is a two-way linked list and implements the Deque ue interface, which can be used as a queue. Although LinkendList is a linear structure, the data is not stored as a linear interface, but as data and address of the next node in each node, Cloneable interface, copy support, and java.io.Serializable support serialization a ...
Posted by bugcoder on Tue, 06 Sep 2022 20:59:47 +0300
HTML basic tag
Cell merge, th label
Background color and picture
Forms (relatively important to Java programmers
User registration form and drop-down list
file control and hidden control
readonly and disable
div and span editing
Three way ...
Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right
` The factory pattern is divided into simple factory (not included in the 23 design patterns), factory method, and abstract method; here I will summarize and explain t ...
Posted by brad.techguy on Mon, 05 Sep 2022 04:46:57 +0300
Implementation class of Lock interface ReentrantLock method ReentrantLockTest test
Thread for testing t1 test
Release the reentry lock correctly Get the current number of reentries t1t2 test
Use the islocked() method to detect the lock state t1t3 test
Use the trylock method to attempt to acquire a lock U ...
Posted by wxflint on Sun, 04 Sep 2022 22:34:19 +0300
#[Java]Basic knowledge of interview review it yourself
Looking for a job recently, discipline the basics of Java
1. Basic data types
1. Difference and conversion between int and Interger
1. Integer is a wrapper class for int, which is a basic data type of java 2. Integer variables must be instantiated ...
Posted by tengkie on Sun, 04 Sep 2022 12:38:21 +0300
For commercial reproduction, please contact the author for authorization. For non-commercial reproduction, please indicate the source.For commercial use, please contact the author for authorization. For non-commercial use, please indicate the source.License: signature - non-commercial use - sharing in the same way 4.0 International (CC BY-NC-SA ...
Posted by avillanu on Thu, 01 Sep 2022 23:07:53 +0300
The static keyword can modify member variables and member methods
static member belongs to class It can be accessed through the class name, and is generally modified with public classname.propertyname; classname.methodname(); can also be accessed by object name (not recommended)
Posted by ess14 on Wed, 31 Aug 2022 03:28:19 +0300
Motivation and preparation
Apache Commons It is a large and rich set of tool libraries. I first came into contact with this code base when I participated in a Java project a few years ago, and it is now a must-have tool for developing Java/Scala projects.
I am currently mainly using commons lang3 . This repository contains several extensions ...
Posted by KindredHyperion on Mon, 29 Aug 2022 02:59:05 +0300
Redis advanced practice
Comparison between redis and mysql redis slow log queryredis high availability and cluster
redis master-slave replication
Synchronization mechanism**Master slave replication principle****Command propagation**SYNC and PSYNCConsistency of redis replication ...
Posted by ben2.0 on Sat, 27 Aug 2022 14:01:57 +0300