🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.java
Article #18

Re: General Availability of Colt V1.0.0 -- how to extend?

#18
From: steve.tolkin
Date: Tue, 09 May 2000 00:00
23 lines
1942 bytes
Thanks for providing this!  

How can I extend colt by adding new classes?  For example it provides
OpenIntIntMap, but suppose I want an OpenCharIntMap.

I was hoping to find a "template" file for maps which would
contain lines such as:   
   public <VALUE_TYPE> get(<KEY_TYPE> key) {
Then I would do a macro substitution to produce a particular class.
I hope the *Map.java files were produced in some such mechanical way.

Does such a template file exist?  If so how can I get it?

Also the doc for Map discusses using Chained addressing, but all the
classes provided use Open addressing.  
Is there an example of Chained addressing included anywhere?

Steve
-- 
Steven Tolkin          steve.tolkin@fmr.com      617-563-0516 
Fidelity Investments   82 Devonshire St. R24D    Boston MA 02109
There is nothing so practical as a good theory.  Comments are by me, 
not Fidelity Investments, its subsidiaries or affiliates.
Technical Details
Message-ID: <ur9bbpyyh.fsf@fmr.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39170474.DCA7714D@cern.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a636,123039121dce3c0b
X-Google-Attributes: gid10a636,public
X-Google-Thread: fcfbb,123039121dce3c0b
X-Google-Attributes: gidfcfbb,public
X-Google-Thread: 10568c,123039121dce3c0b
X-Google-Attributes: gid10568c,public
X-Google-Thread: 11a541,123039121dce3c0b
X-Google-Attributes: gid11a541,public
X-Google-Thread: 10a146,123039121dce3c0b
X-Google-Attributes: gid10a146,public
From: steve.tolkin@fmr.com
Subject: Re: General Availability of Colt V1.0.0 -- how to extend?
Date: 2000/05/09
Message-ID: <ur9bbpyyh.fsf@fmr.com>
X-Deja-AN: 621300695
Sender: SY71046@BOSA454958
References: <39170474.DCA7714D@cern.ch>
X-Complaints-To: usenet@mirkwood.fmr.com
X-Trace: news-srv1.fmr.com 957883342 155.1.169.206 (Tue, 09 May 2000 10:42:22 EDT)
Organization: Fidelity Investments
NNTP-Posting-Date: Tue, 09 May 2000 10:42:22 EDT
Newsgroups: de.comp.lang.java,cern.java,cern.heplib,comp.lang.java.programmer,comp.lang.java.beans