自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

tigershin的专栏

Effective Java 3rd cn

  • 博客(2)
  • 资源 (7)
  • 收藏
  • 关注

翻译 Effective Java 3rd 条目27 消除非受检警告

当你用泛型编程时,你将会看见许多编译器警告:非受检强转警告、非受检方法调用警告、非受检参数化vararg类型警告和非受检转换警告。你多熟悉泛型一些,你将获得更少警告,但是不要期待这些新代码干净利索地编译。 许多非受检警告容易消除。例如,假设你不慎编写如下声明: Set<Lark> exaltation = new HashSet(); 编译器会轻轻地告诉你做错了什么: Vene...

2018-03-12 22:12:12 290

翻译 Effective Java 3rd 条目26 不要使用原生类型

首先,一些术语。类或者接口,它的声明有一个或者多个类型参数(type parameter),是泛型(generic)类或者接口[JLS, 8.1.2, 9.1.2]。例如,List接口有一个类型参数,E,代表它的元素类型。这个接口的完整名字是List<E>(读作“E的列表”),但是人们常常简单地叫它为List。泛型类和接口全部叫做泛型类型。 每个泛型类型定义了参数化(paramete...

2018-03-06 22:55:43 284

concurrent-patterns-best-practices-synchronization

I still remember the Aha! moment when I understood how UNIX shell pipeline works. I fell headlong in love with Linux and the command line and tried out many combination filters (a filter is a program reading from standard input and writes to standard output) connected via pipes. I was amazed by the creativity and power brought about by the command line. I was working with concurrent programs. Then, there was a change of project and I was thrown headlong into writing code using the multithreaded paradigm. The language was C or C++, which I loved deeply; however, to my surprise I found that it was a herculean effort to maintain a legacy code base, written in C/C++ that was multithreaded. The shared state was managed in a haphazard way and a small mistake could throw us into a debugging nightmare!

2018-10-26

Intermediate.iOS.Programming.with.Swift.iOS.10.and.Swift.3

中级ios开发资料

2017-07-17

Wiley.Machine.Learning.Hands-On.for.Developers.and.Technical.Professionals

Wiley.Machine.Learning.Hands-On.for.Developers.and.Technical.Professionals

2017-04-22

空空如也

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

TA关注的人

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