CollectionUtils
object CollectionUtils
Functions
Link copied to clipboard
Link copied to clipboard
fun <T> sortDependencies(collection: Collection<T>, beforeThisMapper: (T) -> Set<T>, afterThisMapper: (T) -> Set<T>): List<T>
Sorts the given collection by their beforeThisMapper and afterThisMapper properties.
Link copied to clipboard