@Override public synchronized IRubyObject insert(IRubyObject arg) { IRubyObject result = super.insert(arg); rehash(); return result; }
@Override public synchronized IRubyObject insert() { IRubyObject result = super.insert(); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject[] args) { IRubyObject result = super.insert(args); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject arg1, IRubyObject arg2) { IRubyObject result = super.insert(arg1, arg2); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject arg) { IRubyObject result = super.insert(arg); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject[] args) { IRubyObject result = super.insert(args); rehash(); return result; }
@Override public synchronized IRubyObject insert() { IRubyObject result = super.insert(); rehash(); return result; }
@Override public synchronized IRubyObject insert() { IRubyObject result = super.insert(); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject[] args) { IRubyObject result = super.insert(args); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject arg) { IRubyObject result = super.insert(arg); rehash(); return result; }
@Override public synchronized IRubyObject insert(IRubyObject arg) { IRubyObject result = super.insert(arg); rehash(); return result; }
@JRubyMethod(name = "insert", compat = RUBY1_9) public IRubyObject insert19(IRubyObject arg) { modifyCheck(); return insert(arg); }
@JRubyMethod(name = "insert", required = 1, rest = true, compat = RUBY1_9) public IRubyObject insert19(IRubyObject[] args) { modifyCheck(); return insert(args); }
@JRubyMethod(name = "insert", compat = RUBY1_9) public IRubyObject insert19(IRubyObject arg1, IRubyObject arg2) { modifyCheck(); return insert(arg1, arg2); }
@JRubyMethod(name = "insert", required = 1, rest = true, compat = RUBY1_9) public IRubyObject insert19(IRubyObject[] args) { modifyCheck(); return insert(args); }
@JRubyMethod(name = "insert") public IRubyObject insert(IRubyObject arg1, IRubyObject arg2) { modifyCheck(); insert(RubyNumeric.num2long(arg1), arg2); return this; }
public void add(Object obj) { insert(new IRubyObject[] { RubyFixnum.newFixnum(getRuntime(), index++), JavaUtil.convertJavaToUsableRubyObject(getRuntime(), obj) }); last = -1; } }
public void add(Object obj) { insert(new IRubyObject[] { RubyFixnum.newFixnum(getRuntime(), index++), JavaUtil.convertJavaToUsableRubyObject(getRuntime(), obj) }); last = -1; } }
@Override public void prependSubstitution(String substitution) { RubyArray subs = (RubyArray) getRubyProperty("@subs"); subs.insert(getRuntime().newFixnum(0), RubyUtils.toSymbol(getRuntime(), substitution)); }
@Override public void prependSubstitution(String substitution) { RubyArray subs = (RubyArray) getRubyProperty("@subs"); subs.insert(getRuntime().newFixnum(0), RubyUtils.toSymbol(getRuntime(), substitution)); }