简单的便签工具:实现了基于文本的便签信息的浏览,删除,添加。可以查看时间,实时更新数据。这个便签工具完全基于面向对象的编程方式,首先定义Note类,然后使用NoteManager类进行便签的管理。其中的关键就是在NoteManager类中定义list泛型集合。原理上和ArrayList基本是一致的。...
                            
                            
                                分类:
Windows程序   时间:
2014-05-12 17:09:08   
                                阅读次数:
1093
                             
                    
                        
                            
                            
                                1.下载memcacheq包 
下载地址:http://code.google.com/p/memcacheq/downloads/list 解压包:# tar -zxvf 
memcacheq.0.2.tar.gz (根据自身的情况解压到目录) 进入目录:# cd memcacheq-0.2.0 2....
                            
                            
                                分类:
其他好文   时间:
2014-05-06 01:00:41   
                                阅读次数:
322
                             
                    
                        
                            
                            
                                把一个人一个月的轨迹历史描绘出来,并实现按时间顺序回放。小弟菜鸟一枚,代码质量不高,高手勿喷,谢谢。关于描点和描线,百度地图都有自己的API,大家都应该会了;至于播放动画,肯定不止一种方法,如果大家有好的方法,分享出来,小弟感激不尽。我的方法是:在一个线程里,开始播放后,遍历存放item的list,...
                            
                            
                                分类:
移动开发   时间:
2014-05-06 00:37:01   
                                阅读次数:
473
                             
                    
                        
                            
                            
                                Mergeksorted linked lists and return it as one 
sorted list. Analyze and describe its complexity.想法很简单,就是两两合并。在Merge Two Sorted 
Lists这道题已经实现了两两合并的代码了,就...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:22:01   
                                阅读次数:
337
                             
                    
                        
                            
                            
                                周末折腾一下Ubuntu 14.04,稍作记录:1. 切换源,我还是钟情163的(ps, 
这里如果用的以前13.04时候163的源会有问题,记得配置最新的)$ sudo cp /etc/apt/sources.list 
/etc/apt/sources.list.origin$ sudo gedit...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:13:19   
                                阅读次数:
376
                             
                    
                        
                            
                            
                                1、扩展BaseExpandableListAdapter实现ExpandableListAdapter2、使用SimpleExpandableListAdapter将两个List集合包装成ExpandableListAdapter3、使用SimpleCursorTreeAdapter将Cursor...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 23:43:51   
                                阅读次数:
280
                             
                    
                        
                            
                            
                                List在Unity安装目录下的..\Unity\Editor\Data\Mono\lib\mono\micro\mscorlib.dll自备反编译工具,这里用的是ILSpyBetterList不支持任何集合接口,功能简单,扩展功能只有一个排序。排序用的是冒泡。List就不多介绍了。都懂得,其内部排...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 15:40:39   
                                阅读次数:
734
                             
                    
                        
                            
                            
                                Where's Waldorf? 
Given a m by n grid
 of letters, ( ),
 and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 10:59:15   
                                阅读次数:
514
                             
                    
                        
                            
                            
                                DbUtility中的方法ExecuteDataTableAsync()得到的是一个DataTable,而我们常见的情况下,我们需要的不是DataTable,而是List或IList,所以现在需要考虑把DataTable转成List或IList,目前暂时有三种方案:方案1:用动软生成代码: 
1 pu...
                            
                            
                                分类:
数据库   时间:
2014-05-02 09:39:03   
                                阅读次数:
480
                             
                    
                        
                            
                            
                                Reverse a linked list from positionmton. Do it 
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 
2 andn= 4,return1->4->3->2->5->NULL.No...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 09:10:46   
                                阅读次数:
252