In-depth study and understanding of json
The full name of json(javascript object notation) is JavaScript object representation. It is a text format for data exchange, not a programming language, for reading structured data.
Rule of grammar
JSONl can represent three types of values.
1: Simple values,
Simple values use the same syntax as javascript and can represent strings, values ...
Posted by julien on Sat, 13 Jul 2019 21:12:47 +0200
FormData Explanation of System Learning Front-end
Reprinted: https://segmentfault.com/a/1190000006716454
FormData
1. Overview
The FormData type is actually defined at the level of XMLHttpRequest 2, which facilitates the serialization of tables and the creation of data in the same format as the form (for XHR transmission, of course).
2. Constructor
There are several ways to cr ...
Posted by gwledig on Wed, 10 Jul 2019 01:55:46 +0200
C++ Abstract Programming: Detailed Interconversion between Strings and Integers
Given that files and strings are sequences of characters, it seems reasonable to think that programming languages may allow us to treat them the same way. C++ provides this functionality through the < sstream > library, which exports several classes that allow streams to be roughly the same as a string value and the < fstream > lib ...
Posted by trackz on Wed, 10 Jul 2019 00:29:29 +0200
Reading Notes: Talking about Java Serialization
I've read "Java Programming Thought" once before, understood the code in the book and knocked it once. But a lot of in-depth knowledge is not used in actual work, so I forgot that in order to consolidate myself, in the future, I will try to do some reading notes on these contents to strengthen my understanding.Java serialization refer ...
Posted by mobile target on Tue, 09 Jul 2019 00:26:45 +0200
js experiment 2. (1) realization of slide switching
1. Making slide shows (refer to the fourth question of html experiment 8)
Functional description:
(1) Make slide animation with setTimeout. Automatically play slides after loading web pages. See slider.mp4 specifically.
(2) When mouseover picture, display left and right arrows and stop animation. When mouseout screen, hide left and right a ...
Posted by rjs on Mon, 08 Jul 2019 20:52:09 +0200
Summer Training Warm-up Competition (Zheng Da)
The first few questions are too simple to skip.
Question F: String inversion
Topic Description
Little C likes to write words backwards. Now give you a line of text in lowercase C. Can you reverse every word and output them?
input
The input contains multiple sets of test samples. The first action is an integer T, representing the number of ...
Posted by alex.hughson on Mon, 08 Jul 2019 20:14:37 +0200
JDK and cglib dynamic proxy
JAVA Dynamic Agent
proxy pattern
Proxy pattern is a common java design pattern. its characteristic is that proxy class has the same interface with delegate class. proxy class is mainly responsible for pre-processing messages, filtering messages, forwarding messages to delegate class, and post-processing messages for delegate class. There is u ...
Posted by philweb on Mon, 08 Jul 2019 05:46:04 +0200
Full Arrangement of Strings
Full permutation is very popular in written interview because it is moderately difficult. It can examine both recursive implementation and non-recursive implementation, so it is easy to distinguish the level of candidates. So in Baidu and Xunlei's campus recruitment and programmer and software designer's exams have been tested, so this paper su ...
Posted by mazzzzz on Mon, 08 Jul 2019 01:06:50 +0200
RxSwift Mapping Operator Has Regret
Along the way, I feel that RxSwift is not as obscure and difficult as before. I even gradually like the idea of responsive programming. It takes objects as observable objects and subscribes to them. With the cooperation of filter operators, all logical operations are performed in background threads. This section is about the most powerful funct ...
Posted by twick100 on Sun, 07 Jul 2019 20:56:22 +0200
Four ways java creates threads
From: http://blog.csdn.net/win7system/article/details/52807277
http://blog.csdn.net/win7system/article/details/52807277
1. Inherit Thread class + override run() method
Start: Create subclass object + object.start()
Disadvantages: Java Only single inheritance is supported, and if our class has inherited from one class, we can no longer ...
Posted by wmac on Sun, 07 Jul 2019 18:05:46 +0200