首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏狮乐园

    【译】Understanding SOLID Principles - Liskov Substitution Principle

    Understanding SOLID Principles: Liskov Substitution Principle 这是理解SOLID原则,关于里氏替换原则为什么提倡我们面向抽象层编程而不是具体实现层

    57310发布于 2018-10-19
  • 来自专栏开心的学习之路

    里氏替换原则(Liskov Substitution Principle, LSP)

    第一种:If for each object O1 of type S there is an object O2 fo type T such that for all programs P defined in terms of T, the behavior of P is unchanged when O1 is substitueted for O2 then S is a subtype of T. (对于每一个S类型的对象O1, 都有一个T类型的对象O2,使以T定义的程序P在使用O2替换O1时,行为不发生变化,则S是T的子类)。

    1.1K20发布于 2019-02-14
  • 来自专栏懒人开发

    (5.5)James Stewart Calculus 5th Edition:The Substitution Rule

    ---- The Substitution Rule 替换规则 找到 不定积分 很重要,但是很多时候 很难直接找到对应的 不定积分 比如说: ? 这个时候,如果我们设 ? 那么 ? ---- The Substitution Rule 替换法则 ? 如果 u = g(x),则 ? 最后转化为 du 和 dx 的运算 ---- 例子 下面是一些例子 例子1 ? ---- Definite Integrals 定积分 定积分,也就是按不定积分变化,在带入值去计算值 The Substitution Rule for Definite Integrals 定积分变化法则

    70030发布于 2018-09-12
  • 来自专栏懒人开发

    (7.3)James Stewart Calculus 5th Edition:Trigonometric Substitution

    Trigonometric Substitution 三角替换 对应的三角替换的表格 例子 一些例子 例子1 设 范围 有 可以化简为: 这个时候

    57220发布于 2018-09-12
  • 来自专栏SAP Technical

    ABAP 如何快速地找到Validation或Substitution对应的程序ID

    对于替代, 您要在命令栏(命令字段)输入“ = SHCB”,然后您会看到替代相关联的程序画面。

    77930发布于 2020-11-24
  • 来自专栏历史专栏

    【愚公系列】2023年11月 面向对象设计原则(三)-里氏替换原则(Liskov Substitution Principle or LSP)

    一、里氏替换原则(Liskov Substitution Principle or LSP)里氏替换原则(Liskov Substitution Principle or LSP)是面向对象设计中的一个基本原则

    41721编辑于 2023-11-24
  • 来自专栏历史专栏

    【愚公系列】2021年12月 面向对象设计原则(三)-里氏替换原则(Liskov Substitution Principle or LSP)

    文章目录 前言 一、里氏替换原则(Liskov Substitution Principle or LSP) 二、使用步骤 示例 总结 前言 常用的面向对象设计原则有七个,这七大设计原则都是以可维护性和可复用性为基础的 提示:以下是本篇文章正文内容,下面案例可供参考 一、里氏替换原则(Liskov Substitution Principle or LSP) 所有引用基类的地方必须透明的使用其子类的对象。

    38210编辑于 2021-12-03
  • 来自专栏架构驿站

    【性能工具】LoadRunner参数化取值详解

    Substitution: parameter "paramtemp" = "temp1" Action.c(7): Notify: Parameter Substitution: parameter : Parameter Substitution: parameter "paramtemp" = "temp2" Action.c(5): Notify: Parameter Substitution Substitution: parameter "paramtemp" = "temp5" Action.c(7): Notify: Parameter Substitution: parameter : Parameter Substitution: parameter "paramtemp" = "temp1" Action.c(5): Notify: Parameter Substitution Substitution: parameter "paramtemp" = "temp1" Action.c(7): Notify: Parameter Substitution: parameter

    1K50编辑于 2022-03-25
  • 来自专栏java沉淀

    centos 7 安装mysql这个版本的数据库是没有my.cnf需要创建my.cnfsql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

    character_set_server=utf8 [client] default-character-set=utf8 同时删掉或注释掉my.cnf文件中的内容: sql_mode=NO_ENGINE_SUBSTITUTION

    5.9K42发布于 2018-06-29
  • 来自专栏软件工程师Michael

    加密算法实例:替换密码

    加密函数:def simple_sub_cipher(text, substitution_map): encrypted_text = [] plaintext_length = len( (substitution_map[text[i]]) else: encrypted_text.append(text[i]) return ''.join( cipher_text = simple_sub_cipher(plain_text, substitution_map) print("Plaintext:", plain_text) print("Ciphertext:", cipher_text) decrypted_text = simple_sub_cipher(cipher_text, substitution_map ) print("Decrypted Plaintext:", decrypted_text)# 加密映射substitution_map = { 'A': 'Z', 'B': 'Y'

    35810编辑于 2025-02-11
  • 来自专栏SAP Technical

    【SAP FICO系列】SAP ABAP的替代和校验

    fields are authorized for the substitution. usage ' ' Generate substitution export routines ' ' Generate substitution routines in all clients ' How can the validation and substitution trace be used? as well as after the substitution. 相关Notes: Note 42615 - Substitution in FI image.png

    2.2K00发布于 2020-11-14
  • 来自专栏c++ 学习分享

    error C2244: ‘CGAL::Segment_2<R_>::min‘ : unable to match function definition to an existing declar

    typename cpp11::result_of<typename R_::Construct_min_vertex_2(Segment_2)>::type min BOOST_PREVENT_MACRO_SUBSTITUTION <typename R_::Construct_min_vertex_2( Segment_2<R_> )>::type Segment_2<R_>::min BOOST_PREVENT_MACRO_SUBSTITUTION typename cpp11::result_of<typename R::Construct_min_vertex_2( Segment_2)>::type min BOOST_PREVENT_MACRO_SUBSTITUTION typename cpp11::result_of<typename R::Construct_max_vertex_2( Segment_2)>::type max BOOST_PREVENT_MACRO_SUBSTITUTION <typename R_::Construct_min_vertex_2( Segment_2<R_> )>::type Segment_2<R_>::min BOOST_PREVENT_MACRO_SUBSTITUTION

    34620编辑于 2023-07-08
  • 来自专栏python3

    ASP.NET 缓存(3)

    post-cache substitution 缓存后替换。在这种情况下,你对动态变化的内容不进行缓存,只需要用Substitution控件替换这个动态内容就行。 相反的,如果你仅仅有一个小的区域是动态内容,不需要缓存,那么post-cache substitution 缓存后替换。可能更合适。两种方式提供相同的性能。 post-cache substitution以一个方法为中心,这方法已经被加入到HttpResponse类中。这个方法是WriteSubstitution().它接受一个参数。 事实上,ASP.net提供了实现缓存后替换的快捷方式,采用Substitution 控件(在控件栏里可以找到),拖拽到页面既可以。 <asp:Substitution ID="Substitution1" runat="server" MethodName="GetDate" /> 使用时,你不能看到改控件的内容。

    97420发布于 2020-01-14
  • 来自专栏余生大大

    mysql5.7.5版本的sql_mode=only_full_group_by问题

    STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER ,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

    1.2K40编辑于 2022-10-25
  • 来自专栏ml

    uva--1339 - Ancient Cipher(模拟水体系列)

    The most popular ciphers in those times were so called substitution cipher and permutation cipher. Substitution cipher changes all occurrences of each letter to some other letter. For example, applying substitution cipher that changes all letters from `A' to `Y' to the next ones in It was quickly noticed that being applied separately, both substitution cipher and permutation cipher Thus, the most important messages were first encrypted using substitution cipher, and then the result

    87070发布于 2018-03-26
  • 来自专栏授客的专栏

    MySQL 排错-解决MySQL非聚合列未包含在GROUP BY子句报错问题

    STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

    2.5K20发布于 2019-09-29
  • 来自专栏服务器运维日常

    mysql 5.7 sql_mode设置问题

    STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION ' 在sql_mode 中去掉only_full_group_by 3、如果还是不成功,可以设置为 sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

    1.7K21编辑于 2022-04-28
  • 来自专栏小豪成长日记

    逻辑式编程语言极简实现(使用C#) - 4. 代码实现(完结)

    public class Stream { // 第一个元素,类型为Substitution(替换) public Substitution Curr { get; set; } 替换 替换的定义为: public class Substitution { private readonly Substitution parent; public FreshVariable Var { get; } public object Val { get; } private Substitution(Substitution p, FreshVariable theEmptySubstitution = new Substitution(null, null, null); public static Substitution Empty() 它先将已有条件代入到新条件中,然后再把代入后的新条件转化为未知量 = 值的形式: public Substitution Unify(object v1, object v2) { v1 = Walk

    44820编辑于 2023-10-22
  • 来自专栏北漂的我

    SpringCloud 中使用 Zuul

    访问服务名称 + 接口 URI 4. zuul 的路由配置 默认的路由转发 API 网关地址 + 访问的服务名称 + 接口URI http://localhost:2103/fsh-substitution /substitution/callHello zuul.routes.fsh-substitution.path=/house-api/** zuul.routes.fsh-substitution.url =fsh-substitution #可省略 配置过后, 就可以在浏览器中访问 http://localhost:2103/house-api/substitution/callHello 路由前缀, 有时候想在 API 前面配置一个统一的前缀 zuul.prefix=/rest 加过前缀后: http://localhost:2103/rest/house-api/substitution

    71320发布于 2019-12-16
  • 来自专栏JavaPark

    Java中ONLY_FULL_GROUP_BY错误

    STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

    1.6K20发布于 2019-11-06
领券