Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22804

Re: Enum in Eclipse Scrapbook

Newsgroups comp.lang.java.programmer
Date 2013-03-07 13:34 -0800
References (8 earlier) <512f5b83$0$283$14726298@news.sunsite.dk> <3cd361c6-6a12-466c-aafd-4da7cbb1d49e@googlegroups.com> <513405f1$0$32110$14726298@news.sunsite.dk> <45aca1db-6f7f-49aa-b08f-42155dde73a3@googlegroups.com> <5138e82a$0$32107$14726298@news.sunsite.dk>
Message-ID <1c615fe1-b9a7-4135-b724-cc72b5bd724b@googlegroups.com> (permalink)
Subject Re: Enum in Eclipse Scrapbook
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Arne Vajhøj wrote:
> Lew wrote:
>> Arne Vajhøj wrote:
>>> Lew wrote:
>>>> Arne Vajhøj wrote:
>>>>> ... Assuming that we consider enum a class.
> 
>>>> It doesn't matter what you assume or consider, an enum is a class.
>
>>> That is how JLS define it.
> 
>> Q.E.D.
> 
>>> But some may consider class to be something with they class keyword.
> 
> > Some would be wrong.

Of course, I'm wrong in the Enum does, indeed, use the 'class' keyword.

public abstract class Enum<E extends Enum<E>>
"This is the common base class of all Java language enumeration types."

>> Things are what they are. If you consider them not to be, you are wrong.
> 
>> Some need to educate themselves.
> 
> I am a bit less dogmatic about such things.
> 
> I don't have a problem with people referring to actual Java syntax
> instead of the explanation in English in JLS.

Then we agree, since the "actual Java syntax" is that it's a class.
http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html

And what you disingenuously call "the explanation in English in [the] JLS" is not an 
explanation but a specification, an entirely different beast, that normatively *defines* 
the terms.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 21:52 -0800
  Re: Enum in Eclipse Scrapbook markspace <markspace@nospam.nospam> - 2013-02-26 22:25 -0800
    Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:04 -0800
      Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:17 -0800
        Re: Enum in Eclipse Scrapbook markspace <markspace@nospam.nospam> - 2013-02-27 07:41 -0800
          Re: Enum in Eclipse Scrapbook Jim Janney <jjanney@shell.xmission.com> - 2013-02-27 09:53 -0700
          Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-27 12:12 -0800
            Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-27 12:25 -0800
              Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-28 09:02 +0000
                Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 08:28 -0500
                Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-28 15:24 +0000
                Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 16:48 -0500
                Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-28 14:09 -0800
                Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-03-03 21:24 -0500
                Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-03-04 11:36 -0800
                Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-03-07 14:19 -0500
                Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-03-07 13:34 -0800
    Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-27 12:24 -0800
  Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:28 -0800
  Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-27 09:50 +0000
    Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-27 03:43 -0800
      Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-27 12:02 +0000
  Re: Enum in Eclipse Scrapbook Roedy Green <see_website@mindprod.com.invalid> - 2013-02-28 07:43 -0800
    Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 16:57 -0500

csiph-web