public enum MethodNames extends Enum<MethodNames>
Enum Constant and Description |
---|
DEFAULT |
DUMMY |
EQL |
HASH |
INSPECT |
OP_CMP |
OP_EQUAL |
Modifier and Type | Method and Description |
---|---|
String |
realName() |
static MethodNames |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String realName()
Copyright © 2001-2015 JRuby. All Rights Reserved.