Java Foundation 1-String Details
overview
1. Class declarations
String is declared final, so it cannot be inherited.
Before Java 8, char arrays were used internally to store data.
public final class String
implements java.io.Serializable, Comparable<String>, CharSequence {
/** The value is used for character storage. */
private final char value[];
}
In Java 9 ...
Posted by gabe on Tue, 23 Jul 2019 11:08:19 +0200
IOS UI Image and Drawing
Articles Catalogue
Drawing pictures
UIImage class
Drawing method
Use
Watermarking
Use
Classification.h
Classification.m
Use classification
Code 1:
Cut out circular pictures
Clipping by drawing
Other methods
Screen capture
Use
Crash problem of error-reporting permission to save pictures:
Code ...
Posted by faraway on Tue, 23 Jul 2019 10:23:27 +0200
android Custom EditText, Button and Seekbar Simple Usage (Shape Drawable)
Controls provided by the system sometimes do not meet our needs, so we use custom controls. Here we introduce Button highlighting, Edittext highlighting, custom Seekbar,Edittext style, and ShapeDrawable!
1.Button click highlight
When we click the button button, the color of the button button should ch ...
Posted by Rohlan on Tue, 23 Jul 2019 09:27:32 +0200
CSS: A collection of graphics for you and me!
These simple-looking graphics are all implemented using pure CSS plus an HTML tag. Many of the implementations I've introduced before, or you know, but some believe you haven't seen them before.
1.Square
Real-time rendering works as follows:
Related CSS code:
#square {
width: 100px; height: 100px;
background: red;
}
2. Rectangles
Effect:
...
Posted by roadkillguy on Tue, 23 Jul 2019 00:10:17 +0200
JS code: DOM(document object model)
DOM(document object model):
1. Direct accessible dom element objects:
1.document.documentElement
2.document.head
3.document.title
4.document.body
html, body, title and head Tags
<body>
<h1>linux is very much!</h1>
<h1>js is very much!</h1>
<h1>html5 is very ...
Posted by beckjoh on Sun, 21 Jul 2019 11:08:18 +0200
Introduction to webpack Learning Handbook
I Weixin Public Number: Front-end practice road, welcome attention.
A couple of days ago, it suddenly occurred to my friends that in less than half a year, the first batch of 20 will be born soon. This feeling is like, now the post-90s look after 60 to accidentally our post-90s in the eyes of the post-20s have become the last century. o()o
It' ...
Posted by LAX on Sun, 21 Jul 2019 06:11:14 +0200
mybatis Section 7 One-to-One Association
1.1. Requirements
Query class information based on class id (with teacher's information)
1.2. Creating tables and data
Create a table of teachers and classes. Let's assume a teacher teaches only one class. The relationship between teachers and classes is one-to-one.
1.3 sql statement
CREATE TABL ...
Posted by kdidymus on Sat, 20 Jul 2019 05:24:24 +0200
HR: Go back and wait for the notice? An article teaches you how to use Python to easily earn tens of thousands a month
Analyzing Page Structure
Through the analysis of the page, it is found that the details of recruitment are in the details page (as shown below), so the details page is used to extract the recruitment content.
Designing crawler strategies
The url address of the detailed page is obtained from th ...
Posted by Knutty on Fri, 19 Jul 2019 13:16:10 +0200
SpringBoot 2.0 image upload plus echo
These two days, the company needs to make a business registration background function, which requires businesses to upload a number of pictures and echo. Since I haven't done anything in this area before, this article is used to record some knowledge points for subsequent review.
upload
Controller's code is very simple, because it uses the Spri ...
Posted by Peter on Fri, 19 Jul 2019 11:48:24 +0200
"Understanding Source Series 4" How lodash Realizes Deep Copies
Preface
Next to the last article How lodash achieves deep copy (Part I) Today, I'll continue to read the source code of cloneDeep to see how lodash handles deep copy of objects, functions, circular references, and so on.
Source Code Implementation of baseClone
Let's review its source code and some key annotations
function baseClone(value, bitm ...
Posted by surfer on Thu, 18 Jul 2019 04:40:02 +0200