This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
EJB and other Java EE Technologies
Small help in Code Construct-
Joined: Dec 28, 2010
Dec 30, 2010 08:16:03
totalProducts = workdesc.getinput().getProducts().sizeofproductarray();
for (int i = 0; i < Products; i++)
code = workdesc.getInput().getProducts()
If the input coming from the workdesc is of type product is Empty we assigned it to be default from constants(Utils).
As same i have a constant called "EVERYTHING"... I need to enhance the code... the way that
If -elseif-else kind of structure.... where elseif---DEFAULT.......elseif--Everything.....else( throw an exception).
can someone construct the code... Thanks
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Small help in Code Construct-
Ternary operator with if/elseif/else
Converting Negative value to zero
Calling a MySQL stored procedure from a web service....
Style. Which would you prefer?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015