泛型把类或方法的类型的确定推迟到实例化该类或方法的时候 ,也就是说刚开始声明是不指定类型,等到要使用(实例化)时再指定类型
泛型可以用于 类、方法、委托、事件等
下面先写一个简单的泛型
public class GenericClass<T>
{
void SomeMethod( T t )
&nbs阅读全文>
阅读全文>
发表于 @ 2008年09月12日 17:03:00|评论(loading...)|编辑|收藏
如果你想在ORACLE中存储DATE和时间信息的话,实际上你由两种字段数据类型的选择的话,就让我们看看这两种数据类型的差别和它们提供了些什么。阅读全文>
发表于 @ 2008年09月08日 13:39:00|评论(loading...)|编辑|收藏
如把"1970-01-01 00:00:00.356“,转化成时间,需要保留毫秒数,怎么做?我一般都是用到秒的(to_date('1970-01-01 00:00:00.356','yyyy-mm-dd hh24:mi:ss'))。 毫秒怎么表示啊,请指点!
9i以上版本-----------------------------SQL>select to_char(systimestamp,'yyyy-mm-dd hh24:mi:ssxff') time1, to_char(current_timestamp) time2 from dual;TIME1 TIME2--------------阅读全文>
发表于 @ 2008年09月08日 13:37:00|评论(loading...)|编辑|收藏
我们将研究如何创建一个作为Windows服务的应用程序。内容包含什么是Windows服务,如何创建、安装和调试它们。会用到System.ServiceProcess.ServiceBase命名空间的类。 阅读全文>
发表于 @ 2008年09月04日 10:59:00|评论(loading...)|编辑|收藏
。。。阅读全文>
发表于 @ 2008年08月05日 11:56:00|评论(loading...)|编辑|收藏
相信很多人都有过统计某些数据的经历,比如,要统计财务的情况,可能要按每年,每季度,每月,甚至每个星期来分别统计。那在oracle中应该怎么来写sql语句呢,这个时候Oracle的日期函数会给我们很多帮助。阅读全文>
发表于 @ 2008年06月24日 16:14:00|评论(loading...)|编辑|收藏
...阅读全文>
发表于 @ 2008年06月24日 16:06:00|评论(loading...)|编辑|收藏
发表于 @ 2008年06月24日 16:03:00|评论(loading...)|编辑|收藏
发表于 @ 2008年06月24日 16:02:00|评论(loading...)|编辑|收藏
oracle 交叉表 pivot 阅读全文>
发表于 @ 2008年06月24日 15:59:00|评论(loading...)|编辑|收藏
如何做小计,合计阅读全文>
发表于 @ 2008年06月24日 15:56:00|评论(loading...)|编辑|收藏
When you try to download Microsoft Office documents from a server running Internet Information Services (IIS) to a client using Microsoft Internet Explorer version 6, you may receive the following error messages: Internet Explorer cannot download File.doc from ServerName.阅读全文>
发表于 @ 2008年04月23日 15:09:00|评论(loading...)|编辑|收藏
发表于 @ 2008年04月23日 15:07:00|评论(loading...)|编辑|收藏
"Secure and nonsecure" items is most often the result of bad web page design. As a user it's difficult to avoid without lowering your guard.阅读全文>
发表于 @ 2008年04月15日 15:11:00|评论(loading...)|编辑|收藏
发表于 @ 2008年04月07日 16:46:00|评论(loading...)|编辑|收藏