Increase the flexibility of RubyArray API by accepting Collection in
certain methods

Change Comparable<RubyArray> to Comparable<List> in RubyArray