1、异常的概念 Java异常类层次结构图: Throwable:有俩个重要的子类:Error(错误)和Exception(异常),两者都是Java处理异常的重要子类,各自都包含了大量的子类。Error(错误):是程序无法处理的错误,表示运行应用程序中较严重问题。大多数错误与代码编写者执行的操作无关, ...
分类:
其他好文 时间:
2018-11-28 20:36:39
阅读次数:
185
a) 一个整型数(An integer) b) 一个指向整型数的指针(A pointer to an integer) c) 一个指向指针的的指针,它指向的指针是指向一个整型数(A pointer to a pointer to an integer) d) 一个有10个整型数的数组(An arra ...
分类:
其他好文 时间:
2018-11-25 23:59:30
阅读次数:
315
UWP里有一件非常令人不爽的事,大部分控件只提供了Normal状态下的Background,Foreground,BorderBrush,而控件一般至少具有Normal、PointerOver、Pressed、Disabled,ItemContainerStyle还有Selected、Pointer ...
分类:
其他好文 时间:
2018-11-23 20:47:54
阅读次数:
129
图像清晰度的评价及分析 2016年07月28日 17:54:22 clxiaoclxiao 阅读数:17963更多 个人分类: opencv 图像清晰度的评价及分析 2016年07月28日 17:54:22 clxiaoclxiao 阅读数:17963更多 个人分类: opencv 图像清晰度的评价 ...
分类:
其他好文 时间:
2018-11-22 23:56:17
阅读次数:
342
Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL ...
分类:
其他好文 时间:
2018-11-22 23:03:13
阅读次数:
275
首先想到的肯定是暴力解法,O(n^2)。 421ms,8.51%,肯定不行,思考更优解法。 自己想到了two pointer,但是没有彻底想明白,看了solution后明白了。 6ms,66.7%,O(n)。和3ms答案基本一个思路了,可以了。 ...
分类:
其他好文 时间:
2018-11-21 22:15:08
阅读次数:
177
A handle of the local Bluetooth radio. 本地蓝牙无线电的句柄。 A pointer to a BLUETOOTH_DEVICE_INFO structure. Must be a previously found radio address. 指向BLUETOO ...
分类:
其他好文 时间:
2018-11-19 11:11:55
阅读次数:
553
"LeetCode 138. Copy List with Random Pointer" 又是copy 指针的题目。 这个和上一道题目有个坑点,函数中的参数要加&地址符。 ...
分类:
其他好文 时间:
2018-11-15 15:37:21
阅读次数:
186
在 C# 中,变量分为以下几种类型: 值类型(Value types) 引用类型(Reference types) 指针类型(Pointer types) 在 C# 中,变量分为以下几种类型: 值类型(Value types) 引用类型(Reference types) 指针类型(Pointer t ...
因为一直报实体类空异常,去网上查了资料只查到了并没有查到数据库空值时不给实体类赋值的属性,只有这两个属性 这两个属性时设置 实体类有空字段插入或更新 数据库时空属性为默认值 异常 于是就加了这段代码 ...
分类:
数据库 时间:
2018-11-15 11:00:34
阅读次数:
427