@Deprecated public final IRubyObject round19() { return round(getRuntime().getCurrentContext()); }
@Deprecated // no longer used public IRubyObject op_lshift(IRubyObject other) { return op_lshift(getRuntime().getCurrentContext(), other); }
@Deprecated // no longer used public IRubyObject op_rshift(IRubyObject other) { return op_rshift(getRuntime().getCurrentContext(), other); }
@Deprecated // no longer used public IRubyObject op_lshift(IRubyObject other) { return op_lshift(getRuntime().getCurrentContext(), other); }
@Deprecated // no longer used public IRubyObject op_rshift(IRubyObject other) { return op_rshift(getRuntime().getCurrentContext(), other); }
/** int_int_p * */ @Override @JRubyMethod(name = "integer?") public IRubyObject integer_p() { return getRuntime().getTrue(); }
/** int_int_p * */ @Override @JRubyMethod(name = "integer?") public IRubyObject integer_p() { return getRuntime().getTrue(); }
/** int_int_p * */ @Override @JRubyMethod(name = "integer?") public IRubyObject integer_p() { return getRuntime().getTrue(); }
public IRubyObject to_f() { return to_f(getRuntime().getCurrentContext()); }
/** int_int_p * */ @Override @JRubyMethod(name = "integer?") public IRubyObject integer_p() { return getRuntime().getTrue(); }
public IRubyObject to_f() { return to_f(getRuntime().getCurrentContext()); }
public IRubyObject size() { return size(getRuntime().getCurrentContext()); }
public IRubyObject op_neg() { return to_f(getRuntime().getCurrentContext()); }
public IRubyObject op_aref(IRubyObject other) { return op_aref(getRuntime().getCurrentContext(), other); }
public IRubyObject size() { return size(getRuntime().getCurrentContext()); }
public IRubyObject op_neg() { return to_f(getRuntime().getCurrentContext()); }
RubyBignum getState() { int[] ints = impl.getState(); byte[] bytes = new byte[ints.length * 4]; for (int idx = 0; idx < ints.length; ++idx) { setIntBigIntegerBuffer(bytes, idx, ints[idx]); } return RubyBignum.newBignum(seed.getRuntime(), new BigInteger(bytes)); }
RubyBignum getState() { int[] ints = impl.getState(); byte[] bytes = new byte[ints.length * 4]; for (int idx = 0; idx < ints.length; ++idx) { setIntBigIntegerBuffer(bytes, idx, ints[idx]); } return RubyBignum.newBignum(seed.getRuntime(), new BigInteger(bytes)); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!(obj instanceof RandomType)) return false; RandomType rhs = (RandomType) obj; return seed.op_equal(seed.getRuntime().getCurrentContext(), rhs.seed).isTrue() && impl.equals(rhs.impl); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!(obj instanceof RandomType)) return false; RandomType rhs = (RandomType) obj; return seed.op_equal(seed.getRuntime().getCurrentContext(), rhs.seed).isTrue() && impl.equals(rhs.impl); }