🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: enum

#8729
From: Tim Dietz
Date: Fri, 09 Mar 2001 14:54
12 lines
1205 bytes
No, there's not and it's a good thing.  You can create your own enum class
that allows
better type safety.  One example is at
http://developer.java.sun.com/developer/Books/shiftintojava/page1.html#repla
ceenums

"Bob Vasseur" <vasseura@mscomm.com> wrote in message
news:3aa8e395_1@dnews...
> It would appear that there is no Java equivalent to an enum in C. is this
> true?
>
>
Technical Details
Message-ID: <3aa8eedc_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.110.36.206
References: <3aa8e395_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,64ea3a233c496641
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-09 07:05:54 PST
From: "Tim Dietz" <tdietz@telena.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3aa8e395_1@dnews>
Subject: Re: enum
Date: Fri, 9 Mar 2001 06:54:58 -0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 207.110.36.206
Message-ID: <3aa8eedc_2@dnews>
X-Trace: 9 Mar 2001 06:55:24 -0800, 207.110.36.206
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.110.36.206