public enum WildcardBoundKind extends Enum<WildcardBoundKind>
Enum Constant and Description |
---|
LOWER_BOUNDED
With lower bound types.
|
UNBOUNDED
Unbound.
|
UPPER_BOUNDED
With upper bound types.
|
Modifier and Type | Method and Description |
---|---|
String |
getRepresentation()
Returns the keyword.
|
WildcardBoundKind |
normalize()
Normalizes this bound kind.
|
static WildcardBoundKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WildcardBoundKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WildcardBoundKind UNBOUNDED
public static final WildcardBoundKind UPPER_BOUNDED
public static final WildcardBoundKind LOWER_BOUNDED
public static WildcardBoundKind[] values()
for (WildcardBoundKind c : WildcardBoundKind.values()) System.out.println(c);
public static WildcardBoundKind 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 nullpublic String getRepresentation()
public WildcardBoundKind normalize()
UPPER_BOUNDED
if this kind is UNBOUNDED
, or otherwise returns itself.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.