public static enum TypeArgument.Wildcard extends Enum<TypeArgument.Wildcard>
Enum Constant and Description |
---|
ANY
The '?' wildcard.
|
EXTENDS
extends.
|
NONE
No wildcard.
|
SUPER
super.
|
Modifier and Type | Method and Description |
---|---|
static TypeArgument.Wildcard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeArgument.Wildcard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeArgument.Wildcard NONE
public static final TypeArgument.Wildcard ANY
public static final TypeArgument.Wildcard EXTENDS
public static final TypeArgument.Wildcard SUPER
public static TypeArgument.Wildcard[] values()
for (TypeArgument.Wildcard c : TypeArgument.Wildcard.values()) System.out.println(c);
public static TypeArgument.Wildcard 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 © 2020. All rights reserved.