Package org.jboss.marshalling
Enum TraceInformation.IndexType
- java.lang.Object
-
- java.lang.Enum<TraceInformation.IndexType>
-
- org.jboss.marshalling.TraceInformation.IndexType
-
- All Implemented Interfaces:
Serializable
,Comparable<TraceInformation.IndexType>
- Enclosing class:
- TraceInformation
public static enum TraceInformation.IndexType extends Enum<TraceInformation.IndexType>
The type of index for a multi-valued collection or map.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraceInformation.IndexType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TraceInformation.IndexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAP_KEY
public static final TraceInformation.IndexType MAP_KEY
-
MAP_VALUE
public static final TraceInformation.IndexType MAP_VALUE
-
ELEMENT
public static final TraceInformation.IndexType ELEMENT
-
-
Method Detail
-
values
public static TraceInformation.IndexType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TraceInformation.IndexType c : TraceInformation.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraceInformation.IndexType 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 nameNullPointerException
- if the argument is null
-
-