码迷,mamicode.com
首页 >  
搜索关键字:style    ( 244891个结果
群聊角色与岗位
分类:其他好文   时间:2014-05-12 09:41:52    阅读次数:170
Java 拾遗
1、选择表达式中的类型转换public class Test { public void static main(String args[]){ int i = 5; System.out.println("Vlaue Is " + ((...
分类:编程语言   时间:2014-05-12 09:39:52    阅读次数:294
Leetcode | Distinct Subsequences
Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from th...
分类:其他好文   时间:2014-05-12 09:37:51    阅读次数:287
组合模式
模式动机:使用户可以一致性的处理整个树形结构或者树形的一部分;使用户在使用时无需对他们进行区分,可以一致的对待容器对象和叶子对象.定义:组合多个对象形成树形结构以表示具有 部分-整体 关系的层次结构.组合模式让客户端可以统一对待单个对象和组合对象.结构型模式组合模式结构图结构成员: 抽象构件(Co....
分类:其他好文   时间:2014-05-12 09:36:47    阅读次数:202
用基础知识实现数据到模型的填充
目前的开发中,我们一般会从数据库查询出来数据,再把数据填充到一个对象中,然后就可以很方便的读取对象信息了。data填充到object这个过程很是繁琐,为简化这个问题,各种框架、组件层出不穷,在此不一一列举,我实在也列举不出 -_- ! 诸多框架用起来固然方便,但我总会想起一句话,原文模糊了,出处.....
分类:其他好文   时间:2014-05-12 09:34:45    阅读次数:433
关于时间的转换
//把秒转换成分钟 /// /// 把秒转换成分钟 /// /// public static int SecondToMinute(int Second) { // / 换成 * 号...
分类:其他好文   时间:2014-05-12 09:33:41    阅读次数:198
MobileSubstrate
【MobileSubstrate】 Cydia Substrate(formerly calledMobileSubstrate) is thede factoframework that allows 3rd-party developers to provide run-time patche....
分类:其他好文   时间:2014-05-12 09:31:37    阅读次数:287
C++基础:缺省构造函数
缺省构造函数,又称默认构造函数,是C++以及其他的一些面向对象的程序设计语言中,对象的不需要参数即可调用的构造函数。下面将针对缺省构造函数的定义、使用、以及注意问题等方面简要探讨。1、缺省构造函数是怎样的形式?是如何定义的? 在C++的一个类中,如果构造函数没有参数,或者构造函数的所有参数都有默认....
分类:编程语言   时间:2014-05-12 09:30:38    阅读次数:326
阿里云64位centos6.3系统上编译安装redis
环境系统:阿里云64位centos 6.3[rao@AY~]$ cat /etc/issueCentOS release 6.3 (Final)Kernel \r on an \m[rao@AY~]$ uname -aLinux AY1404062027584053a1Z 2.6.32-358.6....
分类:其他好文   时间:2014-05-12 09:27:33    阅读次数:510
【LeetCode】Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.public class Solution { public String int...
分类:其他好文   时间:2014-05-10 20:31:10    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!