修飾子とタイプ | メソッドと説明 |
---|---|
static <T> ParseResult<T> |
failure(Throwable error) |
T |
get() |
Throwable |
getError() |
T |
getOrElse(T alternative) |
boolean |
isSuccessful() |
Iterator<T> |
iterator() |
static <T> ParseResult<T> |
successful(T result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static <T> ParseResult<T> failure(Throwable error)
public static <T> ParseResult<T> successful(T result)
public T get()
public boolean isSuccessful()
public Throwable getError()
Copyright © 2016. All rights reserved.