摘要:
SQLite的数据库本质上来讲就是一个磁盘上的文件,所以一切的数据库操作其实都会转化为对文件的操作,而频繁的文件操作将会是一个很好时的过程,会极大地影响数据库存取的速度。例如:向数据库中插入100万条数据,在默认的情况下如果仅仅是执行sqlite3_exec(db, “insert into nam... 阅读全文
posted @ 2015-02-10 16:21
Lechance
阅读(199)
评论(0)
推荐(0)
摘要:
findbugs警告26个。主要有以下9类问题。1、Bug: Hard coded reference to an absolute pathnameBUG描述:This code constructs a File object using a hard coded to an absolute ... 阅读全文
posted @ 2015-02-10 14:14
Lechance
阅读(676)
评论(0)
推荐(0)
摘要:
方法一:1.Eclipse中,选择Help->Software Updates->Find and Install2.选择 Search for new features to install 选择Next3.选择 New Remote Site4.输入更新地址http://eclipse-cs.s... 阅读全文
posted @ 2015-02-10 11:23
Lechance
阅读(195)
评论(0)
推荐(0)
摘要:
importjava.util.Arrays;importjava.util.List;/****本类演示了Arrays类中的asList方法*通过四个段落来演示,体现出了该方法的相关特性.**(1)该方法对于基本数据类型的数组支持并不好,当数组是基本数据类型时不建议使用*(2)当使用asList(... 阅读全文
posted @ 2015-02-10 08:54
Lechance
阅读(236)
评论(0)
推荐(0)
摘要:
LinkedList类是双向列表,列表中的每个节点都包含了对前一个和后一个元素的引用.LinkedList的构造函数如下1. public LinkedList(): ——生成空的链表2. public LinkedList(Collection col): 复制构造函数1、获取链表的第一个和最后一... 阅读全文
posted @ 2015-02-10 08:41
Lechance
阅读(562)
评论(0)
推荐(0)

浙公网安备 33010602011771号