Statements (31)
Predicate | Object |
---|---|
gptkbp:instanceOf |
gptkb:programming_language
|
gptkbp:author |
gptkb:Martin_Odersky
gptkb:Gilad_Bracha gptkb:Gavin_Bierman gptkb:Philip_Wadler |
gptkbp:definedIn |
gptkb:Java_Language_Specification
|
gptkbp:enables |
Type safety
Code reusability |
gptkbp:feature |
gptkb:Wildcards
Bounded type parameters Generic classes Generic interfaces Generic methods Type erasure |
gptkbp:hasSyntax |
List<T>
Map<K, V> |
https://www.w3.org/2000/01/rdf-schema#label |
Java (generics)
|
gptkbp:introducedIn |
gptkb:Java_5.0
|
gptkbp:limitation |
Cannot create generic arrays
Cannot instantiate type parameters No primitive types as type parameters No runtime type information |
gptkbp:partOf |
gptkb:Java_programming_language
|
gptkbp:purpose |
Enable type parameters in classes, interfaces, and methods
|
gptkbp:relatedTo |
gptkb:C++_templates
Type inference |
gptkbp:usedBy |
gptkb:Streams_API
gptkb:Java_Collections_Framework Optional class |
gptkbp:bfsParent |
gptkb:Philip_Wadler
|
gptkbp:bfsLayer |
6
|