[in simple terms, Java multithreading, mybatis interview questions and answers

ExecutorService executorService = Executors.newFixedThreadPool(threadPoolNum, r -> new Thread(r, threadName)); The underlying layer of Executors uses ThreadPoolExecutor. We can understand some behaviors of ThreadPoolExecutor through ThreadPoolExecutor constructor. ThreadPoolExecutor( int corePoolSize, int maximumPoolSize, lo ...

Posted by Goose87 on Wed, 24 Nov 2021 06:36:28 +0100

Kotlin - coprocessor and operator overloading, Java programmer autumn recruit three-sided ant gold suit

Kotlin files and classes do not have a one-to-one relationship Symbiont inherit Modifier Null pointer problem text Key and difficult points Synergetic process I've thought about it for a long time. There are a lot of contents on the official website, including basic knowledge, concepts, basic usage, stream operation, channel, excepti ...

Posted by aircooled57 on Sun, 21 Nov 2021 09:43:14 +0100

Flutter imitates Netease cloud music: play the interface, and you can find a job after reading it

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-xxv5rz2b-1631251709878)( https://user-gold-cdn.xitu.io/2019/1/8/1682c515f06f92b1?imageslim )] thinking This interface is actually relatively simple to implement, which can be roughl ...

Posted by gtrufitt on Sun, 21 Nov 2021 02:26:09 +0100

The audio and video decoding of FFmpeg is synchronized with the audio and video, which is shared by the Android community

//Obtain video file information, such as the width and height of the video //The second parameter is a dictionary, which indicates what information you need to obtain, such as video metadata if (avformat_find_stream_info(pFormatCtx, NULL) < 0) { LOGE("%s", "Unable to get video file information"); return; } //Gets the index lo ...

Posted by aggrav8d on Sun, 21 Nov 2021 00:50:41 +0100

Python game development, pygame module, python implementation of minesweeping games

preface Today I'll share with you a minesweeping game. There's no more nonsense. Let's start happily~ Effect display development tool Python version: 3.6.4 Related modules: pygame module; And some python built-in modules. Environment construction Install Python and add it to the environment variable. pip can install the relevant modu ...

Posted by adeelzia on Sat, 20 Nov 2021 18:14:14 +0100

FS platform front-end design description v1, learn html front-end development

}); layui.data(‘test’, null); // Delete test table //Modify: the same as add. The stored data will be overwritten //[query]: read all data from the test table var localTest = layui.data('test'); console.log(localTest.admin); []( )3.6 Layui How to use internal jQuery -------------------------------------------------------- ...

Posted by feckless on Sat, 20 Nov 2021 09:36:08 +0100

Java collection and underlying source code analysis, introduction to Java zero foundation pdf

If the hash value corresponding to the element at the index position is the same as the hash value of the element to be inserted, and it is the same reference or content, it cannot be added If the index position has a value and satisfies a red black tree, call the algorithm of the red black tree to add If the index position has a value and i ...

Posted by phaseonemedia on Sat, 20 Nov 2021 01:07:23 +0100

Quick understanding of JavaScript modules

summaryAs the development of Web applications with modern JavaScript becomes complex, naming conflicts and dependencies become difficult to deal with, so modularization is needed. The introduction of modularization can avoid naming conflicts, facilitate dependency management, and improve code reusability and maintainability. Therefore, on the p ...

Posted by Genux on Wed, 17 Nov 2021 04:26:38 +0100

Why does Alibaba force you not to delete in foreach

That day, little ape went to Ali for an interview. As soon as the interviewer Lao Wang came up, he threw him an interview question: why is it mandatory not to delete elements in foreach in Ali's Java development manual? The little ape looked happy after hearing this, because two years ago, 2019   In, he saw this question in the column of t ...

Posted by sunder on Fri, 12 Nov 2021 04:25:22 +0100

How to do automated testing if you can't program

preface Testers who can test and understand programming are still scarce, and most organizations may not invest in this aspect. Therefore, let ordinary test engineers simply learn to carry out automated testing, which is still in market demand. Before, I was confused that ordinary test engineers could not deeply participate in the case prep ...

Posted by dpsd on Wed, 10 Nov 2021 19:32:40 +0100