public class MathLinker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.invoke.MethodHandle |
FIXNUM_OPERATOR |
static java.lang.invoke.MethodHandle |
FIXNUM_TEST |
static java.lang.invoke.MethodHandle |
FIXNUM_TEST_ARG_2_TO_0 |
static java.lang.invoke.MethodHandle |
FLOAT_OPERATOR |
static java.lang.invoke.MethodHandle |
FLOAT_TEST |
static java.lang.invoke.MethodHandle |
FLOAT_TEST_ARG_2_TO_0 |
static java.lang.invoke.MethodHandles.Lookup |
LOOKUP |
| Constructor and Description |
|---|
MathLinker() |
public static final java.lang.invoke.MethodHandles.Lookup LOOKUP
public static final java.lang.invoke.MethodHandle FIXNUM_TEST
public static final java.lang.invoke.MethodHandle FLOAT_TEST
public static final java.lang.invoke.MethodHandle FIXNUM_OPERATOR
public static final java.lang.invoke.MethodHandle FLOAT_OPERATOR
public static final java.lang.invoke.MethodHandle FLOAT_TEST_ARG_2_TO_0
public static final java.lang.invoke.MethodHandle FIXNUM_TEST_ARG_2_TO_0
public static java.lang.invoke.CallSite fixnumOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
long value,
int callType,
java.lang.String file,
int line)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException
java.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionpublic static java.lang.invoke.CallSite floatOperatorBootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
double value,
int callType,
java.lang.String file,
int line)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException
java.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionpublic static IRubyObject fixnumOperator(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_plus(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_minus(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_mul(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_mod(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_div(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_equal(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_lt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_le(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_gt(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_ge(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_cmp(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_and(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_or(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_xor(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_rshift(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_lshift(ThreadContext context, IRubyObject caller, IRubyObject self, long value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_plus_one(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_minus_one(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_plus_two(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject fixnum_op_minus_two(ThreadContext context, IRubyObject caller, IRubyObject self) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject floatOperator(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_plus(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_minus(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_mul(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_mod(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_div(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_equal(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_lt(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_le(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_gt(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_ge(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.Throwablepublic static IRubyObject float_op_cmp(ThreadContext context, IRubyObject caller, IRubyObject self, double value) throws java.lang.Throwable
java.lang.ThrowableCopyright © 2001-2022 JRuby. All Rights Reserved.