- 博客(7)
- 收藏
- 关注
转载 二叉树的最小深度
minimum depth of binary tree Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the n...
2018-11-23 23:57:00
98
转载 二叉树的最大深度
maximum depth of binary tree Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the fa...
2018-11-23 23:54:00
72
转载 Fragment的生存周期
1. 当Fragment第一次被加载到屏幕上时:11-15 13:05:26.981 3013-3013/cn.edu.npu.fragmenttest D/RightFragment: onAttach:11-15 13:05:26.981 3013-3013/cn.edu.npu.fragmenttest D/RightFragment: o...
2018-11-15 13:19:00
100
转载 Activity的生存周期
1》打开MainActivity11-05 21:18:41.929 15123-15123/cn.edu.npu.activitylifecycletest D/MainActivity: *********onCreate*********11-05 21:18:41.938 15123-15123/cn.edu.npu.activitylif...
2018-11-05 21:29:00
105
转载 浅谈装饰者模式+JAVA I/O中的装饰者模式
1. 装饰者模式举个栗子,假如在一家饮料店中有两种饮料,分别是奶茶和咖啡,相对的有三种调料,蜂蜜、块糖和摩卡,这样消费者就有不同的消费组合,比如加糖摩卡咖啡、蜂蜜摩卡咖啡,加糖奶茶......如果饮料的种类或者调料的种类增多,那么消费组合就会相应的增多,反映到编程代码上就会出现“类爆炸”,而且再添加新的饮料或者调料时会不可避免的改变原有的类的代码,这...
2018-09-15 22:44:00
268
转载 JSP实现基本的注册功能
目录1.前端页面2.实体类beans3.工具类Dao4.Servlet类5.JDBC工具类6.XML文件7.项目源码这里主要用JSP方式实现了基本的注册功能。项目名称为NWPU_JavaWeb_Project。项目目录的组织结构为:1.前端页面前端页面比较简陋,只实现了基本的跳转以及输入的功能。但有几点需要注意...
2018-09-15 19:24:00
329
转载 初识JSON
<span style="font-size: 24px; font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"> </span><span style="font-size: 24px; font-family:...
2016-10-09 17:57:00
80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人