Understanding of decorators in TypeScript
definition
Decorators are special types of declarations that can be attached to class declarations, methods, accessors, properties, or parameters
It is a function of dynamically extending objects without changing the original class and using inheritance
Similarly, in essence, it is not a tall structure, but an ordinary function. The form of ...
Posted by Sphynx on Sat, 20 Nov 2021 23:53:47 -0800
[station B Lao Du] mysql learning notes (day 1)
This blog is equipped with the learning video of Lao Du in station B to make learning records for later learning and review. It is not used for other purposes. Video link: https://www.bilibili.com/video/BV1Vy4y1z7EX?spm_id_from=pageDriver
Chapter 1 MySQL overview
1.1 Preface
DB: database, warehouse for storing dataDBMS: database managem ...
Posted by emma57573 on Sat, 20 Nov 2021 23:49:22 -0800
Linked list related written test questions
Delete the given node in the linked list
leetcode: delete the given node in the linked list
Idea:
Find the node to delete;Change the reference of the node to delete the node (note the difference between the deletion of the head node and the deletion of the non head node);
Code implementation:
class Solution {
public ListNode del ...
Posted by iamyespee on Sat, 20 Nov 2021 22:54:45 -0800
Salesforce LWC: Creation and Deployment
Create a LWC
In the project you prepared earlier, right-click the lwc folder and select FDX: Create Lightning Web ComponentEnter file name bikeCardSave location under lwc folder Three files, html, js, and xml, are automatically generated after successful creation (css is not actively created by default)Put the following code in the appropriate ...
Posted by Gasolene on Sat, 20 Nov 2021 22:47:33 -0800
Detailed usage of String class in Java
1, Create string
There are three ways to create strings:
// Mode 1
String str = "Hello Bit";
// Mode II
String str2 = new String("Hello Bit");
// Mode III
char[] array = {'a', 'b', 'c'};
String str3 = new String(array);
We are very familiar with the first and second methods of creating strings. As for why the third method can change a ...
Posted by gregtel on Sat, 20 Nov 2021 22:41:16 -0800
[Java] object oriented -- understanding of interfaces
An interface is a further step of an abstract class. An abstract class can also contain non abstract methods and fields. While the methods contained in an interface are abstract methods, and fields can only contain static constants
Sometimes you must derive a subclass from several classes and inherit all their properties and meth ...
Posted by pinxue on Sat, 20 Nov 2021 22:32:38 -0800
[Golang] - use time.Ticker to do scheduled tasks
1, Foreword
golang's time.Ticker is generally used to execute tasks as a time cycle.
2, demo
This is an example posted on the official website. Its function is to output the current time every 10s.
package main
import (
"fmt"
"time"
)
func main() {
ticker := time.NewTicker(time.Second)
defer ...
Posted by dminadeo on Sat, 20 Nov 2021 22:28:32 -0800
Introduction to Java -- array
catalogue
1. Array
1.1 concept
1.2 creation of array
1.3 array creation process
1.4 length of array
1.5 array variables
2. Tools
2.1 Arrays
1.Arrays.toString
2.Arrays.sort
3.Arrays.copyOf
1. Array
1.1 concept
Array, marked with "[]", is used to store the aggregation of multiple data of the same type. If you wan ...
Posted by Dude0 on Sat, 20 Nov 2021 22:22:51 -0800
Summary of jQuery knowledge points
1.jQuery
Is a fast, compact, feature rich third-party JavaScript library
Function:
1. Select HTML element
2. Operation elements
3.CSS operation
4. Operation HTML event
...
Use: import links to required HTML files
1. Direct introduction of network resources
2. Download network resources locally to import
2. Use of jquery
2.1 $(s ...
Posted by Viruthagiri on Sat, 20 Nov 2021 22:07:44 -0800
Final topic exercise of information C language programming (personal summary)
1. Connect the circuit
Title Description:
As a student of department 2, Xiao Qiuyue is tired of connecting the circuit every day, and even the cat's ears and tail droop.
Now he is connecting a pile of resistors one by one. Please help him calculate the combined resistance of these resistors.
Input format:
Multiple groups of input, number o ...
Posted by jasonman1 on Sat, 20 Nov 2021 21:44:31 -0800