Java Implementation for enumerating pairings in Round-robin tournament

I made a code to enumerate pairings in Round-robin tournament.

nakaly.hatenablog.com

And I found better algorithm written in Ruby.

nakaly.hatenablog.com

I ported it to Java.

gist.github.com