aspose file tools
The moose likes Groovy and the fly likes Groovy Script - Converting to UpperCase Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Groovy Script - Converting to UpperCase" Watch "Groovy Script - Converting to UpperCase" New topic
Author

Groovy Script - Converting to UpperCase

Bill Lee
Greenhorn

Joined: Feb 02, 2007
Posts: 20
Basically, I am attempting to iterate through a Map and change only it's values to all Caps. Does anyone know how to deal with this? Thanks.

My function changes BOTH keys and values to UpperCase and I only want the values to change.


Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040



My Blog | DZone Articles
Bill Lee
Greenhorn

Joined: Feb 02, 2007
Posts: 20
Thank you so much! That worked.
 
IntelliJ Java IDE
 
subject: Groovy Script - Converting to UpperCase
 
Threads others viewed
FBN: Search fields to be provided
Keep the multibox checked, even when the values differ by case
only upper case in input field
Problem in deploying multiple EARs in same JBOSS having same application and EJBs in all the EARs
How do i improve variable visibility?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com