• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Better list for Java?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better list for Java?


  • Subject: Re: Better list for Java?
  • From: Kay Röpke <email@hidden>
  • Date: Sun, 28 Dec 2008 18:28:48 +0100

Hi!

On Dec 28, 2008, at 6:24 PM, William Squires wrote:

Does this mean I don't have access privileges, or that the documentation just isn't available?

Sorry, can't help with that :(
But IIRC the java language docs weren't available as docsets (but then i'm never using Xcode docs for Java anyhow).


I'm trying to find the correct syntax in Java for defining an enumeration (like in C/C++), something like

typedef enum {ROAD, GRASS, WATER, HILLS, MOUNTAINS} TerrainType;

Does java even support enumerations? Sorry to bother this list, but my doc sets weren't helpful, and neither was "The Complete Reference: Java 2 Fourth Edition" by Osborne Publ. Waaaaa.... Now I think I'm going to cry! :)

That reference won't mention enums because enums are a Java 5 (== 1.5 ... argggl) language feature.
Check out http://java.sun.com/j2se/1.5.0/docs/guide/language/ enums.html for their syntax.


cheers,
-k
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Better list for Java? (From: William Squires <email@hidden>)

  • Prev by Date: Re: Better list for Java?
  • Next by Date: Re: Better list for Java?
  • Previous by thread: Re: Better list for Java?
  • Next by thread: Re: Better list for Java?
  • Index(es):
    • Date
    • Thread