type casting
-
Generics and Generic MethodsStaticPL/JAVA 2019. 8. 27. 11:45
1. Overview Generic was designed to extend Java's type system to allow "a type or method to operate on objects of various types while providing compile-time type safety". The aspect of compile-time type safety was not fully achieved since it was shown in 2016 that it is not guaranteed in all classes. 2. Motivation Ensure type safety Ensure that generics wouldn't cause an overhead at runtime whic..