You could use:Calendar c
=Calendar.getInstance();int seconds = c.get(Calendar.SECOND);There are plenty of
constants in Calendar for everything you nee...
分类:
移动开发 时间:
2014-05-27 17:13:56
阅读次数:
512
按option后会有提示:Do not use the label object to set
the text color or the shadow color. Instead, use the setTitleColor:forState: and
setTitleShadowColor:f...
分类:
其他好文 时间:
2014-05-26 18:47:48
阅读次数:
212
启动tomcat的时候出现异常 严重: StandardServer.await:
create[8005]: java.net.BindException: Address already in use: JVM_Bind at
java.net.PlainSocketImpl...
分类:
其他好文 时间:
2014-05-26 18:18:35
阅读次数:
183
核心代码DAO类
package com.examp.use_SQLite.dao;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
i...
分类:
移动开发 时间:
2014-05-25 21:34:09
阅读次数:
327
package com.examp.use_SQLite.dao;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import andr...
分类:
移动开发 时间:
2014-05-25 21:29:20
阅读次数:
258
Problem Description
Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big number with it.
But I also don't want to use...
分类:
其他好文 时间:
2014-05-25 16:39:53
阅读次数:
266
Problem Description
Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big number with it.
But I also don't want to use...
分类:
其他好文 时间:
2014-05-25 16:32:49
阅读次数:
214
在雅各布森用例分析方法和科伯恩用例分析方法中其实都没有“业务规则”的属性,在科伯恩方法中有个相近的属性是约束条件。但是业界使用中常常会给用例加上这个属性,这是为什么呢?为什么两位大师没有加上,是大师们疏忽了?而为什么不少人加上了呢?
从时间和传播上很容易推断,业务规则的来源是传统的需求规格说明书。在传统的需求规格说明书中,整理提炼业务规则或称业务逻辑是其中核心的分析产物。受到传统需求规格说明书的...
分类:
其他好文 时间:
2014-05-25 07:22:45
阅读次数:
1809
The Leak of the Memory in C++
In this chaper I will introduce a new smart pointer which is scoped_ptr;
It likes auto_ptr but better. When peopel use auto_ptr, sometimes they forget
that auto_...
分类:
编程语言 时间:
2014-05-25 07:03:10
阅读次数:
373
/*
* 这里我是利用分析java内存模型的方法来猜想javascript的内存模型,
* 由于没有看到国内有关于分析javascript的书籍,但是可以借鉴java的
* 内存模型结构来帮助理解javascript的内存模型中的原型机制,下面先
* 给出一个简单的原型例子
* */
"use strict";
function PrototypeModel(name,author...
分类:
编程语言 时间:
2014-05-24 17:18:39
阅读次数:
322