- OCP
- Open/Closed Principle
- Open for extension, Closed for modification Principle
- SAM / Function Object
- Only one method in a class. See:
@FunctionalInterface
; eg.Callable
orRunnable
. - Covariant Overriding
- During inheritance, an overridden method's return type can be changed to one of it's subtypes. Eg. when overriding
clone()
. - Erasure
- Type parameters are removed from the types in the class bytecode.
According to The Directive 2009/24/EC of the European Parliament and of the Council, and Sec.103(f) of the DMCA (17 U.S.C. § 1201 (f)), the reverse engineering act committed to creating these blog posts is considered legal, as this is an original attempt to improve interoperability, and cannot be waived by license agreements.
The views expressed on this blog are my own and do not necessarily reflect the views of my past and present employers.
2016-10-14
Java 8: Glossary of a session
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment