aicas logoJamaica 6.4 release 1

Uses of Class
java.lang.Enum

Packages that use Enum
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Enum in java.lang
 

Classes in java.lang with type parameters of type Enum
 class Enum<E extends Enum<E>>
          Enum provides the abstract super class for all JDK 1.5 enumeration types.
 

Methods in java.lang with type parameters of type Enum
static
<T extends Enum<T>>
T
Enum.valueOf(Class<T> enumType, String name)
          valueOf returns the Enum value with a given name
 

Methods in java.lang that return types with arguments of type Enum
 Class<? extends Enum> EnumConstantNotPresentException.enumType()
          enumType returns the enumeration type that did not contain the constant.
 

Constructor parameters in java.lang with type arguments of type Enum
EnumConstantNotPresentException(Class<? extends Enum> type, String name)
          Constructor for a new instance of this exception.
 

Uses of Enum in java.util
 

Classes in java.util with type parameters of type Enum
 class EnumMap<K extends Enum<K>,V>
          A specialized Map implementation for use with enum type keys.
 class EnumSet<E extends Enum<E>>
          A specialized Set implementation for use with enum types.
 

Methods in java.util with type parameters of type Enum
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.allOf(Class<E> elementType)
          Creates an enum set containing all of the elements in the specified element type.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.complementOf(EnumSet<E> s)
          Creates an enum set with the same element type as the specified enum set, initially containing all the elements of this type that are not contained in the specified set.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.copyOf(Collection<E> c)
          Creates an enum set initialized from the specified collection.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.copyOf(EnumSet<E> s)
          Creates an enum set with the same element type as the specified enum set, initially containing the same elements (if any).
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.noneOf(Class<E> elementType)
          Creates an empty enum set with the specified element type.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E e)
          Creates an enum set initially containing the specified element.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E first, E... rest)
          Creates an enum set initially containing the specified elements.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E e1, E e2)
          Creates an enum set initially containing the specified elements.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E e1, E e2, E e3)
          Creates an enum set initially containing the specified elements.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E e1, E e2, E e3, E e4)
          Creates an enum set initially containing the specified elements.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E e1, E e2, E e3, E e4, E e5)
          Creates an enum set initially containing the specified elements.
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.range(E from, E to)
          Creates an enum set initially containing all of the elements in the range defined by the two specified endpoints.
 

Methods in java.util with parameters of type Enum
static
<E extends Enum<E>>
EnumSet<E>
EnumSet.of(E first, E... rest)
          Creates an enum set initially containing the specified elements.
 


aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.