using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:
编程语言 时间:
2018-11-07 00:07:02
阅读次数:
223
package another; import java.util.Arrays; import java.util.List; /** * 数组知识回顾 * @author ChristineBassoon */ public class Array { public static void ma ...
分类:
编程语言 时间:
2018-11-04 21:51:37
阅读次数:
215
配置增加: <supportedProfiles>extendedDesktop desktop</supportedProfiles> fb: flash: ...
分类:
其他好文 时间:
2018-11-02 15:58:44
阅读次数:
213
问题:UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f340' in position 1004: illegal multib 指定文件字符集为utf-8 在文件头部加入以下代码: import sys reload(s ...
分类:
编程语言 时间:
2018-11-02 14:30:18
阅读次数:
252
开发中用到了LeankCanary,在一个简单的页面中(例如:仅仅包含Edittext),也会导致内训泄漏,为此,我在网上找了大量资料,最终解决。例如一个布局:<LinearLayoutandroid:layout_width="match_parent"android:layout_height="match_parent"android:focus
分类:
移动开发 时间:
2018-11-02 11:13:49
阅读次数:
501
1、java.lang.NoSuchFieldException 异常原因:①没有对应字段;②属性为私有时获取 Field 用的方法不是 getDeclaredField。 2、java.lang.IllegalAccessException:调用该类的构造方法,是Private访问权限,访问私有的 ...
分类:
编程语言 时间:
2018-10-30 17:13:18
阅读次数:
203
程序员多了,什么错误都能找到 我还在代码里换了好几次编码,后来才知道 vscode使用的是cmd,所以需要修改cmd的编码 参考 https://blog.csdn.net/renshareck/article/details/79091798 ...
分类:
Web程序 时间:
2018-10-29 17:25:43
阅读次数:
977
>>> f = open("D:\\all.txt", "r")>>> f.read()Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> f.read()UnicodeDecodeError: 'gb ...
分类:
编程语言 时间:
2018-10-27 19:45:24
阅读次数:
1246
ResultMap 对应的是结果集 <resultMap>中的一个结果集。 其基本组成部分中, 含有 ResultMapping 对象。 其组成大致如下: 本文, 主要讲解一下该类的组成。 1 成员变量 2 构造函数 只有默认构造函数 3 其他函数 3.1 setter 和 getter ...
分类:
其他好文 时间:
2018-10-24 00:56:49
阅读次数:
255
程序构思: 单链表的建立 (1) 先建立头结点head,将头结点的指针域置为空。 (2) 新建一个指向头结点的指针m,即Node m = head;(首端插入方式不需要该步骤)。 (3) 新建一个结点p,把此新结点链接到单链表的尾端(p next设为空)或者始端。 1??首端插入方式 ? ①p ne ...
分类:
其他好文 时间:
2018-10-23 14:31:07
阅读次数:
149