-
Classes in java.lang with type parameters of type Enum
| Modifier and Type |
Class |
Description |
class |
Enum<E extends Enum<E>> |
The superclass of all enumerated types.
|
Methods in java.lang with type parameters of type Enum
| Modifier and Type |
Method |
Description |
static <T extends Enum<T>> T[] |
Enum.getSharedConstants(Class<T> enumType) |
Returns a shared, mutable array containing the constants of this enum.
|
static <T extends Enum<T>> T |
Enum.valueOf(Class<T> enumType,
String name) |
Returns the constant with the specified name of the specified enum type.
|
Methods in java.lang that return Enum
| Modifier and Type |
Method |
Description |
static <T extends Enum<T>> T[] |
Enum.getSharedConstants(Class<T> enumType) |
Returns a shared, mutable array containing the constants of this enum.
|
Methods in java.lang that return types with arguments of type Enum
| Modifier and Type |
Method |
Description |
Class<? extends Enum> |
EnumConstantNotPresentException.enumType() |
Gets the enum type for which the constant name is missing.
|
Constructor parameters in java.lang with type arguments of type Enum
| Constructor |
Description |
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName) |
Constructs a new EnumConstantNotPresentException with the current
stack trace and a detail message based on the specified enum type and
missing constant name.
|
-
Classes in java.util with type parameters of type Enum
| Modifier and Type |
Class |
Description |
class |
EnumMap<K extends Enum<K>,V> |
An Map specialized for use with Enum types as keys.
|
class |
EnumSet<E extends Enum<E>> |
An EnumSet is a specialized Set to be used with enums as keys.
|
Methods in java.util with type parameters of type Enum
| Modifier and Type |
Method |
Description |
static <E extends Enum<E>> EnumSet<E> |
EnumSet.allOf(Class<E> elementType) |
Creates an enum set filled with all the enum elements of the specified
elementType.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.complementOf(EnumSet<E> s) |
Creates an enum set.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.copyOf(Collection<E> c) |
Creates an enum set.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.copyOf(EnumSet<E> s) |
Creates an enum set.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.noneOf(Class<E> elementType) |
Creates an empty enum set.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E e) |
Creates a new enum set, containing only the specified element.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E e1,
E e2) |
Creates a new enum set, containing only the specified elements.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E start,
E... others) |
Creates a new enum set, containing only the specified elements.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E e1,
E e2,
E e3) |
Creates a new enum set, containing only the specified elements.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E e1,
E e2,
E e3,
E e4) |
Creates a new enum set, containing only the specified elements.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E e1,
E e2,
E e3,
E e4,
E e5) |
Creates a new enum set, containing only the specified elements.
|
static <E extends Enum<E>> EnumSet<E> |
EnumSet.range(E start,
E end) |
Creates an enum set containing all the elements within the range defined
by start and end (inclusive).
|
Methods in java.util with parameters of type Enum
| Modifier and Type |
Method |
Description |
static <E extends Enum<E>> EnumSet<E> |
EnumSet.of(E start,
E... others) |
Creates a new enum set, containing only the specified elements.
|
-
Methods in org.robovm.rt.bro with type parameters of type Enum
| Modifier and Type |
Method |
Description |
static <T extends Enum<T>> T |
EnumMarshalers.AsIntMarshaler.toObject(Class<T> cls,
int ordinal,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsLongMarshaler.toObject(Class<T> cls,
long value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsMachineSizedSIntMarshaler.toObject(Class<T> cls,
long value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsMachineSizedUIntMarshaler.toObject(Class<T> cls,
long value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsSignedByteMarshaler.toObject(Class<T> cls,
byte value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsSignedIntMarshaler.toObject(Class<T> cls,
int value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsSignedShortMarshaler.toObject(Class<T> cls,
short value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsUnsignedByteMarshaler.toObject(Class<T> cls,
byte value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsUnsignedIntMarshaler.toObject(Class<T> cls,
int value,
long flags) |
|
static <T extends Enum<T> & ValuedEnum> ValuedEnum |
ValuedEnum.AsUnsignedShortMarshaler.toObject(Class<T> cls,
short value,
long flags) |
|
Methods in org.robovm.rt.bro with parameters of type Enum
| Modifier and Type |
Method |
Description |
static int |
EnumMarshalers.AsIntMarshaler.toNative(Enum<?> v,
long flags) |
|
static byte |
ValuedEnum.AsSignedByteMarshaler.toNative(Enum<?> v,
long flags) |
|