Notes on new syntax features for CSS/CSS3

Python WeChat Subscription Applet Course Video https://edu.csdn.net/course/detail/36074 Python Actual Quantitative Transaction Finance System https://edu.csdn.net/course/detail/35475 CSS Cascading Style Sheet Three characteristics Cascade: The same style overrides Inheritance: Attributes can be inherited down Priority: The smaller the r ...

Posted by mikeashfield on Sun, 06 Mar 2022 18:35:11 +0100

Dubbo Service Reference Resolution

Last time we talked about Dubbo's service exposure, this time we'll look at how Dubbo calls services This article will be interpreted based on the architecture diagram of dubbo Catalog Client Start Process Dubbo Service Call Client Start Process As we all know, when a client invokes a service, only the interface has no corresponding ...

Posted by cottonbuds2005 on Sun, 06 Mar 2022 18:22:41 +0100

Multithreaded Execution Order

Sample code: public class App { static Thread thread1 = new Thread(() -> System.out.println("thread1")); static Thread thread2 = new Thread(() -> System.out.println("thread2")); static Thread thread3 = new Thread(() -> System.out.println("thread3")); public static void main(String[] args) { thread1.start() ...

Posted by Dan_Mason on Sun, 06 Mar 2022 18:10:17 +0100

java learning notes week 8

1, Reflection mechanism 1. Overview of reflection mechanism 1.1 reflection mechanism 1.2 package of reflection mechanism related classes Reflection mechanism in Java lang.Class.* Bao Xia 1.3 important classes related to reflection mechanism 1.4 three ways to obtain Class package reflex; import java.util.Date; /** * To ...

Posted by bogeyman on Sun, 06 Mar 2022 17:31:56 +0100

3, Communication between multiple threads

preface 1, synchronized and Volatile volatile Visibility can be guaranteed, but atomicity cannot be guaranteed (thread safety problem) Prohibit reordering synchronized Both visibility and atomicity can be guaranteed Reordering is not prohibited synchronized is blocking. Only one thread can access it at a time 2, Reorder Concept: the c ...

Posted by FUEL on Sun, 06 Mar 2022 15:32:33 +0100

io stream summary, serialization and deserialization, and Properties collection

IO stream 1. Classification of IO streams Classification by flow direction: Input stream (read data) Output stream (write data) Classification by data type: Byte stream Byte input stream read data InputStream Byte output stream write out data OutputStream Character stream Character input stream read data Reader Character output stream writ ...

Posted by guru2k9 on Sun, 06 Mar 2022 14:57:08 +0100

Getting started with Netty Basics

I. Basic Introduction 1.1 Netty knowledge 1.1.1 general Official website: https://netty.io/ Netty is a NIO client server framework, which can quickly and easily develop network applications, such as protocol server and client. It greatly simplifies and simplifies network programming such as TCP and UDP socket server.Netty is an asynchro ...

Posted by stig1 on Sun, 06 Mar 2022 14:18:44 +0100

Beginners' article - spring MVC - Interpretation of DispatcherServlet source code

SpringMVC After learning the Spring framework technology, there will be almost two groups of people: A group of people still don't understand what this thing is for; Others have almost understood the core idea, but do not know how to play its role. In the Spring MVC stage, you can gradually realize the convenience brought by the Spring frame ...

Posted by Rik Peters on Sun, 06 Mar 2022 13:58:25 +0100

Deep analysis of Java thread safety principle

Some novice or old java programmers know that accessing a shared variable under multithreading is non thread safe. The so-called non thread safe means that the modification of shared variables by thread a may not be visible to thread b. Direct example // It is suggested that you can take a screenshot of the code and read it together with the t ...

Posted by Chinese on Sun, 06 Mar 2022 12:06:25 +0100

New features of Java 8 -- lambda expression and Stream class

New features of Java 8 -- lambda expression and Stream class 1, lambda expression Lambda expression itself is the implementation of an interface. Lambda expression is a new feature of JDK8. It can replace the anonymous inner class of the interface and write more elegant Java code (equivalent to syntax sugar). If you want to use lambda to simp ...

Posted by noodle on Sun, 06 Mar 2022 11:34:37 +0100