码迷,mamicode.com
首页 >  
搜索关键字:state    ( 7806个结果
状态模式在领域驱动设计中的使用(Using the State pattern in a Domain Driven Design)
领域驱动设计是软件开发的一种方式,问题复杂的地方通过将具体实现和一个不断改进的核心业务概念的模型连接解决。这个概念是Eric Evans提出的,http://www.domaindrivendesign.org/这个网站来促进领域驱动设计的使用。关于领域驱动设计的定义,http://dddcommunity.org/resources/ddd_terms/,这个网站有很多的描述,DDD是一种软件开...
分类:其他好文   时间:2014-11-25 16:36:29    阅读次数:152
Android 主题和drawable state各个属性详解
*********Android***主题******************************** android:theme="@android:style/Theme.Dialog" : Activity显示为对话框模式 android:theme="@android:style/Theme.NoTitleBar" : 不显示应用程序标题栏 android:theme="@androi...
分类:移动开发   时间:2014-11-25 14:38:02    阅读次数:183
【Codeforces Round#279 Div.2】B. Queue
这题看别人的。就是那么诚实。http://www.cnblogs.com/zhyfzy/p/4117481.htmlB. QueueDuring the lunch break allnBerland State University students lined up in the food co...
分类:其他好文   时间:2014-11-24 20:44:26    阅读次数:225
Persisting State of Components
IntelliJ IDEA组件的持久化状态 IntelliJ IDEA提供了允许组件或服务在IntelliJ IDEA每次重启之间保持它们的状态的API。你可以使用一个简单的API保存少量值,也可以使用PersistentStateComponent接口为更复杂的组件的状态进行持久化。 使用PropertiesComponent进行简单的持久化 如果你的插件需要持久化的只是少量简单的值,最容...
分类:其他好文   时间:2014-11-24 17:13:31    阅读次数:234
【2014-11-22】《The Hardware/Software Interface》– Section 5
Stack-Based Languages Need some place to store state of each instantiation(实例) Arguments Local variables Return pointer
分类:其他好文   时间:2014-11-22 20:15:20    阅读次数:167
DELPHI的 ShowMessage函数的小缺陷
今天我在XE7的IDE下调试我自己的LUA的时候发现个有意思的事情我在LUA里调用一个DELPHI里绑定的函数 这个函数的原形如下function lua_ShowMessage(l : PLua_State) : integer; cdecl;var n, i : Integer; msg :.....
分类:Windows程序   时间:2014-11-22 07:02:58    阅读次数:272
第5条:用枚举表示状态、选项、状态码
C++11标准扩充了枚举的特性。枚举只是一种常量命名方式。给常量取一个易懂的名字而已。几种定义方式:1、 enum State { State1, State2, State3, }; enum State aState = State1; //使用2、 en...
分类:其他好文   时间:2014-11-22 02:00:19    阅读次数:260
The transaction log for database 'XXX' is full due to 'ACTIVE_TRANSACTION'.
Msg 9002, Level 17, State 4, Line 4The transaction log for database 'Test' is full due to 'ACTIVE_TRANSACTION'.本定一个测试库错误,由于此库的LOG文件被设置成不允许自动增长,而在大量输入数...
分类:数据库   时间:2014-11-22 00:40:53    阅读次数:394
Error: 7884, Severity: 20, State: 1
??背景:         程序异常中断“TCPProvider, error: 0 - An existing connection was forcibly closed by the remotehost.”,手工执行查询没有问题,不过执行时间要几十秒。Trace程序的执行,发现要数十分钟,经了解,原因在于程序使用了SqlDataReader读取数据,并且在读取的过程中进行了一系列数据处理,...
分类:其他好文   时间:2014-11-21 18:58:05    阅读次数:336
PHP魔术方法总结 (转)
PHP中的魔术方法总结:__construct,__destruct,__call,__callStatic,__get,__set,__isset,__unset,__sleep,__wakeup,__toString,__set_state,__cloneand__autoload1、__get...
分类:Web程序   时间:2014-11-21 12:05:48    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!