一、进行JDBC编程的步骤大致如下: 1. 加载数据库驱动,通常使用Class类的forName()静态方法来加载驱动。如下代码: Class.forName(dirvirClass) 上面代码中的driverClass就是数据库驱动类所对应的字符串 加载MySQL数据库时采用的代码为: Class ...
分类:
数据库 时间:
2018-11-13 02:53:29
阅读次数:
166
pwd - Print name of current working directory cd - Change directory ls - List directory contents Linux总是只有一个单一的文件系统树,其他设备挂在到树的各个节点上。 cd Changes the wo ...
分类:
其他好文 时间:
2018-11-11 23:28:36
阅读次数:
220
在Java语言中使用的最多的数据结构大概右两种,第一种是数组,比如Array,ArrayList,第二种链表,比如ArrayLinkedList,基于数组的数据结构特点是查找速度很快,时间复杂度为 O(1),但是删除的速度比较慢,因为每次删除元素的时候需要把后面的所有的元素都要相应的往前移动一位,最 ...
分类:
其他好文 时间:
2018-11-08 23:17:59
阅读次数:
175
Prism https://docs.microsoft.com/en us/previous versions/msp n p/ff648465(v=pandp.10) Prism provides guidance to help you more easily design and build ...
分类:
其他好文 时间:
2018-11-01 19:49:17
阅读次数:
430
小程序中有一个组件swiper 就是滑块视图容器 其中提供了两个属性 previous-margin:前边距,可用于露出前一项的一小部分 next-margin:后边距,可用于露出后一项的一小部分 假设设置 一个view的尺寸为宽为600rpx,高为600rpx,前边距为30rpx,后边距为30rp ...
分类:
微信 时间:
2018-10-31 12:40:02
阅读次数:
679
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:
编程语言 时间:
2018-10-24 10:43:35
阅读次数:
223
(翻译自《MeshProfile v1.0》3.6 Uppper Transport Layer)介绍了高传输层的PDU以及行为。高传输层主要完成了对于应用数据的加密,完整性校验。这部分也支持了朋友特性,以及心跳功能。 ...
分类:
其他好文 时间:
2018-10-21 22:26:23
阅读次数:
192
javascript组成: 1. ECMAScript 基本语法。 2. BOM (浏览器对象模型) 3. DOM (文档对象模型) 关于dom&bom的概念的起源 文档对象模型(Document Object Model,简称DOM),是W3C组织推荐的处理可扩展标志语言的标准编程接口。在网页上, ...
分类:
其他好文 时间:
2018-10-20 23:44:17
阅读次数:
241
关于Scanner,看到一个不错的教程。 原网址:https://www.cs.utexas.edu/users/ndale/Scanner.html Scanner class The Scanner class is a class in java.util, which allows the ...
分类:
其他好文 时间:
2018-10-20 19:52:12
阅读次数:
108
Convert a BST to a sorted circular doubly-linked list in-place. Think of the left and right pointers as synonymous to the previous and next pointers i ...
分类:
其他好文 时间:
2018-10-18 10:57:59
阅读次数:
180