1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity.....
分类:
移动开发 时间:
2014-10-23 22:20:50
阅读次数:
458
1. #define的保护
所有头文件都应该使用#define 防止头文件被多重包含(multiple inclusion),命名格式
当是:___H_
为保证唯一性,头文件的命名应基于其所在项目源代码树的全路径。例如,项目foo 中的头
文件foo/src/bar/baz.h 按如下方式保护:
#ifndef FOO_BAR_BAZ_H_
#define FOO_BAR_BAZ_H_...
分类:
编程语言 时间:
2014-10-23 12:34:25
阅读次数:
231
private static Logger logger = Logger.getLogger(DateUtils.class); public final static BigDecimal SYS_MULTIPLE = new BigDecimal(100); public final stat...
分类:
其他好文 时间:
2014-10-22 18:06:43
阅读次数:
367
SqlBulkCopy.WriteToServer has 4 overloads:SqlBulkCopy.WriteToServer (DataRow[]) Copies all rows from the supplied DataRow array to a destination table...
分类:
数据库 时间:
2014-10-22 09:59:00
阅读次数:
341
intersect y except are both working on same table and multiple tablesEXCEPT 从左查询中返回右查询没有找到的所有非重复值。INTERSECT 返回 INTERSECT 操作数左右两边的两个查询都返回的所有非重复值。以下是将使用...
分类:
其他好文 时间:
2014-10-21 19:19:56
阅读次数:
217
在安卓上遇到了Multiple dex files define Lcom/sina/sso/RemoteSSO的编译错误在网上找解决办法搜到了解决办法是这样的方案1:Eclipse->Project->去掉Build Automatically->Clear ->Build Project->Bu...
分类:
其他好文 时间:
2014-10-21 10:16:13
阅读次数:
213
problem:Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthe...
分类:
其他好文 时间:
2014-10-20 19:16:49
阅读次数:
182
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-10-20 14:46:35
阅读次数:
230
K -Yet Another Multiple ProblemTime Limit:20000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4474Appoint description:Desc...
分类:
其他好文 时间:
2014-10-20 13:16:10
阅读次数:
258
http://www.vaikan.com/use-multiple-cpu-cores-with-your-linux-commands/你是否曾经有过要计算一个非常大的数据(几百GB)的需求?或在里面搜索,或其它操作——一些无法并行的操作。数据专家们,我是在对你们说。你可能有一个4核或更多核的C...
分类:
系统相关 时间:
2014-10-19 12:57:50
阅读次数:
292