Swapping switch-case in extra fle/data structure (Java)
Posted
by poeschlorn
on Stack Overflow
See other posts from Stack Overflow
or by poeschlorn
Published on 2010-06-01T07:01:20Z
Indexed on
2010/06/01
7:03 UTC
Read the original article
Hit count: 175
Hi guys,
it may be a nooby question, but I've never needed it before:
I have several strings and I want to compare them to given ones...
At first glance it would lead to a switch/case construction in what every available entry is checked.
Is there a more elegant way to swap those strings as key/value datas?
greets, poeschlorn
© Stack Overflow or respective owner