🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18182

Re: Storage of records

#18182
From: Steve Schafer (TeamB)
Date: Wed, 05 Aug 1998 00:00
16 lines
1196 bytes
On Wed, 05 Aug 1998 05:18:41 GMT, jim@sprockets.co.uk (Jim Guthrie)
wrote:

>I'm starting to re-write a Delphi app in Java to get cross platform
>usage,  so I'm very new to Java.
>
>Is there an equivalent in Java for the Pascal "Record" and the Delphi
>TList so that I might be able to construct a class to contain a list
>of records in the similar way to what I have in Delphi.

For records, just declare a class with appropriate fields. You don't
have to give the class any additional methods. For a list,
java.util.Vector might be the best match, though it's hard to say
without specific details about the application.

-Steve
Technical Details
Message-ID: <35d47972.81520819@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35c7e95d.15473663@forums.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,26cf23c325383056
X-Google-Attributes: gidf74b3,public
From: pandeng@telepath.com (Steve Schafer (TeamB))
Subject: Re: Storage of records
Date: 1998/08/05
Message-ID: <35d47972.81520819@forums.borland.com>
X-Deja-AN: 378194211
Content-Transfer-Encoding: 7bit
References: <35c7e95d.15473663@forums.inprise.com>
Content-Type: text/plain; charset=us-ascii
Organization: TeamB
Mime-Version: 1.0
Reply-To: pandeng@telepath.com
Newsgroups: borland.public.jbuilder.java.language