V - type of successful valuespublic class KeyedValue<K,V> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K,T> KeyedValue<K,T> |
fail(K key,
Throwable ex) |
K |
key() |
static <K,T> KeyedValue<K,T> |
success(K key,
T value) |
com.atlassian.fugue.Either<Throwable,V> |
value() |
public static <K,T> KeyedValue<K,T> success(K key, T value)
public static <K,T> KeyedValue<K,T> fail(K key, Throwable ex)
public K key()
Copyright © 2018 Atlassian. All rights reserved.