[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

Need help converting Color.RED to a String, and String "Blue" to a Color.BLUE Color object

I need help with the code for converting Color.RED into a String, and also for converting a String such as "Blue" into a Color.BLUE Color object.
1 Solution
I would use a Map<Color, String> and one the other way around

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now