Analysis of Java object transformation scheme and practice of mapstruct
I. Preface
With the continuous refinement of system module layering, the conversion of various objects is inevitably involved in the daily development of Java, such as DO, DTO, VO, etc. writing mapping conversion code is a cumbersome, repetitive and error prone work. With the help of a good tool, it not only reduces the workload, improves the ...
Posted by Paul1893 on Tue, 30 Nov 2021 15:12:12 -0800
Using ElasticSearch in. Net Core
There are two versions of ElasticSearch in. Net, Elasticsearch.Net (low level) and NEST (Advanced). NEST is recommended. The lower version is more flexible. The water is too deep to grasp. It should be noted that the version number used must be consistent with the ElasticSearch server version number.
1, Connection pool
1.1 SingleN ...
Posted by Sportfishing on Tue, 30 Nov 2021 15:12:47 -0800
Algorithm intermediate learning 1
1, Observation table method
Xiaohu went to a nearby store to buy apples. The treacherous vendor used bundling transactions and only provided 6 packages per bag and 8 packages per bag. But now Xiaohu only wants to buy exactly n apples. Xiaohu wants to buy as few bags as possible for easy carrying. If you can't buy exactly n apples, Xiaohu won't ...
Posted by johnrcornell on Tue, 30 Nov 2021 14:46:44 -0800
JVM learning notes
1. Introduction to JVN
Talk about your understanding of JVM? java8 virtual machine and previous changes and updates?OOM memory overflow, StackOverFlowError stack overflow, how to analyze?What are the common tuning parameters of the JVM?How to capture memory snapshots and analyze Dump files?What do you know about class loader in JVM? rt-jar ...
Posted by thirdeye on Tue, 30 Nov 2021 14:41:42 -0800
Operation of JavaScript node
Explain the nodes and elements first
Element: all tags in the page, and each html tag is an element node: all contents in the page, including labels, attributes (attributes of labels), text (text, line feed, space, carriage return), even elements are nodes
nodeType: type of node: 1 --- label 2 - properties 3 - text nodeName: node name: Label ...
Posted by lli2k5 on Tue, 30 Nov 2021 14:37:52 -0800
FPM Volume IV of SAP: FPM development example - create the table required by the program, structure and complete the main code of the search page
Catalogue of series articles
SAP FPM Volume 1: what is FPM FPM Volume II of SAP: FPM development example - creating WDA application FPM Volume III of SAP: FPM development example - assumption, demand and optimization
preface
This chapter creates the tables and structures required by the program and completes the code of the search ...
Posted by sebajom on Tue, 30 Nov 2021 14:36:27 -0800
Expression evaluation based on binary tree (C + +, detailed idea)
describe
Enter an expression (the numbers in the expression are positive integers less than 10), use a binary tree to represent the expression, create an expression tree, and then use the traversal operation of the binary tree to find the value of the expression.
input
Multiple sets of data. Each row ...
Posted by tejama on Tue, 30 Nov 2021 14:23:22 -0800
Recursive divide and conquer --- example 1. Full Permutation
Recursive divide and Conquer - Example 1. Full Permutation
1, Problem description
A recursive algorithm is designed to generate the full arrangement of n elements {r1, r2,..., rn} This question is related to Li Kou master station question 46 - the whole arrangement is the same , and Likou master station question 47 - full arrangement II
2, ...
Posted by ale_jrb on Tue, 30 Nov 2021 14:22:12 -0800
Elasticsearch learning notes
1 getting started with elasticsearch
Elasticsearch is an open source search engine based on Apache Lucene. Whether in open source or proprietary domain, Lucene can be regarded as the most advanced, best performing and most powerful search engine library so far. However, Lucene is just a library. If you want to use it, you must use Java as ...
Posted by joon on Tue, 30 Nov 2021 14:09:50 -0800
Java code audit - 1. ClassLoader
reference resources:
https://www.bilibili.com/video/BV1go4y197cL/
https://www.baeldung.com/java-classloaders
https://mp.weixin.qq.com/s/lX4IrOuCaSwYDtGQQFqseA
Take java 8 as an example
What is class loading
Java is a mixed language. It has the characteristics of both compiled language and interpreted language. The compilation feature means tha ...
Posted by XZer0cool on Tue, 30 Nov 2021 14:07:41 -0800