Java Learning Notes - Set Interface and Map Interface

Set interface and Map interface 1. Understanding the characteristics of Set sets 2. Master the Use of Common Implementation Classes under Set Sets 3. Understanding the characteristics of Map collections 4. Master the Use of Common Implementation Classes under Map Set 5. Master the traversal mode of Map set 6. Master Colle ...

Added by bluemonster on Wed, 15 May 2019 08:09:05 +0300

Implementing Picture Preview Component Based on Element UI

This is a simple click preview componentBy the way, record scope pits in vue stepped on during component writing~ Start with registering global components! Project catalogue: Imitate elementUI directory structure, directory name is component name, SRC is component source file (or js service file), there is also an index.js in the file director ...

Added by reddevil on Wed, 15 May 2019 05:40:54 +0300

h5 Game: WEB2048 for Different Size Screens

I. Interface Display and Brief Introduction First completed and then different sizes of screen effects, the interface imitation of the original 2048: (768px < screen) (500px < screen < 768px) (Ultra-small screen less than 500 px) It was expected that the list of games would be on the left and the list on the ...

Added by PurpleMonkey on Wed, 15 May 2019 03:06:21 +0300

Realization Principle of Water Wave Chart

In the project, I used Canvas to realize the water wave chart, and here I will share with you the principle of its implementation. When you first see waves, you may not know where to start. Let's take a look at the characteristics of waves. That's right. Someone will surely think of it as a sine-cosine curve. For small ...

Added by jbloom on Tue, 14 May 2019 23:56:34 +0300

How to use functions to optimize performance?

I. Throttle function 1. Use scenarios DOM.onclick() event, we bind a click event to a DOM node, trigger the execution of the event function when clicking on the element, but when we click on the element frequently, it will continue to trigger the click event. If the event function triggered by the click event is DOM element, it will cause high ...

Added by metroblossom on Tue, 14 May 2019 21:56:43 +0300

A thorough understanding of sorting algorithms

The original address is: A thorough understanding of sorting algorithms   A thorough understanding of sorting algorithms Classification: algorithm 2013-09-26 22:20  61 people read comment(0)  Collection  Report There is a little obsessive-compulsive disorder, always feel like writing on the reprint, ...

Added by kyoru on Tue, 14 May 2019 15:51:35 +0300

Research on Switching Page Theme Style and less Tutorial

One day, a big man in the headline asked me, I heard that you had made theme switching in the project before, how did you achieve it at that time? Can you elaborate on it? If you already know less like the palm of your hand, Start right here.. From less Use Less is used in Node.js environment: npm install -g less > lessc styles.less styles. ...

Added by moe180 on Sun, 12 May 2019 13:24:49 +0300

In-depth analysis of Nominated Pods of Kubernetes Scheduler

Author: xidianwangtao@gmail.com stay Kubernetes 1.8 Preemption Source Code Analysis for Preemptive Scheduling We mentioned Nominated Pods in several places, but did not give enough analysis at that time. Today we will focus on the significance and principle of Nominated Pods. What is Nominated Pods? When enable PodPriority feature gate is ena ...

Added by gca07738 on Sun, 12 May 2019 10:59:00 +0300

Common Sorting Algorithms

Sort: 1. Sorting is often encountered in computer data processing. In daily data processing, it is generally believed that 1/4 of the time is spent on sorting, while for program installation. Up to 50% of the time is spent sorting tables. In short, sorting is the ordering of a random set of data in a regular order. 2. Inline and Outline: Acc ...

Added by kapishi on Sun, 12 May 2019 10:11:44 +0300