public static class CastResult.Fail<T> extends java.lang.Object implements CastResult<T>
CastResult.Fail<T>, CastResult.Nil, CastResult.Ok<T>| Constructor and Description |
|---|
Fail(java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
boolean |
isOk() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfail, nil, okpublic T get()
get in interface CastResult<T>public boolean isOk()
isOk in interface CastResult<T>