自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

IFollowRivers

Now is everything!

  • 博客(3)
  • 收藏
  • 关注

原创 CountDownLatch和ExecutorService结合使用案例

4个人一起打麻将,人到齐了再开始,用CountDownLatch来控制public class TestCountDownLatch2 { private static AtomicInteger id = new AtomicInteger(); private static ExecutorService executorService = new ThreadPoolE...

2019-04-23 20:21:40 1787

转载 SimpleDateFormat线程不安全问题

转自:http://www.cnblogs.com/peida/archive/2013/05/31/3070790.html 想必大家对SimpleDateFormat并不陌生。SimpleDateFormat 是 Java 中一个非常常用的类,该类用来对日期字符串进行解析和格式化输出,但如果使用不小心会导致非常微妙和难以调试的问题,因为 DateFormat 和 SimpleDateFor...

2019-04-21 19:07:59 217

转载 Item18:组合优于继承

转自:https://blog.csdn.net/qq_20492999/article/details/80816922#commentBox

2019-04-21 11:48:05 153

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除