public interface Mergeable<T>
| Modifier and Type | Method and Description |
|---|---|
static <T extends Mergeable<T>> |
merge(Optional<T> first,
Optional<T> second) |
T |
mergeWith(T other)
Merges the current state with the state of the other instance, and returns the merged state.
|
Copyright © 2012–2019. All rights reserved.