@Deprecated public IRubyObject aset19(IRubyObject arg0, IRubyObject arg1) { return aset(arg0, arg1); }
@Deprecated public IRubyObject aset19(IRubyObject arg0, IRubyObject arg1) { return aset(arg0, arg1); }
@Deprecated public IRubyObject aset19(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { return aset(arg0, arg1, arg2); }
@Deprecated public IRubyObject aset19(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { return aset(arg0, arg1, arg2); }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1) { IRubyObject result = super.aset(arg0, arg1); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject result = super.aset(arg0, arg1, arg2); rehash(); return result; }
/** * Variable arity version for compatibility. Not bound to a Ruby method. * @deprecated Use the versions with zero, one, or two args. */ public IRubyObject aset(IRubyObject[] args) { switch (args.length) { case 2: return aset(args[0], args[1]); case 3: return aset(args[0], args[1], args[2]); default: throw getRuntime().newArgumentError("wrong number of arguments (" + args.length + " for 2)"); } }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject result = super.aset(arg0, arg1, arg2); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1) { IRubyObject result = super.aset(arg0, arg1); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject result = super.aset(arg0, arg1, arg2); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1) { IRubyObject result = super.aset(arg0, arg1); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1) { IRubyObject result = super.aset(arg0, arg1); rehash(); return result; }
@Override public synchronized IRubyObject aset(IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) { IRubyObject result = super.aset(arg0, arg1, arg2); rehash(); return result; }
/** * Variable arity version for compatibility. Not bound to a Ruby method. * @deprecated Use the versions with zero, one, or two args. */ public IRubyObject aset(IRubyObject[] args) { switch (args.length) { case 2: return aset(args[0], args[1]); case 3: return aset(args[0], args[1], args[2]); default: throw getRuntime().newArgumentError("wrong number of arguments (" + args.length + " for 2)"); } }
/** * Variable arity version for compatibility. Not bound to a Ruby method. * @deprecated Use the versions with zero, one, or two args. */ public IRubyObject aset(IRubyObject[] args) { switch (args.length) { case 2: return aset(args[0], args[1]); case 3: return aset(args[0], args[1], args[2]); default: throw getRuntime().newArgumentError("wrong number of arguments (" + args.length + " for 2)"); } }
/** * Variable arity version for compatibility. Not bound to a Ruby method. * @deprecated Use the versions with zero, one, or two args. */ public IRubyObject aset(IRubyObject[] args) { switch (args.length) { case 2: return aset(args[0], args[1]); case 3: return aset(args[0], args[1], args[2]); default: throw getRuntime().newArgumentError("wrong number of arguments (" + args.length + " for 2)"); } }
@Override public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) { Ruby runtime = context.runtime; if (self.getMetaClass() == runtime.getArray()) { RubyArray array = (RubyArray)self; return array.aset(arg0, arg1); } return super.call(context, caller, self, arg0, arg1); } }
@Override public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) { Ruby runtime = context.runtime; if (self.getMetaClass() == runtime.getArray()) { RubyArray array = (RubyArray)self; return array.aset(arg0, arg1); } return super.call(context, caller, self, arg0, arg1); } }
@Override public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) { Ruby runtime = context.runtime; if (self.getMetaClass() == runtime.getArray()) { RubyArray array = (RubyArray)self; return array.aset(arg0, arg1); } return super.call(context, caller, self, arg0, arg1); } }
@Override public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) { Ruby runtime = context.runtime; if (self.getMetaClass() == runtime.getArray()) { RubyArray array = (RubyArray)self; return array.aset(arg0, arg1); } return super.call(context, caller, self, arg0, arg1); } }