Thanks On Feb 10, 7:48 pm, Thomas Broyer <[email protected]> wrote: > On 10 fév, 18:05, bconoly <[email protected]> wrote: > > > > > Hello All, > > I have an enum in which I'm trying to use it's natural ordering. > > In the javadocs for the java enum I get that it's based on the order > > the enum constants are declared so if I declare an animal enum as: > > > DOG, > > CAT; > > > then using DOG.compareTo(CAT) will tell me that dog comes before cat. > > Where if i declare them as: > > > CAT, > > DOG; > > > then using DOG.compareTo(CAT) will tell me that cat comes before dog. > > > My question is, Does the GWT compiled version of Java's Enum support > > this same feature? > > Yeshttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
