1. Reflection Details
[Img-jhHXJ0rY-156524215 (C: Users root Desktop Summary assets Reflection Principle-156574510.png)]
Reflection: Dynamic acquisition of class bytecode files and abstraction of their members
The whole meaning is that you want to create objects directl ...
Posted on Thu, 08 Aug 2019 00:18:39 -0700 by Merdok
1: Configure executor properties
Open the / conf/server.xml file and configure a thread pool before Connector:
Important parameter description:Name: The name o ...
Posted on Wed, 07 Aug 2019 19:28:16 -0700 by MikeUK
1. Design Patterns
1. Single case
Singleton mode can save objects for a long time.
Singletons can transfer values: they can transfer values without any relationship between two objects, which reduces coupling and improves cohesion.
Note: Static methods are acquired through class calls, ...
Posted on Wed, 07 Aug 2019 03:00:23 -0700 by Panthers
Compare addresses, String overrides methods, and compares values.
Print object attribute information (class name and hexadecimal hascode)
The hash code value of the acquired object can be used as the identity card (unique identifier) of the current object in ...
Posted on Wed, 07 Aug 2019 02:46:41 -0700 by HA7E
Links to the original text: https://www.jianshu.com/p/8b4f801bff10
What is annotation?
java.lang.annotation, interface Annotation, introduced in JDK 5.0 and later versions.
Annotations are special tags in code that can be read at compi ...
Posted on Tue, 06 Aug 2019 03:38:41 -0700 by mikeglaz
Links to the original text: https://www.cnblogs.com/OnlyCT/p/7845660.html#t1
This article reproduces: https://www.cnblogs.com/OnlyCT/p/7845660.html#t1
@ Cacheable i ...
Posted on Tue, 06 Aug 2019 03:24:18 -0700 by drtanz
SSM Framework Learning (3) - Spring MVC
I. MVC Model
II. Sring Web MVC Brief Introduction and Work Flow
2.1 Introduction to Spring Web MVC
2.2 Spring Web MVC workflow
3. Building Spring Web MVC working environment
4. Annotation-based spring development
V. Receiving and Passing Page Value
5.1 Page ...
Posted on Tue, 06 Aug 2019 02:16:50 -0700 by flycast
Ali Mei Guide: With the rapid development of Flutter framework, more and more businesses begin to use Flutter to reconstruct or build new products. But in our practice, we found that on the one hand, Flutter has high development efficiency, excellent performance and good cross-platform performance, on the other hand, Flutter is also facing ...
Posted on Mon, 05 Aug 2019 20:54:22 -0700 by daydreamer
This paper explores the specific time when HashMap's linked list turns to red-black tree from three parts:
1. Statement on the threshold of "Link List to Red-Black Tree" in HashMap;2. Parse the source code of HashMap.put(K key, V value);3. Testing;
First, from the statement of HashMap about the threshold value of "link ...
Posted on Mon, 05 Aug 2019 20:37:33 -0700 by kof20012
The characteristic of java language is multithreading, of course, there will be corresponding challenges under the advantages. In multithreading environment, thread security becomes a problem that developers must avoid. When a thread shares a variable, according to the memory model, each thread has its own local memory, and t ...
Posted on Mon, 05 Aug 2019 19:47:44 -0700 by ph3n0m