🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #550

Re: TreeMap serialization

#550
From: John McGrath TeamB
Date: Wed, 04 Jun 2003 04:41
16 lines
1337 bytes
On Tue, 3 Jun 2003 11:49:03 -0400, George wrote:

> Hmmm....I find that what Class.getDeclaredFields () returns does 
> not include inherited fields.

That is how it is defined.  You can iteratively call getSuperclass() on 
the Class and get the declared fields for it.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.194739d8ad4c4bde98bfcf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3edcc0f4$1@newsgroups.borland.com> <3edcc382$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,d5d05c76cc28ee2b
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-06-03 21:46:55 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: TreeMap serialization
Date: Wed, 4 Jun 2003 00:41:57 -0400
Message-ID: <MPG.194739d8ad4c4bde98bfcf@newsgroups.borland.com>
References: <3edcc0f4$1@newsgroups.borland.com> <3edcc382$1@newsgroups.borland.com>
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 151.197.11.12
X-Trace: newsgroups.borland.com 1054701716 151.197.11.12 (3 Jun 2003 21:41:56 -0700)
Lines: 16
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail