自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 JAVA7的新特性之钻石操作符和加强的Switch语句

1. 钻石操作符(Diamond Operator )在你的IDE中,如果你使用的泛型,那么就会给出很多的提示。举个例子来看一下吧,如果你定义了一个Map类型的变量trades,同时该变量使用到了泛型。那么该变量的声明如下,Map> trades = new TreeMap> ();通过查看上面的代码可以很直观的看到,一个不是很友好的问题就是每次声明泛型变量的时必须左右两边都同时声

2013-03-27 11:01:19 3709

原创 Putty 中调用linux tree命令后出现乱码的解决方法

使用putty远程连接linux后,调用tree命令显示某一个目录的树状结构,但是命令执行完后在putty的控制台上显示有乱码。如下图所示后来发现是因为编码的问题,问题如图,于是就将Remote character set 设置成UTF-8后,再调用tree命令就可以显示正确了。最终显示的结果如下图所示,

2013-03-06 13:14:33 2093 1

Next Generation Java Testing TestNG

Doing the right thing is rarely easy. Most of us should probably eat better, exercise more, and spend more time with our families. But each day, when confronted with the choice of being good or doing the easy thing, we often choose the easy thing because, well, it’s easier. It is the same way with software testing. We all know that we should spend more effort on testing, that more testing will make our code more reliable and maintainable, that our users will thank us if we do, that it will help us better understand our own programs, but each day when we sit down to the computer and choose between writing more tests and writing more application code, it is very tempting to reach for the easy choice.

2015-10-08

OCA Java SE 7 Programmer I Certification Guide

OCA Java SE 7 Programmer I Certification Guide

2014-03-17

空空如也

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

TA关注的人

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