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