Kotlin study notes

null In Java, NullPointerException is common to our developers, which brings us too many unnecessary troubles. Kotlin has improved it. Kotlin makes more null problems that may occur during runtime, and forces us to pay attention to them in advance during the compilation period in the way of compiling and reporting errors, rather than waitin ...

Posted on Mon, 18 Oct 2021 20:23:18 -0400 by cHinshaw

[Spring Boot] Spring Boot @ enable oauth2sso | enable OAuth2 single sign on

This page will introduce an example of the Spring Security OAuth2 @EnableOAuth2Sso annotation. @The enable oauth2sso annotation enables OAuth2 single sign on (SSO). By default, all paths need to be secure. We can use the WebSecurityConfigurerAdapter in the Java configuration of Spring Security to customize it. We can configure Spring Secu ...

Posted on Mon, 18 Oct 2021 19:03:22 -0400 by SwiftlyTilting

RabbitMQ - message queue - upper part

Get to know MQ What is MQ MQ(message queue), in its literal sense, is essentially a queue. FIFO is first in, first out, but the contents stored in the queue are messages. It is also a cross process communication mechanism for upstream and downstream message delivery. In the Internet architecture, MQ is a very common upstream and downstr ...

Posted on Mon, 18 Oct 2021 16:14:58 -0400 by Lee W

Introduction to concurrency Basics

1, Fair lock and unfair lock Rendering of unfair lock: it can be seen that in the case of multiple threads, one thread will monopolize and other threads will starve to death. Because the process of thread switching is omitted, the efficiency is relatively high public void test1(){ test test = new test(); new Thread(()-> ...

Posted on Mon, 18 Oct 2021 13:58:38 -0400 by dotBz

Timed Task for Concurrent Programming - Timed Thread Pool

1. Timer Thread Pool 1.1. Origin of Timer Thread Pool The ScheduledThreadPoolExecutor timer thread pool is inherited from the ThreadPoolExecutor class and implements the ScheduledExecutorService class. As shown in the following figure: 1.2, api of ScheduledThreadPoolExecutor 1.2.1,schedule The schedule api delays the executio ...

Posted on Mon, 18 Oct 2021 12:30:09 -0400 by Chris.P

Chapter 1 of the Blue Bridge Cup algorithm competition series -- the ingenious technique of bit operation and its practical combat

Meet blue bridge, meet you, not negative code, not negative Qing! catalogue catalogue 1, Bitwise operators summary overview 1. Bitwise AND& 2. Bitwise OR| 3. Bitwise inversion~ 4. Bitwise XOR^ 5. Supplementary understanding of shift operation 1. Move left<< 2. Move right > > 3. Move right without symbol > &gt ...

Posted on Mon, 18 Oct 2021 03:20:55 -0400 by superdan_35

18, Java stream, file and IO of spring cloud distributed microservice Cloud Architecture for Java

Java stream, file, and IO    The Java.io package contains almost all the classes required for operation input and output. All of these flow classes represent input sources and output destinations. Streams in the Java.io package support many formats, such as basic types, objects, localized character sets, and so on. Recommended distr ...

Posted on Mon, 18 Oct 2021 02:22:40 -0400 by pyrodude

Is the pointer really so terrible? Deep anatomy C language high-level pointer, the pointer is here?

Pay attention to one button three times (don't be sure next time) Hello, bald men. Today, let's talk about the advanced knowledge of the pointer Key points of this chapter Character pointerArray pointerPointer arrayArray parameter passing and pointer parameter passingFunction pointerFunction pointer arrayPointer to array of function poin ...

Posted on Sun, 17 Oct 2021 23:52:48 -0400 by Pascal P.

java array learning

java array learning Array overview An ordered collection of data of the same type Basic characteristics of array The length is determined. Once created, the size cannot be changedThe element data types must be the same, and mixed types are not allowedWhere the element data type can be any data typeArray objects themselves are in the heapAn ...

Posted on Sun, 17 Oct 2021 23:42:41 -0400 by MannyG

This article takes you to master all business concepts of flowable workflow engine

1. What is workflow approval According to my understanding, it is approval process management. 2. What is flowable 1. Official interpretation The official explanation is as follows: The Flowable project provides a core set of open source business process engines that are compact and efficient. They provide a workflow and business proces ...

Posted on Sun, 17 Oct 2021 23:16:02 -0400 by sstangle73