@JRubyMethod(name = {"collect"}, compat = RUBY1_9) public IRubyObject collect19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorize(context.runtime, this, "collect"); }
@JRubyMethod(name = {"collect"}, compat = RUBY1_9) public IRubyObject collect19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorize(context.runtime, this, "collect"); }
@JRubyMethod(name = {"map"}, compat = RUBY1_9) public IRubyObject map19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorize(context.runtime, this, "map"); }
@JRubyMethod(name = {"map"}, compat = RUBY1_9) public IRubyObject map19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorize(context.runtime, this, "map"); }
@JRubyMethod(name = {"collect"}) public IRubyObject collect19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorizeWithSize(context, this, "collect", enumLengthFn()); }
@JRubyMethod(name = {"map"}) public IRubyObject map19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorizeWithSize(context, this, "map", enumLengthFn()); }
@JRubyMethod(name = {"collect"}) public IRubyObject collect19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorizeWithSize(context, this, "collect", enumLengthFn()); }
@JRubyMethod(name = {"map"}) public IRubyObject map19(ThreadContext context, Block block) { return block.isGiven() ? collect(context, block) : enumeratorizeWithSize(context, this, "map", enumLengthFn()); }