D - an type of loaded dataS - a type of data stamppublic static final class AbstractSource.Data<D,S>
extends java.lang.Object
| Constructor | Description |
|---|---|
Data() |
Initialize data object for specified timestamp and covered data.
|
Data(java.util.Optional<D> data,
java.util.Optional<S> stamp) |
Initialize data object for specified timestamp and covered data.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<D> |
data() |
Returns loaded data.
|
java.util.Optional<S> |
stamp() |
Returns stamp of data.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.