Java的泛型是什么呢, 就是类型的参数化,也就是原本该是确定类型的地方换成了变量,把类型的确定时间向后延迟了。
在之前,学过“重载”的概念,重载是什么呢,举例来说
public class Test{
// 处理整型数据
void receive(int i) {
System.out.println("Received one int data");
System.ou...
分类:
编程语言 时间:
2014-07-22 23:04:34
阅读次数:
324
一,Linq to EF using System;using
System.Runtime.CompilerServices;using System.Linq;using System.Data; namespace
EntityframeworkSQL{ class Program { sta...
分类:
数据库 时间:
2014-07-22 23:00:53
阅读次数:
553
直接上源码 1 using System; 2 using System.Data; 3 using
System.Threading.Tasks; 4 using DbUtility; 5 6 namespace TestDbUtilityConsole 7
{ 8 class Prog...
分类:
数据库 时间:
2014-05-01 21:15:43
阅读次数:
560
一、安装 JDK 下载JDK最新版本,下载地址如下:
http://www.oracle.com/technetwork/java/javase/downloads/index.html 二、下载并安装
Eclipse http://www.eclipse.org/downloads/
分类:
移动开发 时间:
2014-05-01 21:03:30
阅读次数:
560
安装ccs_setup_5.1.1.00028.exe后(无论是自己装eclipse还是在原来的基础上安装eclipse的插件),ccs5的应用无法打开,错误为:An
error has occurred.See the log file .\workspace\.metadata\.log.本现象...
分类:
其他好文 时间:
2014-05-01 20:57:36
阅读次数:
888
启动SQL代理的时候报错如下:关调用实时(JIT)调试而不是此对话框的详细信息,请参见此消息的结尾。************** 异常文本
**************System.NullReferenceException: 未将对象引用设置到对象的实例。Server stack trace:
...
分类:
数据库 时间:
2014-05-01 20:21:21
阅读次数:
796
C#冒泡排序,转载自:http://bbs.it-home.org/forum-net-2.html不多解析自己看去吧using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace...
分类:
其他好文 时间:
2014-05-01 20:17:35
阅读次数:
348
~/.conkyrc# Conky, a system monitor, based on
torsmo## Any original torsmo code is licensed under the BSD license## All code
written since the fork of...
分类:
系统相关 时间:
2014-05-01 18:42:00
阅读次数:
580
1、 tomcat插件
如果是Kepler的话,已经自带了tomcat插件,如果没有,到http://www.eclipsetotale.com/tomcatPlugin.html下载安装或在线安装,这里就不多说了。
2、创建Server
打开serversview(windowàshow viewàservers),在servers view中新建一个server,如下图所示:...
分类:
系统相关 时间:
2014-04-30 22:33:40
阅读次数:
528
在ZygoteInit的main()方法中做了几件大事,其中一件便是启动Systemserver进程,代码如下:
@/frameworks/base/core/java/com/android/internal/os/ZygoteInit.java
public static void main(String argv[]) {
try {
........
分类:
其他好文 时间:
2014-04-30 22:16:38
阅读次数:
442