🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12485

Re: Generic aren't - by Bruce Eckel

#12485
From: צ�ۿ��Ȱ���
Date: Thu, 29 Jul 2004 14:12
24 lines
2144 bytes
���İ����ҿ��˲��ٽ��ܺʹ���java generics�������ˣ�����
���еĺô�������������container�ϣ���ʵ��Ҳ��������һЩ
casting up�Ĵ���͵õ���õľ�̬���Ͱ�ȫ����������
�˻������Զ�ȱʡֵ�����⣩����������������˵��Ҫ���ˡ�

����һȦ�������ö�̬�������ˡ�����python, ruby����groovy�ɣ�

�� �� gaobo (��������) �Ĵ������ᵽ: ��
: 3-10-04 Generics Aren't
: Note: there is a follow-up article
: I was invited to be the guest at the Silicon Valley Patterns Group last 
: night, and was able to choose the topic. In preparation for learning about 
: JDK 1.5, I chose Java Generics, and we all ended up with a bit of a shock 
: as a result. Our primary source of information was the new Sun paper on 
: Java Generics. 
: My experience with "parameterized types" comes from C++, which was based on 
: ADA's generics. Apparently Lisp was the first language to do type 
: parameterization, and someone said Simula had it as well. In those 
: .................������ʡ�ԣ�

--

Control the damage before the damage controls you.
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 221.137.56.87]
Technical Details
Message-ID: <4DQ43d$8yH@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,7f64cb524fc9b048,start
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU
From: Groovy.bbs@bbs.sjtu.edu.cn (צ�ۿ��Ȱ���)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: Generic aren't - by Bruce Eckel
Date: 29 Jul 2004 14:12:38 GMT
Organization: ��ˮ˼Դ
Message-ID: <4DQ43d$8yH@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1091110071.A