ThreadPoolExecutor Source Analysis for Java Concurrent Package Source Learning ThreadPools

Original Link: https://my.oschina.net/u/1052976/blog/550068 Thread pooling technology in Java typically uses Executors, a factory class that provides a very simple way to create variou ...

Posted by Jbert2 on Sat, 07 Sep 2019 16:36:03 -0700

Seven Basic Principles of Object Oriented (javaScript)

Object-oriented programming has its own characteristics and principles. If you have some understanding of object-oriented, the three characteristics of object-oriented are encapsulation, inheritance and polymorphism. If you don't know much about these three concepts, please refer to them. Three basic features of object-oriented (javaScript) Sin ...

Posted by wshost on Sat, 07 Sep 2019 05:33:03 -0700

Summary of the Use of C++11 Standard Library (STL) - array

Arays are fixed-size sequential containers that hold a specific number of elements in a strict linear order. Internally, an array does not save any data except the elements it contains (not even its size, it is a template parameter, fixed at compile ...

Posted by rks on Sat, 07 Sep 2019 05:00:19 -0700

Data Structure and Algorithms - Overview, Dynamic Array (Initial Knowledge)

Data Structure and Algorithms - Overview, Dynamic Array (Initial Knowledge) data structure Logical structure Collection structure: Data elements in a collection structure have no other relationship with each other except that they belong to ...

Posted by Mikkki on Sat, 07 Sep 2019 04:01:14 -0700

Distributed Unique id: Thoughts on snowflake Algorithms

origin Why suddenly talk about distributed unique ids? The reason is that we are preparing to use the global unique ID recently. The project needs to be microserviced. Look at the introduction on the official website. The same business scenario needs ...

Posted by Bijan on Sat, 07 Sep 2019 02:54:12 -0700

Summary of static Static static Keyword in Java

static keyword in java I. Static overview We can create multiple objects based on a class, each object has its own members, and the values of all member variables exist according to the object. Sometimes we want all objects of a class to share a me ...

Posted by pyc on Sat, 07 Sep 2019 02:42:11 -0700

Data Structure and Algorithms-Sorting Algorithms-Quick Sorting

Catalog 1. Basic Ideas 1.1 Basic Thought 1.2 Three-step analysis of quick sorting using divide-and-conquer strategy 1.3 Comparison of Merge Sorting and Quick Sorting 2. Graphical Principle 3. Code Implementation 3.1 Implementation Mode 1: ...

Posted by tukon on Fri, 06 Sep 2019 20:07:38 -0700

Complete production process of obstacle-avoiding Trolley Based on STM32F103C8T6 (Detailed) - Mid-section (Point 456)

Continue with the previous article Links: Complete production process of obstacle-avoiding Trolley Based on STM32F103C8T6 (Detailed) - Previous (Point 123) Actually, the last one is just some basic thing. This one tells you how to make your car fol ...

Posted by Wabin on Fri, 06 Sep 2019 19:24:17 -0700

14. Decorators

introduce Additional features are needed in some scenarios to support annotation or modification of classes and members, providing a way for us to add annotations to class declarations and members through metaprogramming grammar Note: Decorators are an experimental feature that may change in future versions. Start: Enable the experimentalDeco ...

Posted by russlock on Fri, 06 Sep 2019 08:23:19 -0700

C++ Basics: Exercises

Articles Catalogue Input does not indicate how many Input, with EOF as the closing flag C C++ Input does not indicate how many Input, ending with a special input C C++ Indicates N Input C C++ Python3 Indicates that there are N groups of inp ...

Posted by Arsenal Rule on Thu, 05 Sep 2019 01:06:55 -0700