0
votes

Top Java 7 Features in Oxygene for Java
RemObjects Blogs
– I saw an article listing the Top 8 features in Java 7 and realized a number of them were already present in Oxygene for Java. Strings in Case Statements In Java they are Switch statements, but in Oxygene we call them a case statements. Instead of a series of if statements, you can use a single case statement to evaluate multiple values of a string. method TestApp.ProcessStatus(status: String); begin case status of 'urgent': DoUrgent; 'high': DoHigh; 'low': DoLow; else DoNormal; end; end; This is much more elegant and easy to maintain. Hard to believe a lot of ...
Statistics
|
Visits by Source |
User Actions |