🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #549

Re: indexed sequential files

#549
From: Peter van der Linden
Date: Fri, 20 Mar 1998 00:00
24 lines
1797 bytes
>Does anybody knows if there is any available java class to manage
>indexed sequential files?

There is no standard java.io.* class to do this.
I have not heard of anyone writing one, but a search on Gamelan
may yield more info.

I bet it would be very simple to whisk up the basics of Indexed Sequential
Access using a hashtable to store the key/offset pairs, and keeping
that hashtable in a separate file which is read in at the start of
processing.   Use a random access file to store the data.

I might even have a go at whisking it up this weekend.
The basics would take less than an hour but all the corner cases
would probably take a couple of months.

      Peter

-- 
pvdl@best.com           Java Programmer's FAQ at:     http://www.afu.com 

Trying does not guarantee success, but not trying guarantees failure.
The trampoline that does not bend your brain is not the true trampoline.
Technical Details
Message-ID: <6eudrn$9h3$1@shell15.ba.best.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3512B77F.3F54@latl.unige.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 116694,922dcb7e3b8787d7
X-Google-Attributes: gid116694,public
X-Google-Thread: f778e,922dcb7e3b8787d7
X-Google-Attributes: gidf778e,public
X-Google-Thread: 10a146,922dcb7e3b8787d7
X-Google-Attributes: gid10a146,public
X-Google-Thread: f5e83,922dcb7e3b8787d7
X-Google-Attributes: gidf5e83,public
X-Google-Thread: 10990d,922dcb7e3b8787d7
X-Google-Attributes: gid10990d,public
From: pvdl@shell15.ba.best.com (Peter van der Linden)
Subject: Re: indexed sequential files
Date: 1998/03/20
Message-ID: <6eudrn$9h3$1@shell15.ba.best.com>
X-Deja-AN: 336021466
References: <3512B77F.3F54@latl.unige.ch>
X-Trace: 890419897 5686 pvdl  206.184.139.132
Organization: Best Internet Communications, Inc. - 650 964 BEST
Newsgroups: comp.lang.java.programmer,comp.lang.java.softwaretools,ug.comp,ug.cui,ch.si.general