Package android.os
Enum BaseBundle.Type
- java.lang.Object
-
- java.lang.Enum<BaseBundle.Type>
-
- android.os.BaseBundle.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BaseBundle.Type>
- Enclosing class:
- BaseBundle
protected static enum BaseBundle.Type extends java.lang.Enum<BaseBundle.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseBundle.Type
valueOf(int ordinal)
Returns the enum constant of this type with the specified name.static BaseBundle.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BaseBundle.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final BaseBundle.Type UNKNOWN
-
BOOLEAN
public static final BaseBundle.Type BOOLEAN
-
BOOLEAN_ARRAY
public static final BaseBundle.Type BOOLEAN_ARRAY
-
DOUBLE
public static final BaseBundle.Type DOUBLE
-
DOUBLE_ARRAY
public static final BaseBundle.Type DOUBLE_ARRAY
-
INT
public static final BaseBundle.Type INT
-
INT_ARRAY
public static final BaseBundle.Type INT_ARRAY
-
LONG
public static final BaseBundle.Type LONG
-
LONG_ARRAY
public static final BaseBundle.Type LONG_ARRAY
-
STRING
public static final BaseBundle.Type STRING
-
STRING_ARRAY
public static final BaseBundle.Type STRING_ARRAY
-
PERSISTABLE_BUNDLE
public static final BaseBundle.Type PERSISTABLE_BUNDLE
-
BUNDLE
public static final BaseBundle.Type BUNDLE
-
BYTE
public static final BaseBundle.Type BYTE
-
BYTE_ARRAY
public static final BaseBundle.Type BYTE_ARRAY
-
CHAR
public static final BaseBundle.Type CHAR
-
CHAR_ARRAY
public static final BaseBundle.Type CHAR_ARRAY
-
CHAR_SEQUENCE
public static final BaseBundle.Type CHAR_SEQUENCE
-
CHAR_SEQUENCE_ARRAY
public static final BaseBundle.Type CHAR_SEQUENCE_ARRAY
-
FLOAT
public static final BaseBundle.Type FLOAT
-
FLOAT_ARRAY
public static final BaseBundle.Type FLOAT_ARRAY
-
INT_ARRAY_LIST
public static final BaseBundle.Type INT_ARRAY_LIST
-
PARCELABLE
public static final BaseBundle.Type PARCELABLE
-
PARCELABLE_ARRAY
public static final BaseBundle.Type PARCELABLE_ARRAY
-
PARCELABLE_ARRAY_LIST
public static final BaseBundle.Type PARCELABLE_ARRAY_LIST
-
SERIALIZABLE
public static final BaseBundle.Type SERIALIZABLE
-
SHORT
public static final BaseBundle.Type SHORT
-
SHORT_ARRAY
public static final BaseBundle.Type SHORT_ARRAY
-
STRING_ARRAY_LIST
public static final BaseBundle.Type STRING_ARRAY_LIST
-
SIZE
public static final BaseBundle.Type SIZE
-
SIZE_F
public static final BaseBundle.Type SIZE_F
-
BINDER
public static final BaseBundle.Type BINDER
-
SPARSE_PARCELABLE_ARRAY
public static final BaseBundle.Type SPARSE_PARCELABLE_ARRAY
-
-
Method Detail
-
values
public static BaseBundle.Type[] 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 (BaseBundle.Type c : BaseBundle.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseBundle.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static BaseBundle.Type valueOf(int ordinal)
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:
ordinal
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-