This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: postgres:9.6-alpine | |
container_name: camunda_db | |
ports: | |
- "5432:5432" | |
networks: | |
- camunda-bpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline fun <T, R> Iterable<T>.mapWithPrevious(transform: (previous: R?, it: T) -> R): List<R> { | |
var previous: R? = null | |
return this.map { it -> | |
val transformed = transform(previous, it) | |
previous = transformed | |
transformed | |
} | |
} | |
val mapped = someCollection.mapWithPrevious { previousTransformation, it -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ColumnInfo { | |
... | |
... | |
... | |
public bool OneToOneColumn { get; set; } | |