org.thewonderlemming.c4plantuml.graphml.model

## Interface WithData<U>

- Type Parameters:
    `U` - the type of the result of the function.
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface WithData<U>

  A basic Java `Function` to create fluent builders such as `GraphMLModel.builder()`.
  Author:
    thewonderlemming

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    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.

- - ### Method Detail

    - #### withData

          U withData(List<DataModel> data)

      Takes a list of `DataModel`, processes it and returns a results of type U.
      Parameters:
        `data` - the parameter given to the function.
      Returns:
        the results of the function.

    - #### withoutData

          default U withoutData()

      A semantic call to pass no value to the current function.
      Returns:
        the results of the function.

Copyright © 2020. All rights reserved.