U - the type of the result of the function.@FunctionalInterface public interface WithData<U>
Function to create fluent builders such as GraphMLModel.builder().| Modifier and Type | Method and Description |
|---|---|
U |
withData(List<DataModel> data)
Takes a list of
DataModel, processes it and returns a results of type U. |
default U |
withoutData()
A semantic call to pass no value to the current function.
|
U withData(List<DataModel> data)
DataModel, processes it and returns a results of type U.data - the parameter given to the function.default U withoutData()
Copyright © 2020. All rights reserved.