org.eclipse.cdt.core.dom.ast
Enum IBasicType.Kind
java.lang.Object
java.lang.Enum<IBasicType.Kind>
org.eclipse.cdt.core.dom.ast.IBasicType.Kind
- All Implemented Interfaces:
- Serializable, Comparable<IBasicType.Kind>
- Enclosing interface:
- IBasicType
public static enum IBasicType.Kind
- extends Enum<IBasicType.Kind>
- Since:
- 5.2
Method Summary |
static IBasicType.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IBasicType.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
eUnspecified
public static final IBasicType.Kind eUnspecified
eVoid
public static final IBasicType.Kind eVoid
eChar
public static final IBasicType.Kind eChar
eWChar
public static final IBasicType.Kind eWChar
eInt
public static final IBasicType.Kind eInt
eFloat
public static final IBasicType.Kind eFloat
eDouble
public static final IBasicType.Kind eDouble
eBoolean
public static final IBasicType.Kind eBoolean
eChar16
public static final IBasicType.Kind eChar16
eChar32
public static final IBasicType.Kind eChar32
values
public static final IBasicType.Kind[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(IBasicType.Kind c : IBasicType.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static IBasicType.Kind valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright (c) IBM Corp. and others 2004, 2010. All Rights Reserved.