public enum MethodNames extends java.lang.Enum<MethodNames>
Enum Constant and Description |
---|
DEFAULT |
DUMMY |
EQL |
HASH |
INSPECT |
OP_CMP |
OP_EQUAL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
realName() |
static MethodNames |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodNames DUMMY
public static final MethodNames OP_EQUAL
public static final MethodNames EQL
public static final MethodNames HASH
public static final MethodNames OP_CMP
public static final MethodNames INSPECT
public static final MethodNames DEFAULT
public static MethodNames[] values()
for (MethodNames c : MethodNames.values()) System.out.println(c);
public static MethodNames valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String realName()
Copyright © 2001-2022 JRuby. All Rights Reserved.