{"blog_title":"\u3046\u306a\u306e\u65e5\u8a18","image_url":null,"url":"https://unageanu.hatenablog.com/entry/20070525/1180054876","height":"190","version":"1.0","categories":["Java","Guice"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20070525%2F1180054876\" title=\"Generic type\u4ed8\u304d\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3 - \u3046\u306a\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Generic type\u4ed8\u304d\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/unageanu/","type":"rich","description":"Generic type\u4ed8\u304d\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3059\u308b\u306b\u306f\u3001TypeLiteral\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5148: import java.util.List; import com.google.inject.Inject; import com.google.inject.Singleton; class Kitten { // Generic type\u4ed8\u304d\u306eList\u3092\u53d7\u3051\u53d6\u308b\u3002 @Inject List<String> friends; public void listFriends () { for ( String friend : friends ) { System.o\u2026","blog_url":"https://unageanu.hatenablog.com/","published":"2007-05-25 10:01:16","author_name":"unageanu","width":"100%"}