一、IDEA太卡顿,设置使用IDEA的内存 在IDEA的安装目录下的bin目录下: 打开设置: 将idea.exe.vmoptions文件内由-server-Xms128m-Xmx512m-XX:MaxPermSize=250m-XX:ReservedCodeCacheSize=150m-ea-Ds ...
分类:
其他好文 时间:
2018-07-06 20:50:54
阅读次数:
184
1. #include <reg52.h> //#define uchar unsigned char //uchar receive; void main(void){ EA = 1; //允许总中断(如不使用中断,可用//屏蔽) ES = 1; //允许UART串口的中断 TMOD = 0x20 ...
分类:
其他好文 时间:
2018-07-01 16:58:03
阅读次数:
115
Problem description There is a game called "I Wanna Be the Guy", consisting of n levels. Little X and his friend Little Y are addicted to the game. Ea ...
分类:
其他好文 时间:
2018-06-09 13:57:17
阅读次数:
196
[LeetCode] Number of Connected Components in an Undirected Graph 无向图中的连通区域的个数 Given n nodes labeled from 0 to n - 1 and a list of undirected edges (ea ...
分类:
移动开发 时间:
2018-06-05 22:18:01
阅读次数:
304
一、多态--对象的多种形态1、引用多态父类的引用可以指向本类的对象父类的引用可以指向子类的对象注:继承是多态的实现基础2、方法多态创建本类对象时,调用的方法为本类的方法创建子类对象时,调用的方法为子类重写的方法或子类继承的方法 例:创建一个父类fruit,创建子类apple 父类fruit,构造ea ...
分类:
编程语言 时间:
2018-06-03 16:23:38
阅读次数:
178
在前一篇 Scala 的参数检查与断言: require, assert, assume 和 ensuring,捉摸 Scala 的断言时提到了 JDK 内置对断言的粗略支持,也就是 assert 语句,并且默认该特性是被关掉,需 -ea 开启。assert object != null;assert object != null : "
分类:
编程语言 时间:
2018-06-03 14:47:55
阅读次数:
192
传送门 题目描述 In an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). Ea ...
分类:
其他好文 时间:
2018-05-25 17:53:12
阅读次数:
158
Description Davy decided to start a weekend market stall where he sells his famous cakes. For the first market stall, Davy decided to bake n cakes. Ea ...
分类:
其他好文 时间:
2018-05-20 23:16:12
阅读次数:
262
jQuery 遍历函数包括了用于筛选、查找和串联元素的方法。本文主要介绍日常工作中常用的JQ遍历,帮助一下初学者快速的接触遍历函数,提高自己的代码编写速度,写出更简洁更实用的代码,祝前端的同学们,在前端这条没有尽头的路上渐行渐远。如果有什么不对的地方 大家多提意见 互相学习 相互参考!!! 1.ea... ...
分类:
Web程序 时间:
2018-05-15 12:18:02
阅读次数:
174
在做JSON反序列化的时候,我们可能经常传递一个class对象来获取对象的示例。但有的时候,可能并不存在这样的class对象: 模板类。并不能直接获取模板类的对象。比如class A<T> {},使用A<Integer>.class却会报错。一个解决办法就是创建一个新类class EA extend ...
分类:
Web程序 时间:
2018-05-13 13:41:03
阅读次数:
537