public enum FastSwitchType extends Enum<FastSwitchType>
Enum Constant and Description |
---|
FIXNUM |
SINGLE_CHAR_STRING |
SINGLE_CHAR_SYMBOL |
Modifier and Type | Method and Description |
---|---|
Class |
getAssociatedClass() |
static FastSwitchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FastSwitchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FastSwitchType FIXNUM
public static final FastSwitchType SINGLE_CHAR_STRING
public static final FastSwitchType SINGLE_CHAR_SYMBOL
public static FastSwitchType[] values()
for (FastSwitchType c : FastSwitchType.values()) System.out.println(c);
public static FastSwitchType 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 Class getAssociatedClass()
Copyright © 2001–2015 JRuby. All rights reserved.