public static enum RubyClass.CS_NAMES extends Enum<RubyClass.CS_NAMES>
Enum Constant and Description |
---|
INITIALIZE |
Modifier and Type | Method and Description |
---|---|
static RubyClass.CS_NAMES |
fromOrdinal(int ordinal) |
static RubyClass.CS_NAMES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyClass.CS_NAMES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyClass.CS_NAMES INITIALIZE
public static final int length
public final String id
public static RubyClass.CS_NAMES[] values()
for (RubyClass.CS_NAMES c : RubyClass.CS_NAMES.values()) System.out.println(c);
public static RubyClass.CS_NAMES 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 static RubyClass.CS_NAMES fromOrdinal(int ordinal)
Copyright © 2001-2016 JRuby. All Rights Reserved.