StructMap
Used to map a struct to a new struct of the same type containing the result
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The target struct to test | |
|
|
| The function used to produce the right-hand value assignment in the new struct. The function will be passed 3 arguments: the key, the value, the struct. You can alternatively pass a Java BiFunction which will only receive the first 2 args. | |
|
|
| Specifies whether the items can be executed in parallel |
|
|
|
| The maximum number of threads to use when parallel = true |
Examples
Related
Last updated