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