Fast JSON source code analysis -- deserialization

2021SC@SDUSC This article is sent synchronously in the personal blog, and the address is Redbit's personal journey outline Last Fast JSON source code analysis -- deserialization (6) The two parsearray APIs of fastjson are deeply compared, and the API design and internal logic architecture are analyzed through similarities and differ ...

Posted by weneedmoregold on Sun, 05 Dec 2021 19:22:58 -0800

Online problem handling - feign call error (legal character ((ctrl-char, code 31)): only regular white space (\ R \ n \ T))

Online problem handling - feign call error Business scenario: Service 1 invokes service 2 through Feign. In the test phase, everything is normal and there is data loss online (to avoid simple reproduction of sensitive local). Errors are reported as follows: 2021-12-04 13:47:47.774 DEBUG 29480 --- [io-10011-exec-1] .w.s.m.m.a.ServletInvocableH ...

Posted by jokeruk on Sun, 05 Dec 2021 18:01:22 -0800

Spring mvc-part02 first MVC program

2. First MVC program Hello,SpringMVC 2.1 configuration version 1. Create a new Moudle, springmvc-02-hello, and add web support! 2. Confirm that the dependency of spring MVC is imported! 3. Configure web.xml and register dispatcher Servlet <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" ...

Posted by moyse on Sun, 05 Dec 2021 17:21:12 -0800

167. Sum of two II - input ordered array - Java

167. Sum of two II - input ordered array Topic overview Give an array of integers that have been arranged in non decreasing order numbers ,Please find two numbers from the array. The sum of the two numbers is equal to the target number target . The function should return the subscript values of these two numbers as an array of integers ...

Posted by Zamees on Sun, 05 Dec 2021 17:16:03 -0800

Multithreaded interview notes sorted by Zhang

The content may be sloppy, but they are all basic and important things that I think, and they also involve two multi-threaded interview questions Multithreading Process process Thread thread The program is static Process is an execution process of a program. It is a dynamic concept. A process will have multiple threads that do not affect ea ...

Posted by bivaughn on Sun, 05 Dec 2021 17:15:15 -0800

Summary and thinking of Java concurrent programming detailed series of best examples of Java Concurrent Programming

Summary and thinking of Java concurrent programming detailed series of best examples of Java Concurrent Programming     writing high-quality concurrent code is a very difficult task. The Java language has built-in pairs since the first version Multithreading Our support was great in those years, but when we Concurrent programming With a ...

Posted by lisa99 on Sun, 05 Dec 2021 17:03:27 -0800

Heap and heap sorting

Hello, I'm Monday. Today we talk about heap and heap sorting.1, PileWhen it comes to heaps, we should first start with binary trees, from binary trees to complete binary trees, and then to heaps.1. Binary treeEach node can only have two subtrees at most, and can be divided into left and right2. Complete binary treeFor a binary tree with n node ...

Posted by Rizla on Sun, 05 Dec 2021 16:02:42 -0800

Java Concurrency Tool Learning - Future, Callable and FutureTask

Preface *** The Runnable interface we used often before cannot return results or throw out exception classes that can be checked. To make up for this, there's the Callable interface, which we're going to cover in this blog. Callable interface @FunctionalInterface public interface Callable<V> { /** * Computes a result, or ...

Posted by ryclem on Sun, 05 Dec 2021 15:43:08 -0800

Java List Series Collection

Features of List Series Collection: ArrayList, LinekdList: ordered, repeatable, indexed.Ordered: the stored and retrieved elements are in the same order Indexed: elements can be manipulated by indexingRepeatable: stored elements can be repeated Unique method of List Collection: because the List Collection supports index, it has many unique API ...

Posted by prosolutions on Sun, 05 Dec 2021 15:34:22 -0800

Java Basics - exceptions

Note: the data comes from Blue bridge cloud course( https://www.lanqiao.cn/ ) , interested partners can go to the official website to learn. Here is the information compiled by Xiaobian after his study. If there is any error, please leave a message for discussion. Thank you! summary Exception refers to all kinds of unexpected conditions that ...

Posted by ajsuk on Sun, 05 Dec 2021 15:08:01 -0800