| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| public static final Arity | |
| public static final Arity | |
| public static final Arity | |
| public static final Arity | |
| private static final long | |
| public static final Arity | |
| public static final Arity | |
| public static final Arity | |
| public static final Arity | |
| public static final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public void | |
| public void | |
| private static Arity | |
| public static Arity | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static Arity | |
| public static Arity | |
| public static Arity | |
| public static Arity | |
| public int | |
| public int | |
| public boolean | |
| private static Arity | |
| public static Arity | |
| public static Arity | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static Arity | |
| public int | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static Arity | |
| public String | |
| public static Arity |
| arities | back to summary |
|---|---|
| private static final Map<Integer, Arity> arities | |
| NO_ARGUMENTS | back to summary |
|---|---|
| public static final Arity NO_ARGUMENTS | |
| ONE_ARGUMENT | back to summary |
|---|---|
| public static final Arity ONE_ARGUMENT | |
| ONE_REQUIRED | back to summary |
|---|---|
| public static final Arity ONE_REQUIRED | |
| OPTIONAL | back to summary |
|---|---|
| public static final Arity OPTIONAL | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| THREE_ARGUMENTS | back to summary |
|---|---|
| public static final Arity THREE_ARGUMENTS | |
| THREE_REQUIRED | back to summary |
|---|---|
| public static final Arity THREE_REQUIRED | |
| TWO_ARGUMENTS | back to summary |
|---|---|
| public static final Arity TWO_ARGUMENTS | |
| TWO_REQUIRED | back to summary |
|---|---|
| public static final Arity TWO_REQUIRED | |
| UNLIMITED_ARGUMENTS | back to summary |
|---|---|
| public static final int UNLIMITED_ARGUMENTS | |
| value | back to summary |
|---|---|
| private final int value | |
| Arity | back to summary |
|---|---|
| private Arity(int value) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(ThreadContext context, IRubyObject[] args, int min, int max) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(ThreadContext context, String name, IRubyObject[] args, int min, int max) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(ThreadContext context, int length, int min, int max) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(ThreadContext context, int length, int min, int max, boolean hasKwargs) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(ThreadContext context, String name, int length, int min, int max) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) | |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, IRubyObject[] args, int min, int max)
Deprecated
| |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, String name, IRubyObject[] args, int min, int max)
Deprecated
| |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, int length, int min, int max)
Deprecated
| |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, int length, int min, int max, boolean hasKwargs)
Deprecated
| |
| checkArgumentCount | back to summary |
|---|---|
| public static int checkArgumentCount(Ruby runtime, String name, int length, int min, int max)
Deprecated
| |
| checkArity | back to summary |
|---|---|
| public void checkArity(Ruby runtime, IRubyObject[] args) | |
| checkArity | back to summary |
|---|---|
| public void checkArity(Ruby runtime, int length) | |
| createArity | back to summary |
|---|---|
| private static Arity createArity(int required, int optional, boolean rest) | |
| createArity | back to summary |
|---|---|
| public static Arity createArity(int value) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| fixed | back to summary |
|---|---|
| public static Arity fixed(int arity) | |
| fromAnnotation | back to summary |
|---|---|
| public static Arity fromAnnotation(JRubyMethod anno) | |
| fromAnnotation | back to summary |
|---|---|
| public static Arity fromAnnotation(JRubyMethod anno, int required) | |
| fromAnnotation | back to summary |
|---|---|
| public static Arity fromAnnotation(JRubyMethod anno, Class<T>[] parameterTypes, boolean isStatic) | |
| getValue | back to summary |
|---|---|
| public int getValue() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isFixed | back to summary |
|---|---|
| public boolean isFixed() | |
| newArity | back to summary |
|---|---|
| private static Arity newArity(int value) | |
| noArguments | back to summary |
|---|---|
| public static Arity noArguments() | |
| optional | back to summary |
|---|---|
| public static Arity optional() | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(ThreadContext context, int length, int min, int max) | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(ThreadContext context, IRubyObject[] args, int min, int max) | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(ThreadContext context, int length, int min, int max, boolean hasKwargs) | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(ThreadContext context, String name, int length, int min, int max) | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) | |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(Ruby runtime, IRubyObject[] args, int min, int max)
Deprecated
| |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(Ruby runtime, int length, int min, int max)
Deprecated
| |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(Ruby runtime, int length, int min, int max, boolean hasKwargs)
Deprecated
| |
| raiseArgumentError | back to summary |
|---|---|
| public static void raiseArgumentError(Ruby runtime, String name, int length, int min, int max)
Deprecated
| |
| required | back to summary |
|---|---|
| public static Arity required(int minimum) | |
| required | back to summary |
|---|---|
| public int required() | |
| scanArgs | back to summary |
|---|---|
| public static IRubyObject[] scanArgs(Ruby runtime, IRubyObject[] args, int required, int optional)
Deprecated since 10.0.
| |
| scanArgs | back to summary |
|---|---|
| public static IRubyObject[] scanArgs(ThreadContext context, IRubyObject[] args, int required, int optional) | |
| singleArgument | back to summary |
|---|---|
| public static Arity singleArgument() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| twoArguments | back to summary |
|---|---|
| public static Arity twoArguments() | |