battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share
 

 java use an enum with in an if statement

Go down 
AuthorMessage
Moti Barski

Moti Barski

Posts : 293
Join date : 2011-08-02

java use an enum with in an if statement Empty
PostSubject: java use an enum with in an if statement   java use an enum with in an if statement EmptySun Mar 24, 2019 7:32 pm

Code:
public enum enumFail {
   // armored,ape
   fail, requip, lose
   // pain -> requip
   // stand by(mode) : requip / dequip
}


if (enumFail.fail.equals(failure.fail)) {}

king Twisted Evil

_________________
MB over and out _______________________     :trueogre:
Back to top Go down
View user profile
 
java use an enum with in an if statement
Back to top 
Page 1 of 1
 Similar topics
-
» How to compare images selenium, using java
» Cannot locate the class Select in web driver
» Selenium RC
» Retrieving number of rows in a table
» Selenium IDE to java with flow control

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: