I added code tags to your posts: they even have an option for Ruby highlighting. Always use the tags: doesn't it look better
I would suggest you should not try to translate the switch statement from one language to another. For one thing, you get variable names with _ in which is not the normal Java® style. For another, there seems to be confusion about types; in the Ruby you appear to be passing what looks like arrays, which in the Java® you have turned into Strings. I suggest you write down on paper what the switch statement is supposed to do, then create a new switch (or other statement) in Java® without looking at the Ruby code.
I am moving this discussion as too difficult for this forum.