public static enum CastResult.Nil extends java.lang.Enum<CastResult.Nil> implements CastResult<java.lang.Object>
CastResult.Fail<T>, CastResult.Nil, CastResult.Ok<T>| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get() |
boolean |
isOk() |
static CastResult.Nil |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CastResult.Nil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffail, nil, okpublic static final CastResult.Nil INSTANCE
public static CastResult.Nil[] values()
for (CastResult.Nil c : CastResult.Nil.values()) System.out.println(c);
public static CastResult.Nil valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Object get()
get in interface CastResult<java.lang.Object>public boolean isOk()
isOk in interface CastResult<java.lang.Object>