ISP -- Interface Segregation Principle, segregation
1. ISP Overview (ISP -- Interface Segregation Principle ):
It is better to use multiple dedicated interfaces than to use a single total interface.
The dependence of a class on another class should be based on the smallest interface.
An interface represents a role and should not assign different roles to an inter
In daily life, occasionally encounter a sudden power outage or computer crashes, we are editing the Word document or Excel file information is missing. In addition to setting up auto-save and self-admission unlucky, there is a way to find these unsaved files, described below.Retrieve a document that suddenly loses power before saving
1As the picture below shows the directory, in this directory there are Excel, Word folder, we did not have time to
The past year due to work, has been busy, there is no time to update some ISP algorithm, after a year of efforts, their own ISP algorithm also has a deeper understanding, so decided to recently to the ISP algorithm to share some of the understanding, for everyone to reference the study, hope to engage in this line of people useful.This paper mainly introduces one
Preface: Robert C. martin summarizes the principles that should be followed in Object-Oriented Design (OOD). These principles are called "prinles les of OOD ", for more information about principles of OOD, see object menter.
This article introduces the interface separation principle in "Principles of OOD": interface segregation principle (ISP ).
You can view the original interface segregation principle (ISP
The five principles of OO refer to SRP, OCP, LSP, DIP, ISP.SRP--(single Responsibility Principle sole responsibility principle)ocp--Opening and closing principle (Closed for modification; Open for Extension)The recently collated documents are provided to you, here on the LSP focus on the introduction, hope for everyone to help, in the learning and use of OO design, we should understand: the advent of OO enables software engineers to use closer to the real-world approach to describe the software
if(Param.loadBalancing.isOpen) {//load Open Positive loadtemp = Param.url.replace (/^ (http:\/\/|https:\/\/)/, "). Replace (/^.*?\//, Param.loadbalancing.cluster[tool.random (param.loadbalancing.cluster.length-1, 0)] + '/$ ') }Else{ //If the load does not open, the outage switch is turned on, then go to a if(Param.serviceSwitching.isOpen selfdata.isneedswitching) {Temp= Param.url.replace (/^ (http:\/\/|https:\/
: This article describes the PHP language, browser, operating system, IP address, geographic location, and ISP. if you are interested in the PHP Tutorial, refer to it.
$ Obj = new class_guest_info;$ Obj-> GetLang (); // Obtain the visitor's language: Simplified Chinese, Traditional Chinese, and English.$ Obj-> GetBrowser (); // Obtain the visitor's browsers: MSIE, Firefox, Chrome, Safari, Opera, and Other.$ Obj-> GetOS (); // Obtain guest operating
Asia Pacific, listing on Nasdaq in 1999. "Human New telecom" is an Internet service provider in China.
According to the Ministry of Information industry, foreign capital cannot enter the domestic telecom market independently, so it has "Pacific Telecom", which is a joint venture of "human New telecom" and "Pacific broadband".
"Pacific Telecom" can be said to combine the "Pacific broadband" deep Internet service experience, as well as "human new Telecom > in the mainland strong sales and operati
Analysis of demand and application of microwave trunk access for ISP group usersThe Computer network communication protocol is TCP/IP;Provide at least >64kbps data communication rate;Network isolation is implemented by the local router;Establish a Level two network, select the users with better geographical conditions to establish a secondary center to meet the requirements of user access within the metropolitan area;The omni-direction antenna can be
Problem description, VS2012 in the run debugging when the crash, helpless under the forced restart, and then open vs always reported the following error: Finally found on the Internet:The program being compiled, suddenly interrupted, such as a power outage, the workaround is: Delete folder c:/windows/microsoft.net/framework/v4.0.30319/temporary ASP. FilesThe following is an online find of the original data exception from hresult:0x80070057 (E_INVALIDA
Virtual machine Data Recovery failure:The failed storage device is a branded storage EVA8400 model, due to an unexpected power outage in the storage room, a VMware virtual machine in the store could not be started (the Oracle database is stored in the virtual machine), the administrator emptied the cache and attempted to restart the virtual machine but failed. Data recovery is required for the virtual machine that cannot be started.Virtual machine Dat
Control File Description:Each Oracle generates at least one control file, and one database can have multiple control files, but a control file can belong to only one database.In addition to the database name and its creation date, data files, log files and other related information inside the control file, the system change number, checkpoint information and the current status of the archive are stored during the system operation.For security reasons, the database automatically creates 2 to 3
This article mainly introduces the JavaScript series (21): S.O.L. i. the five principles of D: interface isolation principle ISP details. This article describes JavaScript interfaces, ISP and JavaScript, fallen implementations, static coupling, semantic coupling, scalability, and so on, for more information, see
Preface
In this chapter, we will explain 4th of The five principles S.O.L. I. D implemented by
12th ISP: Interface Isolation principleClient programs should not be forced to rely on methods that are not used.This principle is used to deal with the shortcomings of the "fat" interface. If the interface of a class is not introverted, it means that the class has a "fat" interface. In other words, the "fat" interface of a class can be decomposed into multiple sets of methods. Each group of methods serves a different set of client programs. In this w
The Interface segregation Principle,isp interface Isolation principle advocates that it is better to use multiple specialized interfaces than to use a single total interface.The dependency of a class on another class should be based on the smallest interface.An interface represents a role and should not be assigned to an interface with different roles. Interfaces that do not have a relationship are merged to form a bloated, large interface that is pol
following issues need to be addressed:? Whether it is a power outage, generator testing and other similar problems affecting the overall physical environment ?? and Web is the server's communication completely blocked, or is some IP segment can still be used ?? Whether you can also manage servers ?is there an exception record in the log? ?These are just a few questions that administrators need to answer immediately, and solve the problems before they
First lock information is not part of the file?
Next, will the power outage automatically disappear or will never be released (because the process of setting up the lock no longer exists)?
Reply content:
First lock information is not part of the file?Next, will the power outage automatically disappear or will never be released (because the process of setting up the lock no longer exists)?
File lock u
Because of the sudden power outage caused the company's internal computer room XenServer host hung up, the system can not start, downtime before the system configuration isCpu:e5 2630 v3Memory: 128GBStorage: 3T West number Purple Plate 5 blockArray Card: LSI 9361-8iThe disk took 5 blocks to do RAID5, and when the outage failed to start, I took a lsi9361-8i card and 6 3T disks (the importance of hardware spa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.