Java的泛型是什么呢, 就是类型的参数化,也就是原本该是确定类型的地方换成了变量,把类型的确定时间向后延迟了。
    在之前,学过“重载”的概念,重载是什么呢,举例来说
public class Test{
	// 处理整型数据
	void receive(int i) {
		System.out.println("Received one int data");
		System.ou...
                            
                            
                                分类:
编程语言   时间:
2014-07-22 23:04:34   
                                阅读次数:
324
                             
                    
                        
                            
                            
                                ACM    二分搜索      Can you solve this equation?       hdu2199       精度判定...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 17:58:48   
                                阅读次数:
337
                             
                    
                        
                            
                            
                                Merge k Sorted Lists
 Total Accepted: 9746 Total
 Submissions: 41674My Submissions
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity....
                            
                            
                                分类:
其他好文   时间:
2014-05-01 17:11:32   
                                阅读次数:
234
                             
                    
                        
                            
                            
                                Background:
It's fairly common for businesses to want to provide some high availability for their SQL Server databases, and one option is to have two SQL Server databases on separate machines with a SQL Server database mirrored....
                            
                            
                                分类:
数据库   时间:
2014-04-30 22:11:38   
                                阅读次数:
520
                             
                    
                        
                            
                            
                                1D people lived in a 1D country. Everything in the country was one-dimensional, and everything was simple and clear: just one axis and two directions — forward and backward. Even a 1D world has proble...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:44:22   
                                阅读次数:
284
                             
                    
                        
                            
                            
                                Problem:
You are trying to setup a mirroring on a Database called xxxDB(SQL server 2012).
You are getting this error while trying to setup mirroring.
“Neither the partner nor the witness server ins...
                            
                            
                                分类:
数据库   时间:
2014-04-29 13:33:20   
                                阅读次数:
444
                             
                    
                        
                            
                            
                                1、
??
String to Integer (atoi)
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yours...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:22:22   
                                阅读次数:
341
                             
                    
                        
                            
                            
                                The blonde Angela has a new whim: internet chats. Of course, as any blonde, she writes her messages using the upper case. You are the moderator of Angela's favorite chat and you're fed up with her upp...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:17:21   
                                阅读次数:
293
                             
                    
                        
                            
                            
                                1、
??
Reorder List 
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:16:21   
                                阅读次数:
250
                             
                    
                        
                            
                            
                                参考了别人的demo之后发现建立一个管理类看起来舒服些,显得比较有条理……
但在建立与服务器连接当中,发现
Connect Error: {
    NSLocalizedDescription = "You must set myJID before calling connect.";
}
这样的一个问题,知道是jid没有设置好,但是jid怎么设置呢?今天仍然没有弄清,如果有清楚...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:13:20   
                                阅读次数:
352