自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 Java Annotations

Annotation is code about the code, that is metadata about the program itself. In other words, organized data about the code, embedded within the code itself. It can be parsed by the compiler, annotati

2013-10-25 10:24:56 557

转载 Annotations in JUnit

http://www.devmanuals.com/tutorials/java/JavaTestingTools/junit/AnnotationsInJUnit.html https://github.com/junit-team/junit/wiki/Getting-started   Annotations are like meta-tags that you can add to

2013-10-24 19:10:38 673

转载 Difference between Comparator and Comparable in Java

简单说: 实现Camparable接口可以直接使用sort方法Collections.sort(List list)排序 实现Comparator接口的可以用Collections.sort(List list, Comparator c)排序 一个类实现了Camparable接口则表明这个类的对象之间是可以相互比较的,这个类对象组成的集合就可以直接使用sort方法排序。 Comp

2013-10-24 13:46:15 709

转载 Java equals() and hashCode() Contract

http://www.programcreek.com/2011/07/java-equals-and-hashcode-contract/ The Java super classjava.lang.Object has two very important methods defined: public boolean equals(Object obj) publi

2013-10-22 15:56:03 712

转载 How to make a java class immutable

An immutable class is one whose state can not be changedonce created. There are certain guidelines to create an class immutable. Inthis post, we will revisit these guidelines. Sections: Benefits

2013-10-21 21:59:18 882

转载 Working with hashCode and equals methods in java

In thispost, i will point out my understanding about hashCode() and equals() method. Iwill talk about their default implementation and how to correctly overridethem. I will also write about implemen

2013-10-21 19:23:50 712

转载 find command in UNIX

find command is one of the versatile command in UNIX and Linux  and I used it a lot in my day to day work. I believe having knowledge of find command in UNIX and understanding of its different u

2013-10-20 22:18:35 563

转载 ReentrantLock

ReentrantLock in Java is added on java.util.concurrent package in Java 1.5 along with other concurrentutilities like CountDownLatch, Executors and CyclicBarrier. ReentrantLock is one of the most

2013-10-19 21:15:54 649

转载 threadlocal

ThreadLocal in Java is another way to achieve thread-safety apart from writing immutable classes. If you have been writing multi-threaded or concurrent code in Java then you must be familiar with c

2013-10-19 20:19:11 372

原创 cluster index in sqlserver

A clustered index determines the physical order of data in a table.  A clustered index is analogous to a telephone directory, which arranges data by last name. Because the clustered index dictates t

2013-10-05 13:32:02 597

空空如也

空空如也

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

TA关注的人

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