java.lang.Object | ||||
java.util.AbstractCollection<E> | Collection<E> | |||
java.util.AbstractSet<E> | Set<E> | |||
java.util.EnumSet<E extends java.lang.Enum<E>> | Serializable Cloneable |
static | <E extends Enum<E>> | EnumSet<E> | allOf(Class<E> elementType) | |||
Creates an enum set. | ||||||
EnumSet<E> | clone() | |||||
Creates a new enum set with the same elements as those contained in this enum set. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | complementOf(EnumSet<E> s) | |||
Creates an enum set. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | copyOf(EnumSet<E> s) | |||
Creates an enum set. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | copyOf(Collection<E> c) | |||
Creates an enum set. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | noneOf(Class<E> elementType) | |||
Creates an empty enum set. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | of(E start, E[] others) | |||
Creates a new enum set, containing only the specified elements. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | of(E e) | |||
Creates a new enum set, containing only the specified element. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | 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> | of(E e1, E e2, E e3) | |||
Creates a new enum set, containing only the specified elements. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | 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> | of(E e1, E e2) | |||
Creates a new enum set, containing only the specified elements. | ||||||
static | <E extends Enum<E>> | EnumSet<E> | range(E start, E end) | |||
Creates an enum set containing all the elements within the range defined by start and end (inclusive). |
elementType | the class object for the elements contained |
---|
NullPointerException | if the specified elementType is null |
---|
s | the specified enum set |
---|
NullPointerException | if the specified enum set is null |
---|
s | the enum set from which to copy |
---|
NullPointerException | if the specified enum set is null |
---|
c | the collection from which to copy |
---|
IllegalArgumentException | if c is not an enum set and contains no elements at all |
---|---|
NullPointerException | if the specified collection is null |
elementType | the class object for the elements contained |
---|
NullPointerException | if the specified elementType is null |
---|
start | the first initially contained element |
---|---|
others | the other initially contained elements |
NullPointerException | if any of the specified elements is null |
---|
e | the initially contained element |
---|
NullPointerException | if the specified element is null |
---|
e1 | the initially contained element |
---|---|
e2 | another initially contained element |
e3 | another initially contained element |
e4 | another initially contained element |
e5 | another initially contained element |
NullPointerException | if any of the specified elements is null |
---|
e1 | the initially contained element |
---|---|
e2 | another initially contained element |
e3 | another initially contained element |
NullPointerException | if any of the specified elements is null |
---|
e1 | the initially contained element |
---|---|
e2 | another initially contained element |
e3 | another initially contained element |
e4 | another initially contained element |
NullPointerException | if any of the specified elements is null |
---|
e1 | the initially contained element |
---|---|
e2 | another initially contained element |
NullPointerException | if any of the specified elements is null |
---|
start | the element used to define the beginning of the range |
---|---|
end | the element used to define the end of the range |
NullPointerException | if any one of start or end is null |
---|---|
IllegalArgumentException | if start is behind end |
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |