{"id":417,"date":"2007-10-21T00:00:00","date_gmt":"2007-10-21T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=417"},"modified":"2007-10-21T00:00:00","modified_gmt":"2007-10-21T00:00:00","slug":"Generics","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=417","title":{"rendered":"Generics"},"content":{"rendered":"<p><DIV id=PageTitle>Generics<\/DIV><br \/>\n<BLOCKQUOTE><EM>Generics<\/EM> are a built-in language feature that will make your software more reliable. This lesson discusses the following topics:<br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/410\" target=_top>Introduction<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section explains some common shortcomings associated with non-generic code. Specifically, it shows how certain kinds of bugs will crash an application at runtime, since they are not detectable by the compiler. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/411\" target=_top>Generic Types<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section explains generic type declarations, type variables, type parameters, and type arguments. It also describes the naming conventions that are specific to generics. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/412\" target=_top>Generic Methods and Constructors<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section shows how type parameters can be used to define generic methods and constructors. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/413\" target=_top>Bounded Type Parameters<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section describes how type parameters can specify an upper bound that limits the kind of types that can be passed in. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/414\" target=_top>Subtyping<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section describes how generic subtyping differs from non-generic subtyping. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/415\" target=_top>Wildcards<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section continues the discussion of subtyping by describing bounded and unbounded wildcards. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/416\" target=_top>Type Erasure<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section describes type erasure, raw types, and unchecked warnings. <\/BLOCKQUOTE><\/BLOCKQUOTE><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generics Generics are a built-in language feature that will make your software more reliable. This lesson discusses the following topics: Introduction This section explains some common shortcomings associated with non-generic code. Specifically, it shows how certain kinds of bugs will crash an application at runtime, since they are not detectable by the compiler. Generic Types &hellip; <a href=\"https:\/\/www.strongd.net\/?p=417\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Generics<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=417"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}