码迷,mamicode.com
首页 >  
搜索关键字:classes    ( 3495个结果
014 一对多关联映射 单向(one-to-many)
在对象模型中,一对多的关联关系,使用集合来表示。实例场景:班级对学生;Classes(班级)和Student(学生)之间是一对多的关系。多对一、一对多的区别:多对一关联映射:在多的一端加入一个外键指向一的一端,它维护的关系是多指向一的。一对多关联映射:在多的一端加入一个外键指向一的一端,它维护的关系...
分类:其他好文   时间:2014-11-06 16:32:54    阅读次数:283
Go Object Oriented Design
Go hastypes and valuesrather than classes and objects. So can a language without classes or objects be object-oriented? While Go may not fit the typical mold of an OOP language, it does ?provide m...
分类:其他好文   时间:2014-11-06 15:14:02    阅读次数:157
Rhino Mock
mock interfaces, delegates and classes, including those with parameterized constructors.set expectations on the called methods by using strongly typed...
分类:其他好文   时间:2014-11-05 19:04:28    阅读次数:238
Delphi7 图像篇(三)
本实例主要用鼠标在窗体上绘图用到组件有TBevel、TRadioGroup、TButton组件运行效果如下:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Fo....
分类:Windows程序   时间:2014-11-05 14:41:33    阅读次数:280
【技巧】添加sublime-text到右键菜单,记录下来,免忘记
一、最简单的方法是重装sublime,速度也很快。二、 1.打开注册表:win+r 调出“运行”,输入 regedit.exe 2.进入分支:HKEY_CLASSES_ROOT\*\shell\ 新建Open with Sublime Text 2 项,然后咋Open with Sublime .....
分类:其他好文   时间:2014-11-05 12:14:47    阅读次数:155
cocos2dx 场景的切换
我们知道cocos2dx中可以由多个场景组成,那么我是如何来切换场景的呢首先我们先新建一个新的场景类,我推荐的方式是,在你工程的目录中找到一个classes的文件夹,里面有AppDelegate.cpp和AppDelegate.h还有HelloWorldScene.cpp和HelloWorldScene.h,我们需要做的就是把HelloWor..
分类:其他好文   时间:2014-11-02 00:42:20    阅读次数:289
Java - Nested Classes
(本文参考:http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html)Nested Classesclass OuterClass { ...... class StaticNestedClass { .....
分类:编程语言   时间:2014-10-31 23:31:34    阅读次数:334
Utility Classes Are Evil
What’s Utility ClassesA utility class is a class filled with static methods. It is usually used to isolate a “useful” algorithm.StringUtils,IOUtils,Fi...
分类:其他好文   时间:2014-10-31 11:37:30    阅读次数:243
安卓apk破解方法
第一步:解压缩apk 第二步:将classes.dex文件放到 dex2jar.bat的目录下 第三步:执行dex2jar.bat c:\classes.dex 第四步:将得到的jar包再反编译。...
分类:移动开发   时间:2014-10-30 17:15:56    阅读次数:138
用log4j查看详细错误信息
首先加入log4j.properties文件。步骤:tomcat-->common-->classes.具体文件内容:log4j.rootLogger=info,Console,Rlog4j.appender.Console=org.apache.log4j.ConsoleAppenderlog4j...
分类:其他好文   时间:2014-10-30 10:47:22    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!