Article View: borland.public.jbuilder.java.language
Article #17486Collections sub-class
From: Jason Burton
Date: Tue, 03 Nov 1998 00:00
Date: Tue, 03 Nov 1998 00:00
8 lines
817 bytes
817 bytes
I would like to make a class using the collections framework that is a List/Vector of Strings rather than of Objects, so that a typecast doesn't need to be made when getting/setting elements. I wish I could override the get/elementAt methods to return a different type, but that isn't possible. Anyone have any clean implementation ideas? Thanks, Jason Burton
Technical Details
Message-ID:
<71nofl$8j31@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,e93759e00fd3c52b,start X-Google-Attributes: gidf74b3,public From: "Jason Burton" <jasonb@tmscorp.com> Subject: Collections sub-class Date: 1998/11/03 Message-ID: <71nofl$8j31@forums.borland.com> X-Deja-AN: 408042818 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.language