[java] dynamic planning: find the longest common sub column
**Example: * * given two sequences, for example X = ABCBDAB, Y = BDCABA, find the length of their longest common subsequence. Subsequence: in the giv...
Java abstract classes and interfaces, this is enough
This article talks about Java's abstract classes and interfaces. In the short song line, Cao Cao made an advertisement worth 100 million yuan for...
Java12 Collectors.teeing you need to understand
Preface There is a very useful function in Java 12, but it is not published in the official JEP, because it is only a small change in the collector, a...
Secret behind Spring ResponseBody
I. Introduction In the stage of more and more advocating out of the box use, many details are hidden behind us, especially after we start to use sprin...
Configure a custom fastJson serialization tool class for Redis
alibaba.fastjson has provided a tool class GenericFastJsonRedisSerializer for serializing Redis storage objects, but the tool returns to Object when d...
Spring series six: the use of spring JDBC template in Dao
concept The main function of JDBC template in Spring is to realize data interaction. Next, we will use JDBC template to write test cases in dao layer ...
Regular expression and document editor sed of Linux O & M Yunsheng notes
Overview of regular expressions It uses a single character to describe and match a series of strings that conform to the rules of a statement. It is ...
Mybatis source code mybatis excel framework
As we introduced in the previous chapter, Mybatis will convert all database operations into iBatis programming model, and operate the database through...
Example code of message board function implemented in PHP
The example of this paper shares the realization idea of php message board for your reference. The specific content is as follows: 1. Create a file na...
PHP method of generating order number
The first way to generate unique order number in PHP PHP code $str = date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT...
iOS knowledge combing asynchronous programming - coobjc learning
Asynchronous programming is a hot topic in recent years. Today, we will talk about asynchronous programming and coobjc in iOS platform. First of all, ...
Java GC learning practice
Recently, I often go to the customer's site. If there is a problem on the site, I will send it to the company's leaders (I really don'...
Time tuple and time date in Python
I. time tuple (time.struct_time) Time tuple is an important type in python. Through time tuple, we can get information such as month, day, hour, minut...
java array definition, usage, and array memory analysis
Preface This paper is mainly from the concept of container to the concept of array to the three definitions of array and the analysis of array memory ...
How to use lambda expression to kill Java programmers
Summary . The final effect is as follows: cIf(cond1, () -> { //The first if //do action 1 }).cElseIf(() -> cond2, () -> { //else if evaluatin...
Prototype pattern of Java design pattern (creation pattern)
Definition: prototype pattern is to use prototype instances to specify the type of objects to be created, and to create new objects by copying these p...
How to integrate google/pprof into existing services?
Last week, I received the R & D requirements from the leaders and wrote a monitoring service monitor server to analyze the status of the services ...
The birth of J.U.C
Preface J.U.C is a shorthand for java package java.util.concurrent, which is abbreviated in Chinese and contracted. It is a new basic api for writing ...
8086 assembly basic masm compilation source file
IDE : Masm for Windows Integrated experimental environment 2015 OS : Windows 10 x64typesetting : Markdown blog : my.oschina.net/zhichengjiu gitee : g...
CentOS 7 Build Source Pack Build LNMP Environment
1. Install epel source yum install -y epel-release 2. Install the required software yum install -y gcc automake autoconf libtool make gcc-c++ glibc li...
The use of pymysql module
I. Connecting to MySQL Server import pymysql # Connect to the database and call the Connect function (the Connect function returns an object of Connec...
C# Learning Records Read Excel with OleDB
The project requires me to read an Excel form. The way on the Internet is to use Excel as a data source and OleDB to read it. As I understand it, Ole...