码迷,mamicode.com
首页 >  
搜索关键字:classes    ( 3495个结果
Delphi的类和对象(八)- 多态
先简单理解下面示例: 什么是多态? 我的理解就是: 同样一个方法, 在不同的对象里会有不同的实现, 仅此而已. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, ...
分类:Windows程序   时间:2020-04-18 10:08:19    阅读次数:67
Delphi的类和对象之属性理解(二)
unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Bu ...
分类:Windows程序   时间:2020-04-17 21:48:27    阅读次数:88
SonarQube规则翻译001-050
1.".equals()" should not be used to test the values of "Atomic" classes equals()方法不应该用在原子类型的数据上(如:AtomicInteger, AtomicLong, AtomicBoolean). AtomicInt ...
分类:其他好文   时间:2020-04-17 20:16:13    阅读次数:74
Java使用swing组件实现简易计算器
本文记录了笔者的第一个Java程序,基于Java抽象窗口工具(abstract window toolkit , AWT)和Swing(Swing属于Java Foundation Classes的一部分)实现的建议计算器,由于笔者经验有限,初学Java,代码略带bug,无法实现7+5×8之类式子的 ...
分类:编程语言   时间:2020-04-15 21:18:57    阅读次数:138
np_utils.to_categorical
np_utils.to_categorical用于将标签转化为形如(nb_samples, nb_classes)的二值序列。假设num_classes = 10。如将[1,2,3,……4]转化成:[[0,1,0,0,0,0,0,0][0,0,1,0,0,0,0,0][0,0,0,1,0,0,0,0 ...
分类:其他好文   时间:2020-04-15 13:52:17    阅读次数:428
第2章 类模板:2.1 类模板Stack的实现
Chapter 2: Class Templates 第2章 类模板 Similar to functions, classes can also be parameterized with one or more types. Container classes, which are used t ...
分类:其他好文   时间:2020-04-14 12:23:47    阅读次数:67
设计模式 之 里氏代换原则 (Liskov's Substitution Principle)
Motivation 动机 All the time we design a program module and we create some class hierarchies. Then we extend some classes creating some derived classes. ...
分类:其他好文   时间:2020-04-12 22:22:25    阅读次数:85
设计模式 之 单一职责原则 (Single Responsibility Principle)
Motivation 动机 In this context, a responsibility is considered to be one reason to change. This principle states that if we have 2 reasons to change fo ...
分类:其他好文   时间:2020-04-12 22:18:34    阅读次数:93
一对一、一对多的关联查询 ?
<mapper namespace="com.lcb.mapping.userMapper"> <!--association 一对一关联查询 --> 第 43 页 共 485 页<select id="getClass" parameterType="int" resultMap="Classes ...
分类:其他好文   时间:2020-04-12 20:08:29    阅读次数:107
转:Java JNI 和 Delphi 相互調用(1)-JAVA調用DELPHI
JNI 不是什麼新技術,英文全稱是:Java Native Interface,JAVA本地化代碼接口。本地化代碼是指直接編譯成的與機器相關的二進制代碼,而不是Java字節碼之類的中間代碼。對於 JNI 的來龍去脈,不作介紹了,在 java.sun.com 有介紹,另外 BAIDU/GOOGLE 搜 ...
分类:编程语言   时间:2020-04-11 13:22:45    阅读次数:133
3495条   上一页 1 ... 14 15 16 17 18 ... 350 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!