Java array (multidimensional, Arrys, sorted, sparse)

Array overviewArray declaration creationArray usageMultidimensional arrayArrays classSparse array Definition of array An array is an ordered collection of data of the same typeArray describes several data of the same type, which are arranged and combined in a certain orderEach data is called an array unit, and each array element can access ...

Posted by kb0000 on Wed, 10 Nov 2021 12:39:37 -0800

Java learning 12: Collections

12. Assembly 12.1 collective system Sets are mainly two groups (single column Set and double column Set). The Collection interface has two important sub interfaces List and Set. Their implementation subclasses are single column sets, and the implementation subclass of the Map interface is double column sets, which store K-V 12.2 Collection ...

Posted by tmyonline on Wed, 10 Nov 2021 12:01:11 -0800

[Spring framework] I finally understand ApplicationContext (detailed explanation of the case)

[Chen Xi should work hard]: hello, I'm Chen Xi. I'm glad you can read it. The nickname is that I hope I can constantly improve and move forward towards excellent programmers! The blog comes from the summary of problems encountered in the project and programming. Occasionally, there will be reading and sharing. I will continue to update the sum ...

Posted by DGaleDavid on Wed, 10 Nov 2021 11:40:21 -0800

New features of fat brother java12

String enhancement Java 12 further enhances string operations by adding two methods. String indent String indent(int n) indents the string according to parameter n. The specific rules are When n > 0, n spaces will be inserted at the beginning of each line of the string, and the whole string will move to the right.When n < 0, n spaces ...

Posted by Satabi2 on Wed, 10 Nov 2021 10:14:31 -0800

The third layer of Flink execution plan - JobGraph

Flink execution plan level 1 - StreamTransformation The structure of list + linked list is constructed; Flink execution plan layer 2 - StreamGraph Transform the first layer into a graph structure; Next, it's time to convert StreamGraph to JobGraph. StreamGraph inherits the abstract class StreamingPlan and implements the getJobGraph method: /** ...

Posted by tetecko81sk on Wed, 10 Nov 2021 09:49:48 -0800

Java data type

1. Introduction to Java data types Reference principle: The preferred description number must be int (integer) and double (decimal); For data transmission or text encoding conversion, byte type (binary processing operation) is used; The most convenient operation for processing Chinese is to use char (optional) long can be used to describe the m ...

Posted by rickmans on Wed, 10 Nov 2021 09:15:07 -0800

How does the thread pool print stack information?

preface This article belongs to the column "100 problems to solve Java concurrency". This column is original by the author. Please indicate the source of quotation. Please help point out the deficiencies and errors in the comment area. Thank you! Please refer to table of contents and references for this column 100 problems to sol ...

Posted by Zoofu on Wed, 10 Nov 2021 08:39:55 -0800

Spring Cloud Alibaba: Nacos configuration center

Spring Cloud Alibaba: Nacos configuration center Dynamic configuration service can manage the application configuration and service configuration of all environments in a centralized, external and dynamic way. Dynamic configuration eliminates the need to redeploy applications and services when configuration changes, making configuration manage ...

Posted by paulytrick on Wed, 10 Nov 2021 08:17:29 -0800

In Java, HashSet should override the equals method and hashCode method

When adding objects using HashSet in Java programming, the equals method and hashCode method must be rewritten because they must comply with the characteristics of Set (no order and no repetition). First: The Set set has no order and cannot be repeated. Why: simulate a collection of reality. The repetition here is only the repetition of the ...

Posted by eflopez on Wed, 10 Nov 2021 08:15:51 -0800

Basic operation questions of java Level 2 examination

    The author bought the worry free java simulation problem in a treasure. After reading it, the evaluation said that after brushing, the little partner who hopes to pass the exam can pass it once. This is the basic operation problem brushed by the author. A total of 49 questions were repeated by the author   It's super simple ...

Posted by jake8 on Wed, 10 Nov 2021 08:08:49 -0800