| Modifier and Type | Method and Description |
|---|---|
<U> Versioned<U> |
Versioned.map(Function<V,U> transformer)
Maps this instance into another after transforming its
value while retaining the same version and creationTime.
|
| Modifier and Type | Method and Description |
|---|---|
static <U> U |
Versioned.valueOrElse(Versioned<U> versioned,
U defaultValue)
Returns the value of the specified Versioned object if non-null or else returns
a default value.
|
static <U> U |
Versioned.valueOrNull(Versioned<U> versioned)
Returns the value of the specified Versioned object if non-null or else returns null.
|
Copyright © 2013–2017. All rights reserved.