Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Groovyで変数にスワップする最良の方法はどれですか?
Rubyのようなことをすることは可能ですか?
x,y = y,x
複数の割り当てには括弧を使用するだけです
(x,y) = [ y, x ]