会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
绿叶萌飞(CSDN博客地址:https://blog.csdn.net/qq_34115899)
CSDN博客地址:https://blog.csdn.net/qq_34115899
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
24
下一页
2018年7月19日
关于interrupt(),interrupted(),isInterrupted()用法分析
摘要: 我想代码是非常容易解释这个问题的了。下文会给出总结。总结点击这里或者往下阅读:直接来一段小代码吧:public class Interrupt { public static void main(String[] args) { Thread t ...
阅读全文
posted @ 2018-07-19 15:26 绿叶萌飞
阅读(703)
评论(0)
推荐(0)
2018年7月18日
我的博客----我的大学
摘要: 嗯,对,这是我的博客。 其实我的博客就是我的笔记本,在快速学习过程中非常容易遗忘。好记性不如烂笔头,可是曾把笔记写在笔记本却很少去看,或者没有看,长篇代码又懒的抄在笔记本,到后来才写在博客。写在博客其实挺方便,有些函数什么的用法可以直接搜索,网上也有很多...
阅读全文
posted @ 2018-07-18 20:11 绿叶萌飞
阅读(133)
评论(0)
推荐(0)
基本排序算法总结
摘要: 以下排序算法模版都会用Comparable接口数据类型,只要实现了Comarable接口的数据类型比如Integer、Double、String和其他许多高级数据类型(如File和URL),这些数据类型的数组可以作为参数调用排序方法。这里的输入不是Scanner ci...
阅读全文
posted @ 2018-07-18 15:37 绿叶萌飞
阅读(118)
评论(0)
推荐(0)
2018年7月16日
多个线程之间的通信问题
摘要: 在同步代码块中,锁对象是谁,就用那个对象来调用wait和notify为什么wait方法和notify方法需要定义在Object? 因为所有的对象都是Object的子类对象,而所欲的对象都可以当做锁对象 jdk1.5版本之前多个线程通信用synchronize...
阅读全文
posted @ 2018-07-16 21:20 绿叶萌飞
阅读(178)
评论(0)
推荐(0)
2018年7月15日
多线程同步问题
摘要: 先看Demo1:public class Demo1_Synchronized { public static void main(String[] args) { final Printer p = new Printer(); n...
阅读全文
posted @ 2018-07-15 14:10 绿叶萌飞
阅读(95)
评论(0)
推荐(0)
2018年7月13日
第三十七章 : 奇珍异宝
摘要: 奇珍异宝In this, the final chapter of our journey, we will look at some odds and ends.While we have certainly covered a lot of ground in t...
阅读全文
posted @ 2018-07-13 09:55 绿叶萌飞
阅读(77)
评论(0)
推荐(0)
第三十六章 : 数组
摘要: 数组In the last chapter, we looked at how the shell can manipulate strings and numbers.The data types we have looked at so far are known...
阅读全文
posted @ 2018-07-13 09:55 绿叶萌飞
阅读(160)
评论(0)
推荐(0)
第三十五章 : 字符串和数字
摘要: 字符串和数字Computer programs are all about working with data. In past chapters, we have focused onprocessing data at the file level. Howeve...
阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞
阅读(144)
评论(0)
推荐(0)
第三十四章 : 流程控制:for 循环
摘要: 流程控制:for 循环In this final chapter on flow control, we will look at another of the shell’s looping constructs.The for loop differs from ...
阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞
阅读(109)
评论(0)
推荐(0)
第三十三章 : 位置参数
摘要: 位置参数One feature that has been missing from our programs is the ability to accept and processcommand line options and arguments. In thi...
阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞
阅读(161)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
24
下一页
公告