enum?
Seriously of topic?
But isn't enum? :
 enum day { monday, tuesday, wednesday /... ect/ };

This not part of Java, see:
http://java.sun.com/docs/white/langenv/Simple.doc2.html

Toby

-----Original Message-----
From: Rickard [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 14. Februar 2002 14:05
To: [EMAIL PROTECTED]
Subject: Re: Implement enum in Java


Srikant Chonnad wrote:

> Hi,
>      I want to implement 'enum' (as in C++) in Java. Please help.

The best way to do it is to use Thread.yield() to let the other thread
do its job. You may want to use Thread.sleep() as well to be on the safe
side.

/Rickard

--
Rickard �berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to