public static enum Generic.BoundType extends Enum<Generic.BoundType>
extends
keyword it means that the lower bound is a
descendant of the upper bound. If the super
keyword is used
it means that the lower bound is an ancestor of the upper bound. Both
bound types also accept identical types.Modifier and Type | Method and Description |
---|---|
static Generic.BoundType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Generic.BoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Generic.BoundType EXTENDS
public static final Generic.BoundType SUPER
public static Generic.BoundType[] values()
for (Generic.BoundType c : Generic.BoundType.values()) System.out.println(c);
public static Generic.BoundType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Speedment, Inc.. All rights reserved.