Diamond Operator « JDK 7 « Java






1.Using the Diamond Operator for Constructor Type Inference
2.Using the Diamond Operator when type is not obvious
3.Using the @SafeVarargs Annotation
4.Using the Diamond Operator and Suppressing Unchecked Warnings(SuppressWarnings)