php design mode-registry tree mode
php registry tree mode
1. What is the registration tree mode?
Registered Tree mode registers object instances on the global object tree, removing objects from the global object tree when needed, just like buying candied gourds when you were a kid. Candied gourds are put on a big stick and people take them off when they buy them. The differenc ...
Added by phpr0ck5 on Sat, 13 Jul 2019 19:44:38 +0300
BZOJ 3033 Taiguda
Topic Description
On the Tanabata Festival, Vani took cl's hand and walked happily through the bright lights and joyful atmosphere. At this time, there suddenly appeared a Taiguda machine platform in front of which sat the applepi that had just been rescued by members of the elite team, XLk, Poet_shy and lydrainbowcat. Seeing that the ...
Added by orionblue on Sat, 13 Jul 2019 05:14:28 +0300
Java Basic Tutorial - Map
Map
Return type
Method
describe
V
get(Object key)
Get value by key
V
put(Obejct k,Object v)
Add (replace) elements to the Map and return the previous Value; return null without previous elements
V
remove(Object key)
Delete the element according to key and return the value corresponding to Value
void
clear()
empty
int
size()
Get th ...
Added by davidppppppppppp on Sat, 13 Jul 2019 04:59:26 +0300
[zabbix] Monitor the growth and occupancy of virtual machine hard disks on ESXi s
Because the company used to take hardware heap out of the environment now want to virtualize, so most of our current environment is through the P2V to free the original machine, install ESXi and then run on the local hard disk virtual machine. I also know it is very unsafe, so we need to face several problems before the node configuration of th ...
Added by NoorAdiga on Fri, 12 Jul 2019 23:17:07 +0300
Java Basic Tutorial - Regular Expressions
Regular Expression
Regular expressions are templates for matching strings. Regular expressions are not limited to a particular language, but differ slightly in each language.
The main objects used are:
java.util.regex.Pattern: Compiled representation of regular expressions
java.util.regex.Matcher: Depending on the Patterns object as a matching ...
Added by cashflowtips on Fri, 12 Jul 2019 22:36:31 +0300
Java Basic Tutorial Set
Set. Disorder, No Repetition
HashSet
Features: There is no duplicate data, and the data is not output in the order of storage.
HashSet is supported by Hash table structure. The iteration order of set is not supported and the order is not guaranteed.
But Hash table structure queries are fast.
Create collection usage code:
Set<String> s ...
Added by manitoon on Fri, 12 Jul 2019 22:26:29 +0300
Java Basic Tutorial - Polymorphism
Intuitively speaking, polymorphism is "one object, many forms". For example, there are many forms of Guan Shiyin Bodhisattva.——
Everyone has many forms.——
Specifically, polymorphism refers to "the same object, the same method (function), showing different behavior".
At the code level, the parent obj ...
Added by j115 on Fri, 12 Jul 2019 21:42:54 +0300
ES6 deconstruction assignment
Deconstruction assignment is an extension of assignment operator, which can extract attributes/values from objects/arrays and assign them to other variables.
1. Deconstruction assignment of arrays
1. Basic usage
As long as the patterns on both sides of the equal sign are the same, the variables on the left are assigned corresponding value ...
Added by Pro Ninja on Fri, 12 Jul 2019 21:40:33 +0300
Java Basic Tutorial - Inheritance
inherit
One class can inherit from another class.
Derived classes (subclasses) inherit the methods and data members of the parent class.
Keyword: Subclass extends parent.
public class inherit {
public static void main(String[] args) {
//Wang Sicong a = new Wang Sicong ();
System.out.println(a.money);
a.show();
} ...
Added by assgar on Fri, 12 Jul 2019 21:16:14 +0300
Window Builds a Jenkins+SonarQube Continuous Integration Platform from scratch
Windows builds Jenkins + SnoarQube from scratch
This document does not currently contain publishing-related knowledge points.
Continuous Integrated Environment: Jenkins
Required system environment: java 8 and above, configure java-related environment variables (skipped here)
Code hosting: Git 2.22 or gitlab
Review tool: SonarQube
The to ...
Added by mattachoo on Thu, 11 Jul 2019 21:17:51 +0300