Three hundred rows per day (13 days: linked list)

Three hundred rows per day (13 days: linked list) Note: here are the synchronous notes and records of JAVA self-study and understanding. If you have any questions, please correct them 1, About linked list The logical structure and physical structure of the linked list are not as close as the sequential list. The physical storage of the ...

Added by davidlenehan on Fri, 04 Mar 2022 16:56:57 +0200

Weekly leetcode - 02 linked list topic 237/83/234/138/92/142/Offer 22/148/23/24/147/86/61/328/2/Offer06

leetcode - 237. Delete node in linked list Please write a function to delete a specific node in the single linked list. When designing the function, you should pay attention to that you cannot access the head node of the linked list. You can only directly access the node to be deleted. The topic data ensures that the node to be deleted is ...

Added by tress on Fri, 04 Mar 2022 16:20:49 +0200

Discussion on jdk dynamic agent at the bottom of spring AOP

1, What is a dynamic agent What is dynamic proxy and why it is used? Where is dynamic proxy used in normal programming? To understand what a dynamic agent is, you first need to know what an agent is. In fact, it is very simple. Just as literally, an agent: taking care of affairs instead of others. In programming, agent is an implementation of ...

Added by stopblackholes on Fri, 04 Mar 2022 15:56:33 +0200

Spring MVC requests and responses

Spring MVC requests and responses 1, Response of spring MVC The data response methods of spring MVC are as follows: Page Jump Return string directlyReturn via ModelAndView object Write back data Return string directlyReturns an object or collection 1. Page Jump 1.1. Directly return string In the code for getting ...

Added by robin339 on Fri, 04 Mar 2022 15:45:35 +0200

The most detailed summary of K8S learning notes (2021 latest edition)

although Docker It has been very powerful, but there are still many inconveniences in practical use, such as cluster management, resource scheduling, file management and so on. In this era of containers, many solutions have emerged, such as Mesos, Swarm, Kubernetes and so on, among which Google is open source Kubernetes As a big brother. kub ...

Added by wellscam on Fri, 04 Mar 2022 14:45:58 +0200

GUI guessing number game, simple implementation of more than 100 lines of Python code

Relevant documents Little buddy who wants to learn Python can pay attention to the official account of Xiaobian [Python journal]. There are many resources for whoring for nothing, ha. I will update the little knowledge of Python from time to time!! Small buddy who needs source code can reply to guess number in official account. Python source c ...

Added by xxxxxx on Fri, 04 Mar 2022 13:33:49 +0200

Java violence reflection Relaction

As we all know, singleton mode is often used in writing Java projects, such as creating object-oriented singleton mode, but this mode can be cracked by reflection mechanism. It is called violent reflection here, and multiple objects can be created by decompilation. Here we use the classic hungry man and lazy man for actual combat, And how to av ...

Added by explorer on Fri, 04 Mar 2022 07:48:32 +0200

C # object comparison of C #

(1) : method of comparing objects There are a lot of concepts. Just have a look: 1: ReferenceEquals: Object.ReferenceEquals(left, right) static method: it can be seen from the name that it is used to compare whether they are the same reference. We should never override this method. It always returns false for the comparison of value type ob ...

Added by glima on Fri, 04 Mar 2022 06:27:11 +0200

A project takes you into object-oriented programming: C + + implementation of employee management system

preface object-oriented It is a very common programming idea. Through a practical project, this paper will take you into object-oriented and experience the application of object-oriented in practical development, which brings us convenience. The project of this paper comes from Dark horse programmer An example in a series of courses. Th ...

Added by stuartbates on Thu, 03 Mar 2022 20:06:59 +0200

Why does HashMap in Java 1.8 use tail interpolation

As we all know, java 1.7 and the previous HashMap linked list insert elements using the header insertion method, which will lead to rings in the linked list in a multi-threaded environment, and will fall into an dead loop when being searched (CPU burst) 😭). Java 1.8 optimizes this problem and uses head interpolation. What's the difference bet ...

Added by futurshox on Thu, 03 Mar 2022 19:05:43 +0200