public class Notification<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Notification<T> |
complete() |
boolean |
equals(Object obj) |
Throwable |
error() |
static <T> Notification<T> |
error(Throwable error) |
int |
hashCode() |
boolean |
hasValue() |
boolean |
isComplete() |
boolean |
isError() |
static <T> Notification<T> |
of(T value) |
T |
value() |
public static <T> Notification<T> of(T value)
public static <T> Notification<T> complete()
public static <T> Notification<T> error(Throwable error)
public T value()
public boolean hasValue()
public boolean isComplete()
public boolean isError()
public Throwable error()
Copyright © 2018–2024. All rights reserved.