public enum FastSwitchType extends java.lang.Enum<FastSwitchType>
Enum Constant and Description |
---|
FIXNUM |
SINGLE_CHAR_STRING |
SINGLE_CHAR_SYMBOL |
STRING |
SYMBOL |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getAssociatedClass() |
static FastSwitchType |
valueOf(java.lang.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 STRING
public static final FastSwitchType SINGLE_CHAR_SYMBOL
public static final FastSwitchType SYMBOL
public static FastSwitchType[] values()
for (FastSwitchType c : FastSwitchType.values()) System.out.println(c);
public static FastSwitchType 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.Class getAssociatedClass()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.