public enum TypeKind extends Enum<TypeKind> implements Kind
| Modifier and Type | Method and Description |
|---|---|
boolean |
isList() |
boolean |
isNamed() |
boolean |
isNonnull() |
static TypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeKind NAMED
public static final TypeKind NON_NULL
public static final TypeKind LIST
public static TypeKind[] values()
for (TypeKind c : TypeKind.values()) System.out.println(c);
public static TypeKind 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 boolean isNonnull()
public boolean isList()
public boolean isNamed()
Copyright © 2018. All rights reserved.