II. Basic Principles
1. Essentiality: The most important thing in heap sorting is to implement a heap, not to design a sorting method.
2. This article uses the form of the largest catechu heap to complete the sorting (of course, you can also design a minimum heap).
The most classic way to implem ...
Posted on Mon, 25 Mar 2019 01:30:28 -0700 by Woad.php
How do you use Java constructors?
Creating an object through a class is called instantiation
Instantiation is achieved by calling a constructor (also known as a constructor)
Step 1: What is the construction method?
Step 2: Implicit construction method
Step 3: If a parametric construction method is provided
Step 4: Overload of ...
Posted on Sun, 24 Mar 2019 19:39:27 -0700 by tycragg
There are many hot patch dynamic repair frameworks open source on the latest github, which are roughly as follows:
The above three frameworks, according to their description, all come from: Introduction of Dynamic Repai ...
Posted on Sun, 24 Mar 2019 19:03:28 -0700 by dastaten
Today is the first day after work, because the project is in the test phase, relatively idle, so I studied the source code of ArrayList in Android, first of all, I explained that this article is based on the analysis of android-23, because I saw a lot of arrayList source code online is different from the Android source code I saw.
First, let' ...
Posted on Sun, 24 Mar 2019 16:30:28 -0700 by duncanmaclean
Two fork tree
In computer science, a binary tree is a tree structure with at most two subtrees per node. Usually, subtrees are called "left subtree" and "right subtree". Binary trees are often used to implement binary search trees and binary heaps.
Each node of a binary tree has at most two subtrees (there are ...
Posted on Sun, 24 Mar 2019 14:24:27 -0700 by zwxetlp
Set inherits Collection interface, which is an abstract interface, so it can not be instantiated directly. It has some common methods of Collection. Set has two sub-interfaces, HashSet and LinkedHashSet
Set interface, no index and key, no modification method, no duplicate elements, is a disordered collection, access to data fast ...
Posted on Sun, 24 Mar 2019 12:42:28 -0700 by psyion
Continuation Retrieve "Two Weeks Homemade Scripting Language" - Eclipse Plug-in for Syntax Highlighting But it only demonstrates Eclipse's function, which is not directly related to Stone Language. The source code library is the same, but it is still in the same plug-in. The demo effect is as follows:
The suspension window shows the c ...
Posted on Sun, 24 Mar 2019 09:12:28 -0700 by nmcglennon
It has long been assumed that when the memory of a java application overflows, the entire jvm will stop working. Recently, a small experiment has found that this is not the case.
java weak reference
An example code is as follows:
* Weak reference
* -Xms5m -Xmx10m Throw out
* Exception in thread "Thread-0" java.lang.O ...
Posted on Sun, 24 Mar 2019 09:00:29 -0700 by etoast
Elastic Search (the name is too long, hereinafter referred to as ES) as a search engine, can be said to be in the ascendant at present, almost parallel with solr. What he can do and what it has to do with cloud computing is not described here. But the official documents of ES, especially the client documents about java, are so poor that ...
Posted on Sun, 24 Mar 2019 08:42:30 -0700 by echelon2010
Introduction to problems
Recently, we are developing the Saas suite of Wechat Enterprise Number, so the front-end pages are all made with H5. In order to improve the development efficiency and make the front-end and back-end can basically develop in parallel, our back-end developers and front-end developers have agreed to use the front-end and ...
Posted on Sun, 24 Mar 2019 00:30:27 -0700 by belaraka